branchrust_reboot/main/ice_sculptures2cancel
31 Commits over 0 Days - ∞cph!
Convar the generator pool count as `marchingcubemanager.generatorpoolcount`, defaults to 4 limit to [1-32] so no one sets it to a stupid value
refactored mesh generation to use a fixed size pool of generators over multiple frames, removes a huge amount of the fixed memory cost of each sculpture
fixed setcolormenu not showing properly
better additive sculpting plane handling, only paints onto plane and doesn't create towers of additive shapes
fixed OBB rotation being in the wrong space
fixed undo buffer storing in the wrong order when clearing
fixed server leaking marching cubes data
undo/redo working, also fixed some tooltips
server runs marching cubes and generates collider
fixed save not working in sculpting
Fully removed PointGrid3D and associated jobs
breaking BaseSculpture down into multiple files, getting unmanageable
merge from pointgrid_to_sdf
moved some vertex processing into multi-threaded generation
fixed triangle -> vertices/indices processing, each edge holds a cache of indices (max of 4 that it can produce in any configuration) and vertices check this cache before adding their own
- EdgeKey now just holds the interpolated vertex and an order-independent hash of the grid corners it is defined by
- Lets us weld vertices within our own tolerance, roughly halves verts and allows smooth normals to be calculated properly (we lose hard edges a bit with this, but we can solve that procedurally later if we want)
merge from the correct gui_sculpting branch
sculpture item not hidden