Re: [osg-users] How do I flip the texture coordinates of an Image object?

2021-01-11 Thread Alberto Luaces
Hi, I think you can transform the coordinates with osg::TexMat. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] How do I flip the texture coordinates of an Image object?

2021-01-05 Thread mirr...@gmail.com
Win10 GTX3.x osg3.6.4 // test for read image osg::ref_ptr texture2d = new osg::Texture2D; osg::ref_ptr img = new osg::Image; img=osgDB::readImageFile("C:\\Users\\Public\\Pictures\\Sample Pictures\\Tulips.jpg"); osg::ref_ptr img2 = new osg::Image;