Excellent! Thanks. I looked right past this in the Drawable header file... -Paul
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Farshid Lashkari > Sent: Wednesday, February 28, 2007 2:54 PM > To: osg users > Subject: Re: [osg-users] Single point geode culling > > Hi Paul, > > Try setting the initial bounding box of the drawable using > the "setInitialBound()" method. The initial bounding box will > be added to the computed bounding box. So just set it to a > large enough value. > Alternatively, you could use ComputeBoundingBoxCallback to > specify the correct bounds. > > -Farshid > > On 2/28/07, Paul Martz <[EMAIL PROTECTED]> wrote: > > > > > > Hi folks -- I have a Geode with a single Drawable containing a > > one-vertex point primitive. It's bounding box has zero > area, so it is > > culled and doesn't render. > > > > I can make the problem go away with: > geode->setCullingActive( false ); > > > > This is undesirable because it means the primitive is never culled, > > not even when outside the view volume. > > > > Are there other ways to deal with this issue? For example, it seems > > like a better solution would be to add a new Drawable > method to allow > > setting a minimum bounding volume dimension. > > > > Paul Martz > > Skew Matrix Software LLC > > http://www.skew-matrix.com > > 303 859 9466 > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
