[osg-users] Backface culling for a group containing a plane of linestrips
c.m.denham at gmail.com
Fri Oct 26 02:10:59 PDT 2007
A first class top tip! osg::ClusterCullingCallback does exactly what I
was trying to do.
Thanks very much.
Date: Thu, 25 Oct 2007 19:20:15 +0100
From: "Robert Osfield" <robert.osfield at gmail.com>
Subject: Re: [osg-users] Backface culling for a group containing a
plane of linestrips.
To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
<7ffb8e9b0710251120k4184e8a5q453c6c0d03dd6153 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Have a look a the osg::ClusterCullingCallback.
On 10/25/07, Chris Denham <c.m.denham at gmail.com> 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.
More information about the osg-users