Hi Andy,

I haven't seen warnings like this for a loooong while... they usually
suggest that some internal computation of the near/far distances for
objects in the scene is in some way messed up.

Is it possible to recreate this warning with osgviewer when loading
one of your models?

Robert.

On Wed, May 21, 2008 at 5:04 PM, Andy Skinner
<[EMAIL PROTECTED]> wrote:
> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to