Commit Graph

196 Commits

Author SHA1 Message Date
mafiesto4 a544cbcfde Add mesh index buffer optimization based on meshoptimizer library
Work similar to existing impl but yields better results with even less overdraw.
2026-06-01 18:41:45 +02:00
mafiesto4 4fd7f51fdf Optimize LightmapUVs to be stored already as Half4 to avoid runtime conversions during rendering 2026-04-27 21:53:11 +02:00
mafiesto4 cb2f2bf644 Fix drawing incorrect LOD transition when using 2 cameras in a scene at once
#4055
2026-04-16 23:24:53 +02:00
mafiesto4 9350a4a706 Refactor model LOD transition to run only when any material uses Dithered LOD Transition
#4055
2026-04-16 23:23:36 +02:00
mafiesto4 2fc95bdf57 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/MaterialTemplates/Deformable.shader
#	Flax.flaxproj
#	Source/Engine/Content/Content.h
#	Source/Engine/Serialization/JsonTools.cpp
2026-04-01 17:14:21 +02:00
mafiesto4 09a0573932 Fix MeshAccessor.Stream count for items not aligned to buffer start 2026-03-26 17:14:14 +01:00
mafiesto4 b6789ee523 Add various improvements to MeshAccessor such as ComputeNormals and ComputeTangents
https://forum.flaxengine.com/t/how-to-create-procedural-generated-geometry-using-meshaccessor/2420
2026-03-26 17:13:46 +01:00
mafiesto4 f1b6c13ba9 Fix PixelFormatSampler.Write` in C# to actually work 2026-03-26 15:33:55 +01:00
mafiesto4 ccc8d209da Fix MeshAccessor to validate buffer existence in C# API 2026-03-26 15:33:14 +01:00
mafiesto4 35fb320ff0 Merge remote-tracking branch 'origin/master' into 1.12 2026-03-24 23:59:41 +01:00
mafiesto4 3a3b997e97 Fix compilation regression 2026-03-24 23:46:21 +01:00
mafiesto4 f3c957481c Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Source/Editor/GUI/Dialogs/ColorPickerDialog.cs
#	Source/Editor/GUI/Dialogs/ColorSelector.cs
2026-03-24 23:41:58 +01:00
mafiesto4 e8134803c4 Fix invalid index buffer format returned by MeshAccessor when model is not yet loaded
#4017
2026-03-24 23:13:50 +01:00
mafiesto4 13f5222ec7 Fix MeshAccessor to properly reference model asset data during the usage 2026-03-24 23:00:51 +01:00
mafiesto4 29abfbcdc9 Fix Cloth with models that use compressed vertex buffer
#4017
2026-03-24 22:59:21 +01:00
mafiesto4 45a8d82a83 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GUI.flax
#	Flax.flaxproj
#	Source/Editor/Windows/AboutDialog.cs
#	Source/Engine/Serialization/Stream.cpp
#	Source/Shaders/GUICommon.hlsl
2026-03-13 08:09:16 +01:00
mafiesto4 479c5f896c Fix MeshAccelerationStructure to use MeshAccessor for proper mesh format access
#3984
2026-03-11 13:43:26 +01:00
mafiesto4 6bd13feba6 Add various fixes 2026-02-16 16:11:00 +01:00
mafiesto4 f045b5b6b6 Merge remote-tracking branch 'origin/master' into 1.12
# 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/MaterialTemplates/Features/ForwardShading.hlsl
#	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/DefaultRadialMenu.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Flax.flaxproj
#	Source/Engine/Graphics/Materials/MaterialShader.h
#	Source/Engine/Graphics/Materials/MaterialShaderFeatures.cpp
#	Source/Engine/Renderer/RenderList.h
#	Source/Shaders/Reflections.shader
#	Source/Shaders/ReflectionsCommon.hlsl
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2026-02-11 00:20:38 +01:00
mafiesto4 d2ee61ef8d Fix GetNodesPose issue when 2 threads call it at once 2026-02-09 18:06:57 +01:00
mafiesto4 3d66316716 Optimize animations retargeting between skeletons
Cuts down `RetargetSkeletonPose` time down by over 80%.

#3827
2026-02-09 15:03:42 +01:00
mafiesto4 9c32f978fb Fix regression from 73c19b278f to fix missing skeleton bones on start in Editor 2026-02-08 00:22:37 +01:00
mafiesto4 b4cb1028ed Fix typos 2026-02-06 12:47:07 +01:00
mafiesto4 65fd22f5b6 Add Triangles to MeshAccessor for easy index buffer access
#3918
2026-02-05 13:00:49 +01:00
mafiesto4 9ac19cbd2f Fix build regression on Clang 2026-02-03 22:58:09 +01:00
mafiesto4 39a2bc2535 Fix build regression on Clang 2026-02-03 22:11:15 +01:00
mafiesto4 1535f95cf1 Fix mesh collision proxy setup for meshes using packed positions format
#3791
2026-02-03 13:18:02 +01:00
mafiesto4 b834dddb11 **Refactor sRGB import option on textures** to actually handle image contents with gamma 2026-01-12 15:50:24 +01:00
mafiesto4 76b869146d Fix missing scripting api tag on MeshAccessor::Stream 2026-01-06 00:03:35 +01:00
mafiesto4 361fc3ecfb Add stencil buffer usage with object layer information
#3080 #967
2025-10-07 18:07:23 +02:00
mafiesto4 87e2c4c4d5 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Source/Editor/Windows/OutputLogWindow.cs
#	Source/Engine/Level/Actor.cpp
2025-09-24 18:18:27 +02:00
mafiesto4 d8f7199c11 Fix importing emissive, roughness, metalness and wireframe properties of materials with Assimp
#3418
2025-09-23 15:42:49 +02:00
mafiesto4 f323fdb592 Add and use Max Mesh Position Error to Build Settings for automatic mesh vertex positions storage 2025-09-12 17:53:14 +02:00
mafiesto4 1f6d837117 Fix regression from 6d05bf16b1 2025-09-05 08:51:43 +02:00
mafiesto4 986693757c Merge remote-tracking branch 'origin/master' into 1.11 2025-06-16 22:46:17 +02:00
Zode 7fc564a0ac Pop error box on lightmap UV generation also 2025-06-09 15:07:52 +03:00
mafiesto4 99841e2e8d Fix crash when using invalid node index in skinned mesh 2025-06-08 00:58:31 +02:00
mafiesto4 bffb175a9b Code fixes 2025-06-07 01:25:22 +02:00
mafiesto4 d95cd2f0be Optimize memory alloc on Animated Model init 2025-06-06 22:41:29 +02:00
mafiesto4 f462a2187f Merge branch 'master' into 1.11 2025-06-05 18:03:17 +02:00
mafiesto4 077f7a3cd1 Add PositionFormat and TexCoordFormat to model import option for mesh data encoding 2025-06-03 11:18:03 +02:00
mafiesto4 c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
mafiesto4 9ba1c4c338 Fix typo in ec2957bf38 2025-05-16 20:24:01 +02:00
mafiesto4 ec2957bf38 Fix memory leak on sequential mesh buffers update
#3449
2025-05-16 20:23:16 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 5d3da8a8d0 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Editor/SceneGraph/Actors/StaticModelNode.cs
#	Source/Engine/Graphics/Models/Mesh.cs
#	Source/Engine/Graphics/Models/ModelData.h
2025-03-13 11:23:01 +01:00
mafiesto4 e7824d6d9b Merge branch 'local-origin-multi-mesh' of https://github.com/Tryibion/FlaxEngine into Tryibion-local-origin-multi-mesh 2025-03-11 22:28:48 +01:00
mafiesto4 a54299a560 Optimize ViewportRubberBandSelector
#3151
2025-03-11 13:05:15 +01:00
Tryibion 837a4927c1 Try fix build issues. 2025-03-08 10:50:46 -06:00
mafiesto4 0c0f128585 Fix collision proxy not updating on sequential mesh changes
#2920
2025-03-07 23:39:01 +01:00