Hi J-S,

It sounds like a problem with how the Z-buffer is cleared.  Are you clearing 
the Z-buffer by setting the depth test to always, setting the depth range to 
1.0, and drawing polygons?  If so, some OpenGl implementations will clip the 
polygons that are outside the frustum.  Some implementations will not clip the 
polygons.  Just make sure the polygons are always inside the frustum.

----
Tom Jolley
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Jean-Sébastien Guay
> Sent: Tuesday, February 08, 2011 11:38 AM
> To: OpenSceneGraph Users
> Subject: [osg-users] osgPPU HDR culled from certain angles?
> 
> Hello all, hello Art :-)
> 

> 
> I have one weird problem though. When looking around in my 
> scene, at some camera angles the image stops updating and 
> seems to just alternate between the two last rendered frames 
> continuously. I still have control though, and if I rotate 
> the camera again at one point it starts updating like normal again.
> 
> When the camera is positioned at different places, it takes 
> different camera orientations for this to happen. But looking 
> up towards the sky
> (+Z) always makes it happen. So it kind of looks like 
> something is being culled in the scene graph which is causing 
> this. I can't figure out what though, since I've looked 
> through osgPPU's code and it looks to me that all the nodes 
> (Units, Processor, etc.) have culling disabled (using
> setCullingActive(false) ).
> 
> I can't reproduce this in the osgPPU HDR example itself, of 
> course. :-( So I'm not looking for a precise fix, but more 
> some hints as to what to look for. I dumped the scene and the 
> Processor to files, and can't see anything wrong - I've 
> attached the ppu file for reference, but it's really just the 
> one from the HDR example, minus the text PPUs.
> 
> Thanks in advance,
> 
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    [email protected]
>                                 http://www.cm-labs.com/
>                          http://whitestar02.webhop.org/
> 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to