Jean-Sébastien Guay wrote:
> Hi Paul,
>
>>>> _min = ( -1.4047172 , -0.94869113 , -1.9402435  )
>>>> _max = (  2.7989883 ,  0.95002991 ,  0.33612174 )
>
> ...
>
>>>> _min = ( -1.4047172 , -0.94869113 , -11.940244 )
>>>> _max = (  2.7989883 ,  0.95002991 , -5.3083067 )
>>
>> Interestingly enough min xseems to have been decremented by twice -5...
>> won't help you, but just an observation :)
>
> Yeah, that would corroborate my results, where the center of the box
> is translated by ~1.5 times -5...
>
> But I can see the results, what I want to know is what the cause is...
> I'll have to go a bit deeper if no one has any ideas.
Are you sure that the compute bounds visitor doesn't already compute a
world space bound? You are applying the local to world transform again
to that bbox, which might explain the double Z -5 transform

Paul
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to