Hi all,
I'm trying to implement a rubber band selection tool (and also a polygonal
selection tool), and I'm wondering which is best approach since there are a
number of options in OSG and it's a bit confusing...
Note that I don't really need the PolytopeIntersector, because I need to
create a bit mask for the pixels inside the polygon.
For the drawing of the rectangle (or polygon) I was thinking to do it in
screen coordinates, using a HUD camera, but then I need to handle the mouse
events and the state machine for the various mouse presses... where should
be best handled this?
Should I use a node callback, and event handler or create my custom node
and handle the events in the traverse()?
Thanks in advance
Marco
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to