Hello all

I have geometry with vertex arrays that contain triangles that are duplicated. 
They appear once as normal polygons, and once using the same vertex points, but 
with the normal pointing in the opposite direction. So in the same array I have 
polygons that cover the exact same surface but they are oriented in the 
opposite direction.

Now I want to write a visitor that traverses these triangles and offsets each 
of them in their appropriate normal direction, in order to make them no longer 
sitting on top of each other.
No I have a hard time to figure out if there is already some classes in osg 
that help me do such thing, or how I should accomplish that. I'm not very used 
to PrimitiveSet and this stuff, so can somebody help me?

Regards
Daniel

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to