That would probably do it. Thanks, Robert. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, May 22, 2008 11:59 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgViewer::CompositeViewer PreDrawCallback
Hi John, On Thu, May 22, 2008 at 4:28 PM, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > I took the time to look this up, so that I wasn't pulling at straws. > We have some objects which are drawn as either transparent or opaque > depending on which view they are in. > > When we received the PreDrawCallback, we wanted to set the rendering > hint to transparent -- I think the problem is that the objects are > already sorted into bins at that particular time. Would a cull callback not do the trick. You can get the current view from the CullVisitor. Robert. _______________________________________________ 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

