Advertisement

Vetex Texturing

Started by December 16, 2002 08:05 PM
1 comment, last by CodeMaster000 21 years, 11 months ago
is it possible to texture vertices like you can color them with glColor3f(). I want to be able to blend my textures on my sweet looking heigt map terrain I just made. Any ideas would be nice. Thanks in advance. PS I sure live at these forums. It is so nice to have a place to come and ask my thousand questions.
In place of glColor you (assuming lighting is off set the color to white and) call glBindTexture(texture, GL_TEXTURE_2D); out side of glBegin() and glEnd(), and in place of glColor() you use glTexCoord2d(x, y); for where on the texture to use for that point.

NeHe has some tutorials on texturing (nehe.gamedev.net), and there is also 2 OpenGL forums here. (OpenGL and NeHe Productions).
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
Advertisement
eerr Thanks I know how to texture something but I want to blend between textures. I was hoping there was an easy way to do that like color. But you did clue me into the fact that there is an OpenGL forum. So maybe I can actually jointhe big boys now. Ooo fun! Thanks for your help.

This topic is closed to new replies.

Advertisement