Hi,

My problem is about textures :

When i read and write an image (for texturing an obejct), this one is 
transformed from RGB to BRG. But i don't want this transformation. How can i do 
to avoid it ?

Part of my code :

osg::ref_ptr<osg::Texture2D> texture( new osg::Texture2D );
(...)
osg::ref_ptr<osg::Image> image;
image = osgDB::readRefImageFile(imagePath); 
(...)
osgDB::Registry::instance()->writeNode(*outputScene.get(),sfile,osgDB::Registry::instance()->getOptions());


Thank you!

Cheers,
sinan[/img]

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





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

Reply via email to