[gl2ps] Boolean operation of CSG volumes
barrand
barrand at lal.in2p3.fr
Wed May 9 21:48:18 CEST 2007
Hello
I was just wondering if people on this list may have ideas on how to
treat the visualization of boolean operations of solids.
In my things, I am using some algorithms that appears to have
defects.
And the man that had developed this code is no more around... (and
obviously
the algorithm is "tricky" and then hard to jump in).
People suggest me that perhaps a "brute force" algorithm working
on triangles of the shapes to add, substract, intersect may work in
all cases.
And as in gl2ps, I know that you do primitve sorting, I have though
that
perhaps some may have idea on that point.
I know also that some can do that by exploiting the stencil
capabilities
of OpenGL but I never been able to put the hand of a nice packaging
of that ; something I can embed in my things. (Moreover I need
something
that works within the Inventor / coin3d environment and some way
exploiting the triangles would pass here).
But some of you may also have some URL of some good open source
piece of code to do that...
Regards
Guy