Hello,

I would like rotate a image. Because I want to rotate the separate images from 
my sky box. I think it is difficult to change the texture coordinates of my 
sphere. I my idea is to rotate the images at the beginning.

Example

::osg::Image* image = osgDB::readImageFile(c_posX.Filename);

// rotate image

_cubeMap->setImage(::osg::TextureCubeMap::POSITIVE_X, image);

I hope someone can help me.

Cheers

Martin
-- 
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to