[osg-users] Draw a triangle with front and back faces

Robert Osfield robert.osfield at gmail.com
Wed Mar 18 09:40:56 PDT 2009

Hi Ruqin,

2009/3/18 Ruqin Zhang <ruzhang at gmail.com>

> Thanks Robert. Alright, here is the deal. I'm trying to draw a 3D
> triangular mesh with osg. For some mesh, the calculated normal points
> to the inside. So, I want to draw both the front and back faces, which have
> opposite normals. Then you can render the mesh visible.
> Is there an example of this? Thanks!

Are you talking about two face lighting of back face culling here??
Originally your email sounded like you were talking about lighting at back
face culling has nothing to do with normals, but this new emails sounds like
you might be refering to back face culling...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090318/ffe5aff8/attachment-0003.htm>

More information about the osg-users mailing list