Hi
Thanks alot for your comments Sergey and Chris.
I have tried to implement the algorithm, code and comments below but it doesn't
work as I had hoped.
What I expected to see is the back wall of a cylinder (which intersects a box).
What I actually see is the whole back wall of a cylinder
Hi,
I am trying to use the stencil buffer to implement CSG Boolean operations.
As part of this I need to selectively render the front and back faces of the
two objects in order to test depth and update the stencil buffer
What I would like to know is how can I enable face culling in OSG ?
(I
Hi Craig,
while I do not respond to your question directly, but concerning real time
CSG booleans I'd suggest to look at papers
http://www.hpi.uni-potsdam.de/fileadmin/hpi/FG_Doellner/publications/2008/TD08a/VolumetricTest.pdf
On 7/15/2011 4:15 AM, Craig Fletcher wrote:
What I would like to know is how can I enable face culling in OSG ?
(I understand from the quick start guide that attaching an attribute to a
stateset is only a desired state and doesn’t issue an OpenGL command, so it
may not do it, the code stub
Hi Sergey,
Thanks for that, i'll take a look at them
Cheers,
Craig
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41390#41390
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi, Craig
About state part - setAttribute() call by default set attribute off, you
should call setAttribute(cf, osg::StateAttribute::ON) + setMode(GL_CULL_FACE,
osg::StateAttribute::ON) or setAttributeAndModes(cf) which by default enables
attribute.
Also to be able to use stencil you should
6 matches
Mail list logo