[osg-users] Drawing around screen selection
Does anyone have any suggestions for showing a live mouse selected region on screen? Currenlty for selecting areas near the ground I create a transparent plane just below ground level, do a linesegment intersect and then draw a polygon on the plane at the intersection points. But I now need to be able to select areas of points to delete from any angle with a polytope. One solution would be to generate a large invisible plane parralel to the screen at some distance and draw a polygon onto this (while locking rotations). Is there a better approach? Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22955#22955 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Drawing around screen selection
I have done this before with selection buffer Nick http://www.linkedin.com/in/tnick On Wed, Jan 20, 2010 at 10:47 PM, Martin Beckett m...@mgbeckett.com wrote: Does anyone have any suggestions for showing a live mouse selected region on screen? Currenlty for selecting areas near the ground I create a transparent plane just below ground level, do a linesegment intersect and then draw a polygon on the plane at the intersection points. But I now need to be able to select areas of points to delete from any angle with a polytope. One solution would be to generate a large invisible plane parralel to the screen at some distance and draw a polygon onto this (while locking rotations). Is there a better approach? Martin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22955#22955 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Drawing around screen selection
Trajce Nikolov wrote: I have done this before with selection bufferNick Erm - can you elaborate a little? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22969#22969 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org