Jean-Sébastien Guay wrote: > Otherwise, I guess I could cache and reset the ComputeNearFarMode like > this: > > Does that look like something that could work? (it doesn't seem to at > first glance, but maybe I'm doing something wrong)
It looks exactly like I'd expect it to be. I think you can omit setting the oldMode default value even. Have you debugged it to keep an eye on what happens to the near/far values when it runs through? I wonder if the Cull is somehow not adding the skydome to the render graph? Have you been successful in just loading a new near/far value manually? If so, what if you cache the far value from here externally, then manually load it prior to rendering, and see if it renders your skydome. > Thanks, > J-S -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org