Hi,

I have a problem with loading files without  the assigned textures.
osg is working perfect in loading the e.g. an .obj file with its assigned 
textures by:
osg::ref_ptr<osg::Node> rootNode = osgDB::readNodeFile(filename);

After that I'm able to parse the node and get all the vertex, normal, etc. 
information I need. Also the image data of textures is available, but that is 
the thing I don't want. I want to load image files with my own code.

Is there a way to ignore loading image files in the readNodeFile part?
When parsing the node i only need the info that there is a texture and its path 
and filename to load it in my code.

Thank you!

Cheers,
Maik

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to