Re: [osg-users] Saving the result of an IntersectVisitor

2010-08-26 Thread Todd J. Furlong
mean the 7th child of the 6th child of the 4th child of the root node. -- Terry Welsh mogumbo 'at' gmail.com www.reallyslick.com Message: 14 Date: Wed, 25 Aug 2010 08:44:05 -0400 From: Todd J. Furlongt...@inv3rsion.com To: osg-users@lists.openscenegraph.org Subject: [osg-users] Saving

[osg-users] Saving the result of an IntersectVisitor

2010-08-25 Thread Todd J. Furlong
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

Re: [osg-users] Saving the result of an IntersectVisitor

2010-08-25 Thread Todd J. Furlong
Another idea I had was to use a NodeVisitor to predictably - probably sequentially - name each node in a model after I load it. They I could record a NodePath as a vector of names. This idea is my current favorite, but I'm still hoping for an easier solution. -Todd On 08/25/2010 08:44 AM,

Re: [osg-users] Saving the result of an IntersectVisitor

2010-08-25 Thread Terry Welsh
'at' gmail.com www.reallyslick.com Message: 14 Date: Wed, 25 Aug 2010 08:44:05 -0400 From: Todd J. Furlong t...@inv3rsion.com To: osg-users@lists.openscenegraph.org Subject: [osg-users] Saving the result of an IntersectVisitor Message-ID: 4c751015.3010...@inv3rsion.com Content-Type: text/plain; charset