Hi Ron,

If the objects are being culled by the sides of the frustum then it
suggests that the bounding volumes of the objects are erroneous for
some reason.  Culling is all done by the osgUtil::CullVisitor, you
could put break points in OpenSceneGraph/src/osgUtil/CullVisitor.cpp
to see what it's doing.  Looking at the bounding volumes will be the
best place to look though, if there is dynamically scaled objects then
this may well be a good area to look at.

Robert.

On 17 July 2012 16:29, Ron Mayer <[email protected]> wrote:
> Hi Robert and thanks for the reply
>
> We actually want to display our scene as a map (or CAD-like view), with the 
> ability to zoom in\out, and moving the camera laterally (no rotation or 
> orbiting for this mode).
> For zooming we do not move our camera into the scene at all. Instead, we 
> achieve a ‘zooming’-like  effect by expanding or contracting the [left,right, 
> top, bottom] boundaries of the frustum (am I still using a hammer to screw in 
> a screw?)
>
> I suspect it may not be a near/far clipping problem since the problem 
> persists even if I turn off near/far clipping (by setting 
> DO_NOT_COMPUTE_NEAR_FAR).
>
> The problem went away only after I turned off VIEW_FRUSTUM_SIDES_CULLING, 
> which implies the ‘x’ object is getting culled by the side ‘walls’ of the 
> orthographic frustum.
>
> I would like to get some more insight into the cull traversal, to understand 
> why it gets culled out. Is there a place I can look at to learn how the 
> culling works?
> I will be starting to debug Renderer::cull_draw(), not sure if that's the 
> best place to look.
>
> Thanks again
> Ron
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=48901#48901
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to