branchrust_reboot/main/ice_sculptures/native_mesh_simplificationcancel
14 Commits over 0 Days - ∞cph!
cleanup and logging procedural mesh stats with a logmeshstats convar
not trying to simplify the mesh to 10% anymore
deferred mesh simplification
- sculpture waits for a period of inactivity to schedule mesh simplification
- mesh simplification is run in a background thread, while the unoptimised mesh is displayed immediately
- handles multiple enqueued simplification requests with job dependencies, preferring wasted background computation over main thread blocking
wrapped in-job profiling in a define, using a ProfilerMarkerStub with matching functions calls decorated with BurstDiscard
re-added early exit on flipped check loop
minor cleanup and crunching meshes down for 20% reduction
reduce vertex lookups in simplification
switched out normal parallel check in simplification with a dirtier cross product based one to remove a couple of normalize calls
- 75% perf improvement
more cleanup, profiling, and some micro optim
dropped carve radius for testing
cleanup and correct ref access to ref readonly access where appropriate