Tuesday, February 10, 2015

Mesh optimizations

The last couple of (work)days I've been working on some code to optimize meshes generated by my CSG algorithm, which now works in Unity. 

I'm quite pleased with the results. From 2073 vertices and 6951 triangles to 536 vertices and 2340 triangles. A pain to debug though :)

It's actually a heavily updated version of the CSG algorithm I blogged about/written articles on.. the new version is much faster.