[osg-users] Disable Backface Culling of a node
Dominic Stalder
dominic.stalder at bluewin.ch
Fri Nov 13 15:18:54 PST 2009
Hi Glenn
thanks but this didn't work. We applied the mode on a loaded osg file.
Is this a problem?
Glenn Waldron schrieb:
> node->getOrCreateStateSet()->setMode( GL_CULL_FACE,
> osg::StateAttribute::OFF );
>
>
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
> +1.703.652.4791
>
>
> On Fri, Nov 13, 2009 at 12:59 PM, Dominic Stalder
> <dominic.stalder at bluewin.ch <mailto:dominic.stalder at bluewin.ch>> wrote:
>
> Hi there
>
> is there a way to disable the backface culling of a node? If we
> enable some transparency in a box, we want to see the back face.
> Will there be a problem, if we use lighting, does the back face be
> visible with the material color?
>
> Thanks a lot and regards
> Dominic
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> <mailto:osg-users at lists.openscenegraph.org>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list