On 28/3/09 11:14 AM, Martin Beckett wrote:
* As you get mouse drag events, update the vertices/corners of the line loop to
reflect the rectangle that the user is defining.
That's the sticking point - the Hud camera is attached to the scene as a geode,
how do
I change the vertices in a node that's part of the scenegraph?
The only thing you have to watch out for is to do it outside the draw traversal. Apart
from that you can just modify the geometry vertex array and mark the geometry as dirty to
trigger display list re-building.
Cheers,
/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org