This should do a 180 rotation:
image->flipVertical();
image->flipHorizontal();
Laurens.
On Tue, Jan 19, 2021 at 1:21 PM mirr...@gmail.com
wrote:
> win10 gtx1080 osg3.6.4
>
> osg::ref_ptr image =
> osgDB::readImageFile( "picture.bmp" );
> osg::ref_ptr texture = new osg::Texture2D;
>
win10 gtx1080 osg3.6.4
osg::ref_ptr image =
osgDB::readImageFile( "picture.bmp" );
osg::ref_ptr texture = new osg::Texture2D;
texture->setImage( image.get() );
--
You received this message because you are subscribed to the Google Groups
"OpenSceneGraph Users" group.
To unsubscribe from