There is an osg::notify at osg::WARN level in the CullVisitor in 
updateCalculatedNearFar(matrix, drawable, isBillboard).

There are several, actually, but I'm asking about this one:
    if (d_near<0.0) osg::notify(osg::WARN)<<"        2) sett near with 
d_near="<<d_near<< std::endl;
    else _computed_znear = d_near;

Is there a specific case represented here, when d_near is negative?  Does that 
mean something specific?

An in-house customer of our code is trying to put an object at (just in, I 
hope) the near clipping plane, and I think it is this object giving the d_near 
< 0.0.  Is the computed_znear not supposed to be < 0, I'd guess?  I'm trying to 
decide what we're seeing here.

Thanks,
andy

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

Reply via email to