Hi Everyone!
I'm learning how draggers work (using svn trunk btw).
The standard structure (in the osgmanipulator demo) is:
group -> { dragger, transform [aka: selection] }
Where transform [aka: selection] -> geode
Where -> indicates a child relationship.
So the dragger geometry (it's own child elements) are not affected by the
transform.
Out of curiosity, I made the graph like so:
group -> transform -> { dragger, geode }
But then the LineSegmentIntersector never seems to see the dragger geometry
(it's never present in the set of intersection results returned by
computeIntersections).
What's the rational behind the dragger not being a child of the transform? I'm
guessing that it's because some draggers don't want their geometry modified by
the transform being applied? Am I on the right track?
So in summary:
1) If a dragger (and it's child geodes) are a child of the transform, is it
normal for the LineSegmentIntersector to never see them?
2) Is my guess at the rationale for draggers not being children of the
transform/selection correct?
Thank you (for my continued OSG education)!
btw: anyone doing OSG consulting/training in AUS/NZ?
Cheers,
Neil
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21391#21391
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org