Hi Sebastian,

yes, if I uncomment the second to last row of the code: 
Code:
diffuseTex->setImage(diffuseImage);

 the texture correctly updates, but I thought that using dirty() on image was 
the correct way to do this (I'm asking this because my application has many 
textures referred to the same image and I would like to change the image one 
time and update all textures automatically without using a NodeVisitor).

Cheers,
Fabrizio

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





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

Reply via email to