Commit Graph

45 Commits

Author SHA1 Message Date
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
Wojtek Figat
6f16195b08 Fix mesh tangent and bitangent vectors generation with OpenFBX backend by using MikkTSpace 2021-11-11 13:23:30 +01:00
Wojtek Figat
257f57f926 Fix importing materials from fbx files
#628
2021-09-23 12:40:34 +02:00
Jean-Baptiste Perrier
2948bfbed0 Backward compatibility (Mathd -> Math), fix and remove warnings. 2021-08-12 14:15:26 +02:00
Wojtek Figat
3a5c212985 Change CalculateTangents to false as default and calculate normals/tangents by default if missing 2021-07-22 10:25:01 +02:00
Wojtek Figat
383ea4d603 Fix crash when importing model mesh with multiple materials but no mapping on a Geometry
#572
2021-07-22 10:20:19 +02:00
Wojtek Figat
a59429c954 Fix importing model animations curves with scaled local bone TransformBuffer
#565
2021-07-09 12:06:47 +02:00
Wojtek Figat
09671823e4 Optimize String usage with StringView for basic file paths operations 2021-05-02 11:25:42 +02:00
Wojtek Figat
2f7a84822a Fix importing models with custom UnitScaleFactor 2021-03-08 13:12:15 +01:00
VNC
6ab300025b Fixed a ton of typos 2021-01-05 02:13:15 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00