Re: [osg-users] writeNodeFile question

2015-03-03 Thread Robert Osfield
Hi Clement, Yesterday I merged a submission to OSG svn/trunk that added read/write support for inlined image data within .osgt and .osgx ascii files. To tell the .osgt, .osgx writer to inline the data you should use the OptionsString WriteImageHint=IncludeData. Robert

Re: [osg-users] writeNodeFile question

2015-03-02 Thread Robert Osfield
Hi Clement, You can pass hints to the the .osgb, .osgx and .osgt writers via Options strings. For details of what is support use the osgconv --formats option i.e. $ osgconv --format osgb Plugin osgPlugins-3.3.5/osgdb_osg.so { ReaderWriter : OSG Reader/Writer { features :

[osg-users] writeNodeFile question

2015-03-01 Thread Clement.Chu
Hi, I have a question about using writeNodeFile to write volume image into file. Currently, my volume image is reading from external file. I would like to write whole osg scene data into file. Then I can use osgviewer or other viewer to load the file. My question is the output file does