Hi Felix, Having mixed front face/back face within a single subgraph is not ideal. I would generally recommend that one should build/optimize a scene graph so that the as much work as possible is done as pre-processing/optimization/scene graph construction stage that minimizes the number of state changes - in your case avoid if possible all the osg::FrontFace entries in a subgraph by flipping the actual triangles so that they are all consistent in orientation i.e. all front face or all back face.
This approach would mean that the scene graph will perform better and make it easier to decorate with an osg::FrontFace entry that reverses the orientation for the purpose of mirrored scenes. Your own approach will not perform as well as you'd be requiring more work on the CPU during cull and draw dispatch, and more work on the GPU with handling the changes in state. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

