CSG Substraction in blitz with a b3d file

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

Panno(Posted 2004) [#1]
hi there
how to csg substraction in blitz on a b3d file ?(maplet)


Panno(Posted 2004) [#2]
solved ! its too slow for realtime


UByte(Posted 2004) [#3]
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?


jfk EO-11110(Posted 2004) [#4]
There is a nice example in the code archives, by Markus Rauch if I remember right.


UByte(Posted 2004) [#5]
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?


jfk EO-11110(Posted 2004) [#6]
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.


poopla(Posted 2004) [#7]
Aye, it leaves seams. You'll need to run a weld routing over the resultant mesh.