[osg-users] Backface culling for a group containing a plane of linestrips.

Michele Bosi michele.bosi at gmail.com
Fri Oct 26 04:32:53 PDT 2007


Hi Chris,
I did something similar once, I am not totally sure but I think that the
vector should be multiplied before the matrix and that you need to multiply
only the direction component without the position. Once you have the
direction transformed in camera space to see if it faces the camera you
should only need to test if the Z component is > 0 (assuming a right handed
reference system).

Good luck,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071026/123c961b/attachment-0003.htm>


More information about the osg-users mailing list