Hi,

We have a scene with one osg-loaded object.  When we load our scene, our camera 
projection (ortho) is zoomed such that the object is not visible in the graphic 
window.  Our code then dynamically adds 2 new lines to the scene at a location 
corresponding to the center of the screen, but these lines are not visible.  
Only when we zoom out (by changing the camera ortho projection) to a level 
where the pre-loaded object appears, then the 2 lines appear on the screen.

We also noticed a second scenario similar to this, in which we will first pan 
our camera far to the left, then zoom out, but the pre-loaded osg object does 
not show.  It will only appear when we pan back near to the object location, 
and zoom in again.

We are using AutoTransforms for our drawn objects to have them be a constant 
size and rotation as we pan and zoom the camera.

We are not sure if this is a culling issue or something else.  What could be 
causing this behavior?

Thank you!

Cheers,
Michael

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47733#47733





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to