Hi,
I did the same thing you suggest but it doesn't work for me.
I used node1->setName("Specific Name"); for all the 3 nodes and I am looking
for the specific name to be returned.
However, all I get is empty strings.
My node1 = readFromFile("dumptruckosg");
node2 = readFromFile("lz.osg");
node3 = readFromFile("MyOwnAC3dModel.ac");
The code returns only "dumptruck.osg" as the NodeName when I intersect with
dumptruck.osg but it returns an empty string when I intersect with lz.osg and
myownac3dmodel.ac. I am positive that the intersections are occuring because
the intersection coordinates are perfectly coming through.
However, I am unable to get the Specific Name I assigned for the nodes.
Thank you!
Cheers,
John
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29312#29312
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org