On 28/12/09 3:20 PM, Dominic Stalder wrote:
> I would like to write my selfmade lightning to a texture file, so I can
> smooth it with a texture shader.
> 
> Can someone tell my how to do this the simplest way?

osgDB::writeImageFile(const osg::Image& image, const std::string& filename);

Only a few plugins support writing image files, .png is one of them and might 
be a good
choice, since it's also lossless compression.

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to