Commit Graph

98 Commits

Author SHA1 Message Date
Wojtek Figat
a2ff6e5c24 Fix missing BoundsScale usage on AnimatedModel 2025-04-22 11:02:53 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
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
Wojtek Figat
aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +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
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
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
Wojtek Figat
d751c6a6c6 Add PackNormal/UnpackNormal and GetInt/SetInt to MeshAccessor 2025-01-12 21:22:35 +01:00
Chandler Cox
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
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
Wojtek Figat
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
Chandler Cox
9c4129a2a3 Add todo for immediate transition. 2024-08-11 13:24:57 -05:00
Chandler Cox
830db22dcc Blend out of anim slots when stopped. 2024-08-09 09:05:53 -05:00
dedb3d57fd Fix Variant getters returning already freed managed handles 2024-06-01 20:22:16 +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
e53ab10145 Add Engine::UpdateCount to sync gameplay logic updates with game loop rather than draw frames 2024-04-17 13:31:12 +02:00
Wojtek Figat
26c2b33fc0 Fix large world compile 2024-04-16 16:34:38 +02:00
Wojtek Figat
ce67c3a98d Add ShowDebugDrawSkeleton to preview Animated Model skeleton via Debug Draw
#2443
2024-04-16 12:00:05 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
6d58883454 Add events tracing feature to Animated Model for animation playback insights 2024-01-05 21:42:28 +01:00
Wojtek Figat
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
Wojtek Figat
887d2b2115 Fix incorrect animated model bounds update 2023-10-13 23:32:44 +02:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Chandler Cox
b948152a41 Simplify 2023-10-03 09:40:46 -05:00
Chandler Cox
9fbc51a22a Add back in fixed margin code. 2023-10-03 09:21:27 -05:00
Chandler Cox
d6861696a5 Simplify. 2023-10-03 09:17:52 -05:00
Chandler Cox
60ac0a8196 Fix box changes from animations. 2023-10-03 08:25:05 -05:00
Chandler Cox
7bb3ddefeb Fix AnimatedModel box. 2023-10-03 07:51:15 -05:00
Wojtek Figat
e39a56fc4e Merge remote-tracking branch 'origin/master' into 1.7 2023-07-18 11:47:39 +02:00
Wojtek Figat
338499536f Add ModelInstanceActor::GetMaterialSlots 2023-07-18 10:55:00 +02:00
Wojtek Figat
1af076f180 Add distance-based and frustum-based culling to cloth 2023-07-17 11:16:01 +02:00
Wojtek Figat
3141b4fb04 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/SplineModel.cpp
#	Source/Engine/Level/Actors/SplineModel.h
2023-07-14 14:10:21 +02:00
Wojtek Figat
a6924d37c1 Add ModelInstanceActor::GetMaterial to get actual material used to render certain entries 2023-07-14 11:58:51 +02:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
f81989a171 Add **Cloth** simulation with physics 2023-07-03 10:38:36 +02:00
Wojtek Figat
99ee0b1bfe Add MeshDeformation utility for generic meshes vertices morphing (eg. via Blend Shapes or Cloth) 2023-07-03 09:49:23 +02:00
Wojtek Figat
5079ddd20a Merge branch 'patch-1' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-patch-1 2023-06-30 11:03:15 +02:00
Wojtek Figat
2bd2bd5081 Fix crash when modifying animated model skeleton pose from gameplay code during update event 2023-06-30 11:02:58 +02:00
ExMatics HydrogenC
804826fbc7 Fix multiplication mistake 2023-06-30 14:06:52 +08:00
ExMatics HydrogenC
0498f1488e Fix space conversion issue 2023-06-30 12:25:58 +08:00
Wojtek Figat
e3cbe1458d Add MeshReference to ModelInstanceActor for easy mesh referencing and its data access interface 2023-06-29 16:50:00 +02:00
Wojtek Figat
a889d888ff Refactor RootMotionData into Transform to simplify code 2023-05-04 14:18:12 +02:00
Wojtek Figat
915f6a719d Add automatic skeleton retargeting when playing Anim Graph on other skeletal model 2023-04-26 20:03:27 +02:00
Wojtek Figat
31411e334b Fix AnimatedModel bounds calculations 2023-03-03 17:44:34 +01:00
Wojtek Figat
a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +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