Dear All,
Mainly I have 2 questions, both are to achieve the comprehensive selection task in OSG.
#1 - How to draw a rectangle, polygonal, circle, lasso etc.. selection rubber?
#2 - How to configure OSG to implement that selection defined at the first step?
For selection part OSG Beginners book suggest to use osgUtil::PolytopeIntersector for regional selection,
but doesn't give any clue on how to draw the rubber or is it comes as an intrinsic feature of
sgUtil::PolytopeIntersector when you create it with WINDOW parameter set on.
I also studied the osgkeyboardmouse.cpp example, but I couldn't find any visible difference when I switch
from LineSegmentInteresect to PolytopeIntersector, while I was expecting to see the HUD window rubber
to be drawn and objects falling into that rectangle to be selected.
Your guidance will be appreciated!
Regards,