Anyone have a constructive solid geometry DLL?

I wrote a DLL a while back that you give a series of plane equations to, and it returns a list of faces and vertices, and you just create triangle between verts 0,1,2, 0,2,3, etc. It’s very useful for loading .map files, or converting them to polygons.

I wrote it so that it doesn’t handle intersections between more than 3 planes very well. For instance, the apex of a many-sided cone can crash it.

I was wondering if anyone had a DLL that did this that I could use. I mean, I could go back and rewrite mine, but I think I learned what I wanted to, and just want to save time if I can now.

CSG functions like union and subtraction would be great, if anyone has DLL’s for those as well.


[This message has been edited by halo (edited 09-08-2002).]