Hi Serge, On 8/10/07, Serge Lages <[EMAIL PROTECTED]> wrote: > The weird thing is that after you've introduced the Renderer class I've > tested it and everything worked well. The problem seems to come from a > recent commit.
I've tracked down the problem to the use of the CullVisitor copy constructor in the new CullVisitor::clone() method that is used as part of the new prototype system. The copy contructor hasn't be implemented for CullStack or CullSettings classes so some of the settings were ending defaulting to 0. The relevant copy constructors have now been added/fixed up so the the line: viewer.getCamera()->setComputeNearFarMode(..) Now works just fine. I have just checked in this fix, and earlier today checked in a number of other changes to Renderer/View/Viewer/Composite which were unrelated to this bug fix, but you'll get these too on your next update. I'll discuss these other changes separately. One word of caution though, I haven't yet been able to update the wrappers to honour the changes to the core API I've made so the wrappers will be broken. I'm currently working on repair a machine with a broken disk so my usual build environment is fully up and running. Robert. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

