Commit Graph

362 Commits

Author SHA1 Message Date
Wojtek Figat
78f3248ac9 Refactor SortOrder to use int8 instead of int16 due to performance reasons (more efficent sort keys packing in rendering) 2024-06-29 13:54:02 +02:00
Wojtek Figat
e1bede1bf6 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-13 17:07:37 +02:00
Wojtek Figat
175fd31431 Fix Delegate invoke to copy arguments values to each call instead of passing as reference 2024-06-05 18:00:00 +02:00
Wojtek Figat
53d77d3421 Add **Model SDF baking on GPU** via Compute Shader 2024-05-29 14:53:13 +02:00
Wojtek Figat
12cf7f0f92 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Flax.flaxproj
2024-05-22 16:15:14 +02:00
Wojtek Figat
cfc9f73744 Fix deadlock between content storage and asset that is being updated during load
#2621
2024-05-20 14:22:03 +02:00
Wojtek Figat
58f95d6ce3 Simplify 6f2bd0e932 2024-05-15 23:49:46 +02:00
Wojtek Figat
97be8ee8cc Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Content/Storage/FlaxStorage.cpp
#	Source/Engine/Renderer/GBufferPass.cpp
2024-05-15 23:49:05 +02:00
Wojtek Figat
6f2bd0e932 Another attempt on 6a883bc7c6 2024-05-15 11:22:07 +02:00
Wojtek Figat
6a883bc7c6 Revert file handles bug 2024-05-14 09:03:52 +02:00
Wojtek Figat
44006dd533 Various code improvements 2024-05-09 18:59:09 +02:00
Wojtek Figat
5029584a9f Fix crash when Visual Script event binding instance is invalid
#2548
2024-05-09 10:17:23 +02:00
Wojtek Figat
33202a74b0 Fix 2024-05-08 19:15:25 +02:00
Wojtek Figat
481a6de821 Add support for cooking raw files referenced by assets 2024-05-08 17:27:46 +02:00
Wojtek Figat
66b828ae92 Refactor Asset::GetReferences to support file path references 2024-05-08 15:54:37 +02:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
b92fbcb3bc Add more const correctness
#2467
2024-04-22 22:53:27 +02:00
Wojtek Figat
32b15f90ab Minor improvements 2024-04-22 18:10:58 +02:00
Wojtek Figat
60e8d73079 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Renderer/RenderList.cpp
#	Source/Engine/Renderer/RenderList.h
2024-04-17 09:58:59 +02:00
Wojtek Figat
9c2c02c1cf Fix various issues found with thread sanitizer on macOS 2024-04-13 19:20:49 +02:00
Menotdan
e137d31839 Enforce Content:CloneAssetFile() running on the main thread, to avoid a bug that occurs when a particle emitter is created from one of the templates due to the creation coming from the content thread. 2024-04-11 17:37:31 -04:00
Wojtek Figat
d13621e631 Skip CloseFileHandles if file is not in use 2024-03-25 16:50:48 +01:00
Wojtek Figat
6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
Wojtek Figat
7545e49284 Add manual chunks loading before Binary Asset load in case content streaming flushed them out 2024-03-14 17:30:28 +01:00
Wojtek Figat
fc29d687b5 Add more insights on potentially missing asset file data chunks 2024-03-12 13:25:25 +01:00
Wojtek Figat
d719c381ea Merge remote-tracking branch 'origin/master' into 1.8 2024-03-11 23:49:33 +01:00
Wojtek Figat
d4e0023925 Fix RawDataAsset memory usage to use capacity of the bytes array instead of just size 2024-03-04 22:46:30 +01:00
Wojtek Figat
aabc9f51bb Improve #2270 by moving mehtod to cpp file 2024-02-27 11:22:10 +01:00
Wojtek Figat
fc4163524c Merge branch 'linux-plugin-fix' of https://github.com/Menotdan/FlaxEngine into Menotdan-linux-plugin-fix 2024-02-27 11:14:32 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
e282717a0a Merge branch 'trash-files' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-trash-files 2024-02-23 19:55:16 +01:00
Menotdan
50e75e4e7b Fix IAssetFactory::Get() in plugins on Linux. 2024-02-22 11:21:29 -05:00
Wojtek Figat
d7dbc0fbdc Fix opening projects with PostFx material assigned in Graphics Settings
#1993
2024-02-21 20:21:45 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
09532acf29 Fix compilation with Clang 2024-02-17 07:12:52 +01:00
Wojtek Figat
f0f8da3c09 Various fixes 2024-02-16 12:29:59 +01:00
Wojtek Figat
b5e23f0096 Improve JsonAssetReference 2024-02-15 11:46:17 +01:00
Wojtek Figat
fe7cc62728 Add JsonAssetReference type for scripting 2024-02-15 11:22:01 +01:00
Wojtek Figat
db7dfdb0b1 Add support for structure and script types in JsonAsset 2024-02-14 18:55:48 +01:00
Wojtek Figat
ebcc864b06 Fix missing file error in Content::GetAssetInfo 2024-02-14 12:47:34 +01:00
Wojtek Figat
6548ca1148 Fix JsonAsset::GetInstance to properly check base class
#2224
2024-02-13 10:43:20 +01:00
Wojtek Figat
080202cf95 Fix crash when storage file gets deleted due to missing ref from async thread which failed to load it 2024-02-09 15:52:53 +01:00
Wojtek Figat
87c66b0168 Fix root motion preview in animation window 2024-02-09 15:38:11 +01:00
Wojtek Figat
da1b2f0c07 Fix crash when file handle was null 2024-02-09 15:37:42 +01:00
Wojtek Figat
d08843900e Add AnimationRootMotionFlags to configure root motion component extraction
Add `RootMotionMode` to support extracting root motion from animated skeleton pose center of mass

#1429 #2152
2024-02-09 15:37:29 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
10bed94357 Refactor engine systems to use platform time seconds rather than date time 2024-01-28 22:15:34 +01:00
Wojtek Figat
69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
Wojtek Figat
6d6b678b29 Minor changes from porting 2024-01-18 16:03:27 +01:00