Hello Robert,

Thanks for your reply!

I'll try to clarify since I don't think my picture shows in the mailing list.  
:o 

Essentially I have a scene like this:

1) Under root is sceneNode, it has these children: wandMatrixTransform and 
boardMatrixTransform
2) wandMatrixTransform has a child with geometry that represents a picking 
device. I want to use the position of this for my intersection test.
3) boardMatrixTransform has a child with geometry that represents a game board. 
I want to test for intersections with this.

So, it's not a case of mouse picking and window/eye coordinates like the 
example. I have a moving object in the scene that I want to use to find 
intersections with a sibling node.

To do this, I think my IntersectionVisitor should start on sceneNode. Is this 
correct?
I also think I need to use my wandMatrixTransform to find my start and end 
points in the coordinate system of sceneNode. Is this correct?

Thank you again for your time and your response! Please let me know if I need 
to clarify, I'm determined to get this working!  :D 

-Elliott

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33725#33725





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

Reply via email to