[osg-users] writeNodeFile with texture infomation

Han Hu huhan8807 at gmail.com
Sat Sep 17 22:43:34 PDT 2016


Hi,

I am currently doing some preprocessing with textured meshes and save the output node to another file.

The input node is osgb and has texture information embedded. However after SmoothVisitor and using the writeNodeFile to another osgb file, the texture file is missing.

The same problem also exist using osgconv --smooth -O "WriteImageHint=IncludeFile" input output. But it can correctly create texture image using  -O "WriteImageHint=WriteOut".

I would like to ask that how can I also embed texture file inside the osgb node file? 

Thank you!

Cheers,
Han

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








More information about the osg-users mailing list