9 Months Ago
Some initial work for 2D edge styles 2D: smooth cut face normals across chunk boundaries First pass at edge styles Might need to rethink this, large edge radii cause problems Regenerate SDF meshes on resource change 2D: Get rid of inset bias for rounded / bevel edges 2D: Rewriting mesh gen to be edge loop based Identify positive vs negative edge loops Find which positive loop contains each negative loop PolygonMeshBuilder Formatting Refactoring, skeleton of new 2D meshing strategy CutMeshWriter Chunk mesh clipping .addon to .sbproj New mesh writer almost working Fixed rounded edges, dodgy clip fix Bug fixes Fixes Another fix More fixes, UVs for cut faces Small fixes Keep layer width consistent New polygon closing method More consistent position sorting for sweeps Another fix Debugging A bit more stable Refactor, stability Non-reflex angles can split Allow merges in either direction Trying to find isolated polys is buggy, just do them all together Slight optimization Collision mesh generation Remove debug Some cleanup WIP add vertices to limit smooth normal blend distance Fixed off-by-one halving max bevel width Moved PolygonMeshBuilder to its own package Remove debug again