virtualx-engine/scene/resources/3d
Arseny Kapoulkine a13a64eacd Disable normal raycaster for LOD generation by default
Normal raycaster makes LOD generation process >2x slower and often
generates normals that look significantly worse compared to what the
simplifier comes up with by default. This was likely different before
last meshoptimizer upgrade, as the attribute metric was not functioning
properly, but now it looks like it's doing more harm than good.

This change makes it disabled by default but keeps an easy option to
re-enable it per mesh using LOD parameters for now until we get more
confidence and can remove the code outright.

Because the long term plan would be to disable this feature entirely,
the scripting API isn't changed, and it's just off-by-default there with
no way to re-enable.
2024-07-02 10:18:15 -07:00
..
box_shape_3d.cpp
box_shape_3d.h
capsule_shape_3d.cpp
capsule_shape_3d.h
concave_polygon_shape_3d.cpp
concave_polygon_shape_3d.h
convex_polygon_shape_3d.cpp
convex_polygon_shape_3d.h
cylinder_shape_3d.cpp
cylinder_shape_3d.h
fog_material.cpp
fog_material.h
height_map_shape_3d.cpp Add HeightMapShape3D update with Image data 2024-04-04 02:10:00 +02:00
height_map_shape_3d.h Add HeightMapShape3D update with Image data 2024-04-04 02:10:00 +02:00
importer_mesh.cpp Disable normal raycaster for LOD generation by default 2024-07-02 10:18:15 -07:00
importer_mesh.h Disable normal raycaster for LOD generation by default 2024-07-02 10:18:15 -07:00
mesh_library.cpp
mesh_library.h
navigation_mesh_source_geometry_data_3d.cpp Fix thread-use causing navigation source geometry data corruption 2024-06-21 08:06:14 +02:00
navigation_mesh_source_geometry_data_3d.h Fix thread-use causing navigation source geometry data corruption 2024-06-21 08:06:14 +02:00
primitive_meshes.cpp Use Vector* component-wise min/max/clamp functions where applicable 2024-03-20 13:47:42 +01:00
primitive_meshes.h Expose PrimitiveMesh's request_update` method 2024-03-06 19:18:01 +08:00
SCsub
separation_ray_shape_3d.cpp
separation_ray_shape_3d.h
shape_3d.cpp
shape_3d.h
skin.cpp
skin.h
sky_material.cpp
sky_material.h
sphere_shape_3d.cpp
sphere_shape_3d.h
world_3d.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
world_3d.h
world_boundary_shape_3d.cpp
world_boundary_shape_3d.h