Commit Graph

65 Commits

Author SHA1 Message Date
mafiesto4 a544cbcfde Add mesh index buffer optimization based on meshoptimizer library
Work similar to existing impl but yields better results with even less overdraw.
2026-06-01 18:41:45 +02:00
mafiesto4 3830267a1e Add new IgnoreNodesScale option to skip skeleton nodes scale during import 2026-04-14 09:05:31 +02:00
mafiesto4 b834dddb11 **Refactor sRGB import option on textures** to actually handle image contents with gamma 2026-01-12 15:50:24 +01:00
mafiesto4 7f783bb7da Fix crash when importing mesh with incorrect triangulation 2025-07-02 17:23:04 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 e0251afe79 Fix last frame importing from animations to correctly loop 2025-03-31 13:38:13 +02:00
mafiesto4 5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
mafiesto4 e7824d6d9b Merge branch 'local-origin-multi-mesh' of https://github.com/Tryibion/FlaxEngine into Tryibion-local-origin-multi-mesh 2025-03-11 22:28:48 +01:00
mafiesto4 2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
mafiesto4 bd9a5f03a4 Fix crash when importing fbx model with convex polygon with duplicated vertices
#3222
2025-02-21 17:36:20 +01:00
mafiesto4 addc6d5216 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Content/Editor/Gizmo/Material.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Source/Editor/Windows/Assets/ModelWindow.cs
#	Source/Editor/Windows/Assets/SkinnedModelWindow.cs
#	Source/Engine/Core/Types/Variant.cpp
2025-01-13 18:07:54 +01:00
mafiesto4 a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
Tryibion 757b8ff855 Fix local origin option with multi-mesh import. 2024-12-31 00:50:42 -06:00
Gary M 21d1419e74 Added import option to reverse winding order 2024-12-12 22:19:55 -08:00
mafiesto4 a49751c31d Fix regression 2024-08-05 10:54:46 +02:00
mafiesto4 5171c33b72 Add shared memory cache for fbx importer mesh processing 2024-08-04 20:20:26 +02:00
mafiesto4 6081a159e3 Fix new skinned mesh importing to properly handle vertex indices
#2672
2024-08-04 20:18:05 +02:00
mafiesto4 1843606074 Minor tweaks 2024-07-27 12:28:30 +02:00
mafiesto4 c4f37741b7 Fix blend shapes importing
#2672
2024-07-26 23:54:27 +02:00
mafiesto4 e3bb38f13b Move arrays caching to be local for import and setup ignore flags for OpenFBX
#2672
2024-07-26 23:15:23 +02:00
GoaLitiuM 19108517da Fix wrong imported values in animation scale tracks 2024-06-01 13:04:13 +03:00
GoaLitiuM babd14d763 Fix skinned model import with triangulated mesh data 2024-06-01 12:33:44 +03:00
GoaLitiuM 60f675c6f0 Fix compilation errors 2024-06-01 00:54:56 +03:00
GoaLitiuM 297ca0be2c Fix compatibility issues with newer FBX models 2024-06-01 00:47:23 +03:00
GoaLitiuM cd1853f853 Implement triangulation for non-convex polygons 2024-06-01 00:24:13 +03:00
GoaLitiuM 7454e9abd2 Update OpenFBX
Updated to commit 365f52c1edad6bd283c8a645f1d8d2347dbd1e35
2024-06-01 00:24:12 +03:00
mafiesto4 568a69081d Fix animated model skinning precision issues
#2460
2024-04-22 13:18:52 +02:00
mafiesto4 1072b90c5b Fix blend shapes normals usage
#2459
2024-04-20 16:52:07 +02:00
mafiesto4 6aacea99ab Fix blend shapes transformation applying
#2459
2024-04-20 16:16:01 +02:00
mafiesto4 daf3671233 Fix model tool importing to use temp file only for Assimp 2024-04-16 14:38:12 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 01d123b099 Add support for importing material emissive and roughness from fbx file
#2153
2024-02-23 17:46:27 +01:00
mafiesto4 1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +01:00
mafiesto4 c8dd2c045c Simplify sorting arrays code 2023-12-01 13:57:34 +01:00
mafiesto4 a808bcdbf6 Refactor objects splitting in models importing to be handled by ModelTool not the importer code itself 2023-12-01 13:57:08 +01:00
mafiesto4 6e92d3103c Replace ImportedModelData with ModelData for model importing 2023-11-30 11:46:07 +01:00
mafiesto4 c5df7ad689 Add various improvements to models importing code 2023-11-30 11:31:58 +01:00
Tryibion bfaae46c7e remove not needed variable. 2023-10-25 10:35:12 -05:00
Tryibion 73694cba6c Add being able to set origin of mesh to the local mesh origin. fix centering several meshes. 2023-10-25 09:57:51 -05:00
mafiesto4 52b9a995ad Fix bone Offset Matrix from fbx when using root RotationMatrix
#1525
2023-10-04 10:01:17 +02:00
mafiesto4 68a713fb95 Fix model importer to use precomputed Offset Matrix for skeletal model bones
#1525
2023-10-03 22:30:58 +02:00
mafiesto4 248304a78f Fix regression of importing only a single material for models with split objects enabled
#1483
2023-09-22 19:43:00 +02:00
mafiesto4 a56ce92867 Fix crash when importing model with materials and Split Objects enabled 2023-09-19 23:07:10 +02:00
mafiesto4 7a2023ead6 Add option for importing scale tracking to animation asset 2023-02-07 09:39:31 +01:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 3f3697fbfa Code style cleanup
#837
2022-11-28 23:35:27 +01:00
Preben Eriksen c73eb548c0 PE: FBX Import - Improved normal map detection using diffuse name, if normap map was not setup inside object. 2022-11-10 13:14:19 +01:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00