Hi,

I've written something that replaces certain proxy nodes with other 
nodes based on their file name. If I save the scene out as an .ive file 
then load it up again the proxy nodes aren't there. I've tried two 
things and there's a problem with each.

1) I've changed the optimizer settings to leave proxy nodes alone. What 
it does is create an .ive file for the referenced file (which is fine). 
However, the proxy node's filename list contains the referenced .ive 
file as an absolute file path! I tried moving the files and everything 
loads fine (however the proxy nodes filename still references the .ive 
file at the old location). Should the proxy node's filename list contain 
the referenced .ive file as a relative path to the referencing .ive file?

2) This is what I tried first actually. I created another visitor that 
searches nodes for names/ descriptions of the old proxy node but nothing 
came up. Is the name/ description of the removed proxy node stored in 
the group node that replaced it somewhere?

Thanks,
Brett
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to