The “Merge” option on the CSG menu was using a lame routine that didn’t work fully and screwed up quite a bit. So I sat down and tried to come up with a new one. What I’m doing now is:
- Generate a list of unique vertices in the selected brushes (creating a vertex cloud).
- Loop through all of those vertices and generate a plane for every possible combination of 3 vertices.
- Check each plane and if (a) the normal is unique among the planes we’ve saved so far and (b) none of the vertices in the cloud lies in front of that plane, the plane is kept.
- Use the resulting set of planes to create a new brush.
And nobody is more surprised than myself to find that it works! Here’s a movie of it in action. Just think of the optimizations you could do to your levels with a tool like this:
This version will ship sometime over the weekend!
Tags: ToeTag
Wow man… can’t wait to see if the new version fixes my WAD problems
Hey Excessus,
You’ve got some fans over at func_msgboard: http://www.celephais.net/board/view_thread.php?id=3&start=4348. Drop by and say hello!
As the title suggests, an introduction to statistics for novices. ,