Hi Robert,
A first class top tip! osg::ClusterCullingCallback does exactly what I
was trying to do.
Thanks very much.
Chris.
Date: Thu, 25 Oct 2007 19:20:15 +0100
From: "Robert Osfield" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] Backface culling for a group containing a
plane of linestrips.
To: "OpenSceneGraph Users" <[email protected]>
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Chris,
Have a look a the osg::ClusterCullingCallback.
Robert.
On 10/25/07, Chris Denham <[EMAIL PROTECTED]> wrote:
> I'm looking for the best way to make a collection of linestrips (which
> lie on plane) disappear when the plane is facing away from the screen.
> i.e. exactly like the way back face culling works for polygonal faces.
> My first attempt was to create a special kind of group that has a
> normal, then when the CullVistor visits the node, determine whether to
> accept the node based on the modelviewmatrix transformation of the
> normal vector.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org