Hi all,
I use an IntersectVisitor to select nodes in a viewer application. It
works fine, and the first Geode in the hit list is the node I want to
select. Now I need to record that hit as part of saving the state of
our application in a metadata file that we save alongside a model file
or files. This is where I've run into a problem.
1. Many of the nodes in our model files are unnamed (lost in
translation, most likely), so I can't store the name of a Geode.
2. NodePaths are vectors of pointers, so they can't help me here.
3. I *could* save intersection rays & play them back after loading.
That would work, but it would be both slower and not quite in the spirit
of saving the application state.
So, I am throwing this problem out to the folks in the group. Am I
unaware of an already-existing solution to this? Or does somebody out
there have a clever idea to help me out?
Thanks in advance,
Todd
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org