View Full Version : Image-scrolling, with Texture ?!

09-09-2000, 03:30 AM
My goal is to do an image-scrolling ultra-outstanding (using hardware),
which i can mix it with others images (FX like additive, modulate,
blending, dissolve...).

How to do ?!
=> Textures ??? but problem to do an image-scrolling.
=> ?


09-11-2000, 03:44 AM
Pretty simple with textures.
1. If the image wraps around you can draw a single quad with changing glTexCoords and GL_REPEAT mode on texturing. This also allows zooming in an out.
2. Always draw the same quad and change the translation in the texture matrix.
3. Draw multiple quads and move the glOrtho parameters.

Multiple images stitched together is possible with independent quads and method 3.