Re: [osg-users] AutoTransform cannot be picked up correctly

2020-02-22 Thread OpenSceneGraph Users
Thanks for your reply. I changed it based on osgPick, and since I only use 
OSG on Windows, I added those headers.

At present, I have no time to find out the problem. I have avoided this 
problem, and I will study it when I have time. Thanks again.

在 2020年2月19日星期三 UTC+8下午10:39:47,Robert Osfield写道:
>
> 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/0bb33e95-8032-458a-96c7-27e8eb09ff85%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] AutoTransform cannot be picked up correctly

2020-02-19 Thread OpenSceneGraph Users
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+unsubscr...@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.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] AutoTransform cannot be picked up correctly

2020-02-16 Thread OpenSceneGraph Users
OSG version is 3.6.4

在 2020年2月14日星期五 UTC+8下午4:29:10,OpenSceneGraph Users写道:
>
> Hi, All
> AutoTransform cannot be picked up correctly when it is a child node of 
> LOD. Does anyone have the same problem as me? How did it work out? 
> Thanks
>
>
>  
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/a41ded24-76b9-42f7-8eb4-eb8f70b15103%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org