Hi Luigi,

This little addition looks generally useful so please send it along to
osg-submissions.

Cheers.
Robert.

On 12/6/06, Luigi Calori <[EMAIL PROTECTED]> wrote:
Just to stay on osgdem theme:
Currently osgdem does not take -O options to let specify options to
selectd osgdb plugins (for examples .ive or .jpeg plugins)
I ' d like to be able to specify jpeg compression factor that is
selectable with the option  JPEG_QUALITY

It should be enougth to add

    if (arguments.read("-O",str))
    {
        osgDB::ReaderWriter::Options* options = new
osgDB::ReaderWriter::Options;
        options->setOptionString(str);
        osgDB::Registry::instance()->setOptions(options);
    }

at the end of the command line parsing.

I can send a submission request if thought useful (it is indeed for me)

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to