Commit Graph

602 Commits

Author SHA1 Message Date
Wojtek Figat
cf40facefe Add engine fatal error types handling
Add general out-of-memory handling
Add safety memory buffer for crash or out of memory handling
Refactor Globals exit/error state to be in Engine class
2025-01-24 20:07:12 +01:00
Wojtek Figat
80a44b5f5c Remove old code 2025-01-24 11:08:31 +01:00
Wojtek Figat
326bc498b8 Add more logging for cooking process 2025-01-22 00:01:25 +01:00
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
eaf48bb176 Fix regression in dynamic mesh bounds and triangles setup after refactor 2025-01-20 23:48:25 +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
6111f67e33 Add ToSpan for MemoryWriteStream and simplify code with it 2025-01-16 17:35:28 +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
d751c6a6c6 Add PackNormal/UnpackNormal and GetInt/SetInt to MeshAccessor 2025-01-12 21:22:35 +01:00
Wojtek Figat
e75d7ad257 Fix compilation warnings 2025-01-12 20:30:43 +01:00
Wojtek Figat
647d74af0d Fixes for vertex layouts binding into graphics backend 2025-01-11 22:44:38 +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
99788e4743 More fixes for Vulkan rendering to be on pair with DirectX when it comes to accessing missing vertex buffer components 2025-01-09 21:46:22 +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
2b2ace0d00 Fixes for Vulkan backend after recent changes 2025-01-08 18:09:45 +01:00
Wojtek Figat
7aa240e5eb Add vertex shader input layout reading via shader compiler reflection to handle missing vertex elements binding when explicit layout got deprecated 2025-01-07 23:26:06 +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
Wojtek Figat
29bfef677f Add PixelFormatSampler utility to quick read/write operations on various data formats
Moved from `TextureTool` to be used in runtime and with more generic use cases (including C# scripting).
2025-01-05 23:49:44 +01:00
Wojtek Figat
933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
Wojtek Figat
792d322818 Missing change for 6f04231b31 2025-01-05 00:17:52 +01:00
Wojtek Figat
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
Wojtek Figat
4f42fb2302 Update other graphics apis to match missing vertex shader inputs merging 2025-01-04 10:55:55 +01:00
Wojtek Figat
ea5cb5d83a Minor fixes and improvements 2025-01-03 01:10:31 +01:00
Wojtek Figat
7b7dd9d142 Improve GPU vertex layout binding in case of missing element from the mesh 2025-01-03 01:09:25 +01:00
Wojtek Figat
348f17479d Fix name of BlendWeight to BlendWeights for vertex input to match BlendIndices 2025-01-03 01:07:33 +01:00
Wojtek Figat
ab99a25cee Update mesh config defines to match a single format 2024-12-29 23:03:09 +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
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
8eaa906e0c Remove some redundant code 2024-12-18 18:39:58 +01:00
Wojtek Figat
5b98603c16 Fix incorrect vertex layout stride calculation 2024-12-18 18:38:47 +01:00
Wojtek Figat
80299c8552 Add stride to GPUVertexLayout 2024-12-17 15:58:26 +01:00
Wojtek Figat
d1ac9cd2bc Minor fixes 2024-12-16 20:07:53 +01:00
Wojtek Figat
59b4755379 Move mesh code to shared base class and reordanize files 2024-12-16 20:07:42 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
Wojtek Figat
cedf4b1eb5 Remove GPUShaderProgramsContainer to simplify GPUShader 2024-12-11 15:08:13 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
3e344e789a Optimize terrain debug shape drawing by caching lines into a vertex buffer
#2841
2024-12-09 18:26:53 +01:00
Wojtek Figat
e53b2b5736 Fix various compilation warnings 2024-12-06 11:37:25 +01:00
Wojtek Figat
2f16694529 Fix some not important warning to be less verbose in some cases 2024-12-04 18:40:52 +01:00
Wojtek Figat
1c2c010ddc Merge branch 'fix/nullable' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/nullable 2024-10-25 15:38:44 +02:00
Wojtek Figat
0b1263a9e2 Disable VK_EXT_tooling_info check for debugger on Linux 2024-10-22 21:54:38 +02:00
Wojtek Figat
f8371d037b Refactor old ContentLoadingManager into Content for simplicity 2024-10-11 23:05:09 +02:00
Wojtek Figat
ff495e1319 Add safety check to exit game in Release mode when running with graphics debugger attached 2024-10-11 20:15:17 +02:00
Mateusz Karbowiak
db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00