Commit Graph

416 Commits

Author SHA1 Message Date
Wojtek Figat
9fd98c8e12 Optimize blend weights to use 8-bit per bone (instead of 16-bit) 2025-01-21 11:40:01 +01:00
Wojtek Figat
0b24c50161 Expose ContentDeprecated to scripting (editor-only) 2025-01-21 10:18:57 +01:00
Wojtek Figat
67f12596e2 Fix LoadAssetTask to properly dereference asset loading task pointer when asset init fails 2025-01-20 23:52:12 +01:00
Wojtek Figat
f4c07388d9 Restore old upgrader for skinned models from 9f648caac8 2025-01-20 23:49:00 +01:00
Wojtek Figat
8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
Wojtek Figat
1497acef58 SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only 2025-01-16 17:42:01 +01:00
Wojtek Figat
6111f67e33 Add ToSpan for MemoryWriteStream and simplify code with it 2025-01-16 17:35:28 +01:00
Wojtek Figat
d0a6edbb2c Another compilation fix 2025-01-14 23:26:26 +01:00
Wojtek Figat
59061c01d3 Fix compilation error 2025-01-14 22:29:06 +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
3796b0ccae Revert #3117 and do it different way as some types can be valid even if different thus use internal parameter setter for type validation 2025-01-13 16:07:47 +01:00
Wojtek Figat
ea96418764 Update old Float1010102 to FloatR10G10B10A2 2025-01-12 21:22:53 +01:00
Wojtek Figat
506efb7538 Merge model and skinned model windows code into shared base class 2025-01-12 01:04:56 +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
Wojtek Figat
3505b8971b Add support for up to 65536 skeleton bones in skinned meshes
https://forum.flaxengine.com/t/import-fbx-with-bones-more-than-256/1196
2025-01-08 18:48:50 +01:00
Wojtek Figat
db4d7d2a05 **Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
2025-01-06 22:47:19 +01:00
Chandler Cox
7eb2088af0 Use Variant::CanCast() for type check. 2025-01-06 15:40:38 -06:00
Wojtek Figat
ea5cb5d83a Minor fixes and improvements 2025-01-03 01:10:31 +01:00
Wojtek Figat
3151e47722 Fix missing material instance load failure when parameters load fails 2024-12-29 23:21:26 +01:00
Wojtek Figat
668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
Wojtek Figat
fee0ab74ff Update old doc comments 2024-12-28 21:31:21 +01:00
Chandler Cox
88703d721b Warn if wrong type while setting material parameter. 2024-12-23 16:51:37 -06:00
Wojtek Figat
723a882824 Merge more code together for meshes 2024-12-23 23:28:01 +01:00
Wojtek Figat
9f648caac8 Remove deprecated asset data upgrades and old model vertex structures 2024-12-20 00:48:01 +01:00
Wojtek Figat
1bf29c042b Refactor models and meshes to share more code in a base class 2024-12-19 00:20:08 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
b6d2a3683c Add ButtonAttribute to display methods in editor properties panel
#1917
2024-12-06 16:10:50 +01:00
Wojtek Figat
74993dcf9e Fix animation retargetting to properly handle different skeleton nodes orientation 2024-11-22 12:29:05 +01:00
Wojtek Figat
246944f688 Merge remote-tracking branch 'origin/master' into 1.10 2024-11-06 09:29:48 +01:00
Wojtek Figat
935e25ab7d Fix compile warnings 2024-11-05 11:32:49 +01:00
Wojtek Figat
9f9564895e Fix collecting referenced asses from Animation asset
#3013
2024-10-25 19:02:31 +02:00
Wojtek Figat
f8371d037b Refactor old ContentLoadingManager into Content for simplicity 2024-10-11 23:05:09 +02:00
Wojtek Figat
207c6a0cb5 Refactor platform apis comments and cleanup a bit 2024-09-24 18:29:30 +02:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
a367d40913 Add more contextual log printing on missing object/asset reference
#2414
2024-09-15 23:03:53 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
0bc98a5f18 Improve asset reference debug in C# when it's empty 2024-09-12 12:41:03 +02:00
Wojtek Figat
cc01952059 Fix Visject parameter values restore after script is saved in editor by using original value diff
#2276
2024-09-11 20:44:45 +02:00
Wojtek Figat
ec412d9be0 Fix undo-redo for JsonAssetReference in Editor
#2711
2024-08-28 23:42:59 +02:00
Wojtek Figat
d0240a54c7 Add MaterialInstance.ResetParameters 2024-08-22 13:15:33 +02:00
Wojtek Figat
ce1a1d6031 Fix deploying fbx files in cooked build from ModelPrefab 2024-08-17 16:48:42 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
45e83d6d15 Add feedback from PVS (static code analyzer)
https://pvs-studio.com/en/blog/posts/cpp/1153/
2024-08-15 13:01:40 +02:00
Wojtek Figat
fbd3b9372b Fix crash when reading invalid data from file 2024-08-12 15:35:02 +02:00
Wojtek Figat
97ab8940f0 Fix bug with missing baked SDF data on save when asset data chunk memory was freed by GC 2024-08-10 20:45:59 +02:00
Wojtek Figat
0023014cc2 Add MaterialInstance.ResetParameters 2024-08-09 18:39:47 +02:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Wojtek Figat
7a89e78f43 Fix incorrect JsonAssetReference<T> serialization
#2774
2024-07-26 01:13:52 +02:00
Wojtek Figat
9f078a6e3c Fix crash when using and saving scene with Visual Script object instance which asset was deleted 2024-07-25 17:17:28 +02:00
Wojtek Figat
faf7a28cf2 Fix compilation after merge
#2714
2024-07-24 16:48:46 +02:00