CSG Substraction in blitz with a b3d file

Blitz3D Forums/Blitz3D Programming/CSG Substraction in blitz with a b3d file

hi there
how to csg substraction in blitz on a b3d file ?(maplet)

solved ! its too slow for realtime

I would be interested in how you achieved this. I'm doing a map editor. It's at the conceptual stage and relies on boolean operations but am at a loss as to how to implement it.

Any clues?

There is a nice example in the code archives, by Markus Rauch if I remember right.

Just checked it out, thanks. Excellent stuff but I'd hate to just rip it off directly without understanding it. Can anyone reccomend any good articles/tutorials online covering the implementation of at least the subtract/carve operation?

Sorry, not me :) , but I got to mention that the CSG example sometimes leaves strange gaps etc behind (probably due to rounding errors), so it's a good idea to weld the vertices after every csg operation (actually only raster their positions) and still before to UV-Mappingt takes place.

Aye, it leaves seams. You'll need to run a weld routing over the resultant mesh.