[osg-users] AutoTransform cannot be picked up correctly
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Wed Feb 19 06:39:47 PST 2020
Thanks tor the test program. I've got it compile on my Linux system with
just removing the Windows headers you added, why were these added?
I can confirm the problem, I can pick the cessna without the AutoTransform
by zooming in but not the one under the AutoTransform. I haven't yet had a
chance to look into why this happening. I'm really busy with other work
right now so can't look into this right away. If you want to look into it
yourself I'd recommend stepping through how the
osgUtil::IntersectionTraversal is handling the AutoTransform. It'll be a
bit non standard as the AutoTransform is view dependent, which the
IntersectionTraversal isn't view dependent so there is potential for the
two different traversals have differing solutions. In your usage case your
wanting it to behave like IntersectiinTraversal assumes the same matrix
that that was computed for the rendering, however, this isn't the general
case, intersections can potentially can happen for any direction, or any
one of multiple views.
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/4ec7ed63-3add-4cce-89f4-dfb7a2c3174c%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200219/8cbf876a/attachment.html>
More information about the osg-users
mailing list