PDA

View Full Version : Multitexture



Mishuk
01-06-2003, 08:36 AM
Hi!....I'm new in OpenGL programming.
I got some problem with scrolling texture in multitexture function. i got some code to scroll one texture above another by manipulating the S and T coordinate.

My problem is that....while multitexturing in a quadrics how to make it scroll. I made a earth model with two sphere holding two texture and cloud one is blended and scrolled over the earth texture by rotating the cloud shpere. My question is it possible to bind two texture in one sphere using multitexture and scroll one texture?

Thank you
Mishuk

NitroGL
01-06-2003, 08:40 AM
Originally posted by Mishuk:
Hi!....I'm new in OpenGL programming.
I got some problem with scrolling texture in multitexture function. i got some code to scroll one texture above another by manipulating the S and T coordinate.

My problem is that....while multitexturing in a quadrics how to make it scroll. I made a earth model with two sphere holding two texture and cloud one is blended and scrolled over the earth texture by rotating the cloud shpere. My question is it possible to bind two texture in one sphere using multitexture and scroll one texture?

Thank you
Mishuk

Use the texture matrix mode (refer to the OpenGL manual for more info).