Commit Graph

122 Commits

Author SHA1 Message Date
mafiesto4 3d669dbba0 Optimize animated model startup to avoid double init of the bones buffer and pose 2026-06-15 18:00:01 +02:00
mafiesto4 bc36168318 Optimize Animated Model rendering with hardware instancing
All models are using the same global buffer for skinned bones which allows to share shader binding for instancing.
Refactor draw call for batching skinned mesh draws.
Remove `SkinnedMeshDrawData` and merge it into `AnimatedModel` internals.
2026-06-15 17:59:41 +02:00
mafiesto4 9ce6026192 Optimize model actors entries serialization 2026-06-02 14:07:28 +02:00
mafiesto4 ff526ecafb Fix nested prefab stack overflow when adding new object to nested prefabs hierarchy
https://github.com/LOOPDISK/FlaxEngine/pull/44
2026-06-02 13:23:21 +02:00
mafiesto4 633f2fa901 Fix prefab preview to wait for the assets streaming 2026-04-20 12:49:43 +02:00
mafiesto4 99d71cdf4a Fix animated model bounds to properly update after animation tick 2026-04-14 09:09:19 +02:00
mafiesto4 29abfbcdc9 Fix Cloth with models that use compressed vertex buffer
#4017
2026-03-24 22:59:21 +01:00
mafiesto4 55f73b6cf7 Optimize Animated Models bones updating with a batches memory pass and manual resource transitions batch
#3917 #3827
2026-02-09 23:03:25 +01:00
mafiesto4 4afd9fd8df Optimize Animated Model bones buffer flushing with delayed draw action to reduce lock contention
#3917 #3827
2026-02-06 13:27:53 +01:00
mafiesto4 73c19b278f Optimize updating Animated Model bones buffer when it's not dirty
#3827
2026-02-06 12:47:34 +01:00
mafiesto4 b4cb1028ed Fix typos 2026-02-06 12:47:07 +01:00
Tryibion dc22fa4061 Fix blend shape always applying zero weight if default weight is zero. 2025-12-18 21:49:03 -06:00
mafiesto4 056de752ed Add docs 2025-12-14 23:03:34 +01:00
Tryibion 0e627577fc Simplify code. 2025-12-14 15:00:44 -06:00
Tryibion 2d56411e5f Add slot stop methods without anim param. 2025-11-23 14:19:37 -06:00
mafiesto4 361fc3ecfb Add stencil buffer usage with object layer information
#3080 #967
2025-10-07 18:07:23 +02:00
mafiesto4 826009c1b4 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Source/Engine/Scripting/Scripting.cpp
2025-08-25 23:48:08 +02:00
mafiesto4 9003d855b3 Merge branch 'animated-model-additions' of https://github.com/Swiggies/FlaxEngine into Swiggies-animated-model-additions 2025-08-22 23:03:54 +02:00
Olly Rybak f8dadac453 Fixed up some names and added docs 2025-07-19 22:37:35 +10:00
mafiesto4 7fa4efcac5 Fix compilation in Release 2025-06-09 10:17:51 +02:00
mafiesto4 73c30d3d89 Optimize asset references to support direct registration to reduce Delegate memory allocations and overhead 2025-06-08 00:58:15 +02:00
mafiesto4 462f75abd0 Optimize memory allocation when reading animated model pose by cloth 2025-06-06 22:41:48 +02:00
mafiesto4 d95cd2f0be Optimize memory alloc on Animated Model init 2025-06-06 22:41:29 +02:00
Olly 49e0cc937e Added SetNodeTransformation with ModelBoneNode
To get and set a series of bones based on their ID

(cherry picked from commit e0a113483e910660e45c53e059502733ce1d6ad6)
2025-05-14 19:29:39 +10:00
mafiesto4 a2ff6e5c24 Fix missing BoundsScale usage on AnimatedModel 2025-04-22 11:02:53 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
mafiesto4 aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +01:00
mafiesto4 8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +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 7fcf8c2d4c Improve #3138 to pass over setting value to null and via proper cast so value type stays the same 2025-01-13 16:08:43 +01:00
mafiesto4 d751c6a6c6 Add PackNormal/UnpackNormal and GetInt/SetInt to MeshAccessor 2025-01-12 21:22:35 +01:00
Tryibion 13863344d2 Warn if value is the wrong type for the animation graph parameter trying to be set. 2025-01-07 20:26:25 -06:00
mafiesto4 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
mafiesto4 5f19538455 Add UpdateFlags to ISceneRenderingListener::UpdateActor for more contextual control overdirtying actors state in renderer data
Fixes issue of static shadow maps not refreshing when changing static flags of the model.
2024-09-29 22:03:46 +02:00
Tryibion 9c4129a2a3 Add todo for immediate transition. 2024-08-11 13:24:57 -05:00
Tryibion 830db22dcc Blend out of anim slots when stopped. 2024-08-09 09:05:53 -05:00
GoaLitiuM dedb3d57fd Fix Variant getters returning already freed managed handles 2024-06-01 20:22:16 +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 e53ab10145 Add Engine::UpdateCount to sync gameplay logic updates with game loop rather than draw frames 2024-04-17 13:31:12 +02:00
mafiesto4 26c2b33fc0 Fix large world compile 2024-04-16 16:34:38 +02:00
mafiesto4 ce67c3a98d Add ShowDebugDrawSkeleton to preview Animated Model skeleton via Debug Draw
#2443
2024-04-16 12:00:05 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
mafiesto4 6d58883454 Add events tracing feature to Animated Model for animation playback insights 2024-01-05 21:42:28 +01:00
mafiesto4 b6337c748c Fix stopping slot animations and playing the same frame
#1927
2024-01-05 17:11:41 +01:00
ExMatics HydrogenC 5b7a3f9700 Show skeleton when entering skeleton tab 2023-11-22 21:52:07 +08:00
ExMatics HydrogenC 8bcb984180 Implement SetNodeTransform 2023-11-19 17:02:07 +08:00
mafiesto4 887d2b2115 Fix incorrect animated model bounds update 2023-10-13 23:32:44 +02:00