Re: [osg-users] Scrolling a texture in runtime

2014-04-11 Thread Robert Osfield
H Ahmed, There are various ways to scroll textures: 1) manipulate the texture coordinates on geometry, 2) modify the texture coordinates via an OpenGL texture matrix - using osg::TexMat (wrapper to glTexMat) state attribute attached to the StateSet above the subgraph you want to scroll, 3) use

[osg-users] Scrolling a texture in runtime

2014-04-09 Thread Ahmed Essam
Hi, I am currently developing a Head Up Display (HUD) for my application. My target right now is to load a part of image as a texture that will be the altitude indicator. I know how it works but I want to implement it using OSG :D. An image will contain the whole altitude scale ( i.e. from 0 to