Commit Graph

61 Commits

Author SHA1 Message Date
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
e0251afe79 Fix last frame importing from animations to correctly loop 2025-03-31 13:38:13 +02:00
Wojtek Figat
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
Wojtek Figat
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
Wojtek Figat
2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
Wojtek Figat
bd9a5f03a4 Fix crash when importing fbx model with convex polygon with duplicated vertices
#3222
2025-02-21 17:36:20 +01:00
Wojtek Figat
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
Wojtek Figat
a1c46d2e6e Add support for up to 4 texture channels when importing meshes
#2667
2025-01-11 22:40:20 +01:00
Chandler Cox
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
Wojtek Figat
a49751c31d Fix regression 2024-08-05 10:54:46 +02:00
Wojtek Figat
5171c33b72 Add shared memory cache for fbx importer mesh processing 2024-08-04 20:20:26 +02:00
Wojtek Figat
6081a159e3 Fix new skinned mesh importing to properly handle vertex indices
#2672
2024-08-04 20:18:05 +02:00
Wojtek Figat
1843606074 Minor tweaks 2024-07-27 12:28:30 +02:00
Wojtek Figat
c4f37741b7 Fix blend shapes importing
#2672
2024-07-26 23:54:27 +02:00
Wojtek Figat
e3bb38f13b Move arrays caching to be local for import and setup ignore flags for OpenFBX
#2672
2024-07-26 23:15:23 +02:00
19108517da Fix wrong imported values in animation scale tracks 2024-06-01 13:04:13 +03:00
babd14d763 Fix skinned model import with triangulated mesh data 2024-06-01 12:33:44 +03:00
60f675c6f0 Fix compilation errors 2024-06-01 00:54:56 +03:00
297ca0be2c Fix compatibility issues with newer FBX models 2024-06-01 00:47:23 +03:00
cd1853f853 Implement triangulation for non-convex polygons 2024-06-01 00:24:13 +03:00
7454e9abd2 Update OpenFBX
Updated to commit 365f52c1edad6bd283c8a645f1d8d2347dbd1e35
2024-06-01 00:24:12 +03:00
Wojtek Figat
568a69081d Fix animated model skinning precision issues
#2460
2024-04-22 13:18:52 +02:00
Wojtek Figat
1072b90c5b Fix blend shapes normals usage
#2459
2024-04-20 16:52:07 +02:00
Wojtek Figat
6aacea99ab Fix blend shapes transformation applying
#2459
2024-04-20 16:16:01 +02:00
Wojtek Figat
daf3671233 Fix model tool importing to use temp file only for Assimp 2024-04-16 14:38:12 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
01d123b099 Add support for importing material emissive and roughness from fbx file
#2153
2024-02-23 17:46:27 +01:00
Wojtek Figat
1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +01:00
Wojtek Figat
c8dd2c045c Simplify sorting arrays code 2023-12-01 13:57:34 +01:00
Wojtek Figat
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
Wojtek Figat
6e92d3103c Replace ImportedModelData with ModelData for model importing 2023-11-30 11:46:07 +01:00
Wojtek Figat
c5df7ad689 Add various improvements to models importing code 2023-11-30 11:31:58 +01:00
Chandler Cox
bfaae46c7e remove not needed variable. 2023-10-25 10:35:12 -05:00
Chandler Cox
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
Wojtek Figat
52b9a995ad Fix bone Offset Matrix from fbx when using root RotationMatrix
#1525
2023-10-04 10:01:17 +02:00
Wojtek Figat
68a713fb95 Fix model importer to use precomputed Offset Matrix for skeletal model bones
#1525
2023-10-03 22:30:58 +02:00
Wojtek Figat
248304a78f Fix regression of importing only a single material for models with split objects enabled
#1483
2023-09-22 19:43:00 +02:00
Wojtek Figat
a56ce92867 Fix crash when importing model with materials and Split Objects enabled 2023-09-19 23:07:10 +02:00
Wojtek Figat
7a2023ead6 Add option for importing scale tracking to animation asset 2023-02-07 09:39:31 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
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
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
xKamuna
177696ee00 Fix blend shape offsets 2021-12-24 04:43:28 -08:00
Wojciech Figat
b88ac45b53 Optimize model data access during models importing 2021-12-13 17:32:01 +01:00
Wojciech Figat
c0bcb54044 Fix incorrect transformation on imported blend shapes data from fbx file
#672
2021-12-07 18:23:01 +01:00
Wojciech Figat
05d0e1bdcc Add Split Objects object to split imported meshes/animations into separate assets 2021-11-24 17:40:56 +01:00