Hi,

in the osgtexture1d example the node construction is done like this:

root->addChild(loadedModel); // having attached a stateset using a 1d texture
root->addChild(texGenNode);

Why is this working?

I would expect an order like:

root->addChild(texGenNode);
texGenNode->addChild(loadedModel);


Thank you!

Cheers,
Hartwig

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26963#26963





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

Reply via email to