Robert: Thanks for your reply. I downloaded some IVE files from a website that I am trying to use for a project teaching teens how to create video games using OSG. I want to dynamically add objects along the path in the scene. To do this I will have to specify the XYZ of the point to add the path. My problem is that I don't know how to find the point short of using the debugger to get the camera location. That is a bit tricky to teach the kids at this point of their knowledge. I would like to have a way for them to move around in the scene and decide where they want to add objects then edit a startup file and add the coordinates for each location. Bruce
------------------------------------ Hi Bruce, I'm not clear on what you really want, but one technique for identifying objects in the scene is to simply assign a name to them. To decide what parts of the scene respond to picking one would use a Node NodeMask in combination with a IntersectionVisitor TraversalMask. To work out the coords you can use the bounding sphere/box of the node/drawable or the ComputeBoundsVisitor, or the intersection results... I can't say at all which one of these may or may not be appropriately as your question is far too open ended. Robert. On Tue, Jul 6, 2010 at 2:11 AM, Clay, Bruce <bc...@ball.com> wrote: > I have a few IVE files that I downloaded from the network. I want to place > a variety of objects in the scene that I downloaded. Is there any way to > get the coordinates of various locations? > > > > I don't know if the objects I see in the scene are models that would respond > to a pick list or not. In some cases though I want to place objects on the > terrain itself. > > > > Bruce _________________________________________ Sent via BlackBerry by AT&T This message and any enclosures are intended only for the addressee. Please notify the sender by email if you are not the intended recipient. If you are not the intended recipient, you may not use, copy, disclose, or distribute this message or its contents or enclosures to any other person and any such actions may be unlawful. Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org