thanks Ulrich, it worked as expected :) Fred
2010/3/17 Frederic Marmond <[email protected]>: > Thanks Ulrich for the ReadFileCallback, I'll investigate that way :) > > my need is really to NOT load the textures files for some objects, > it's not good for me to only unlink just loaded images. I hope your > suggestion will allow that ! > > cheers > Fred > > 2010/3/17 Ulrich Hertlein <[email protected]>: >> Hello Frederic, >> >> On 17/03/10 0:44 , Frederic Marmond wrote: >>> I would like to know if it's possible (and how) to load only geometry >>> data from a 3d model file, without any texture ? >> >> Two ideas: >> - run a visitor over the SG after loading and remove any Texture state >> or >> - use a ReadFileCallback that returns 'null' for all images, but I don't >> know for sure if >> this also removes the Texture objects or just doesn't associate an Image >> with them >> >> Cheers, >> /ulrich >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

