Back face culling ONLY works for triangles/polygons it does not work for
points or lines/wireframe

Its not the normal you supply its more than that and is driver specific,
as you can be per-vert normal, over all triangle, overall geom can be
used


Gordon

__________________________________________________________
Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com
__________________________________________________________
(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin
Beckett
Sent: Wednesday, February 18, 2009 2:24 PM
To: [email protected]
Subject: [osg-users] Confused about back face culling

I want to draw a model as wireframe/points without the rear part being
shown.
I thought Back Face Culling only draws triangles with the normal facing
the camera, but it doesn't hide the rear surface.
The suggestions in the mailing list are to do the two pass technique of
drawing the surface model invisibly and then drawing the
wireframe/points over the top.

Is there any specific support for this in OSG?
And what use is backface culling then?

Martin

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

Reply via email to