Skip to main content
gamedev.net
🔒 Locked

texture mapping

Started by Genius_Bobby 0 replies 600+ views
Original Post
Genius_Bobby
Genius_Bobby
Hi, i m working on a game pool game project.i was searching about texture mapping on the border of tables but every texture mapping coding is alot? Is there any easier way to do the texture mapping in opengl for pool table.i will wait for your replys............................Thanks for the help if you can bye
nts
nts
There is no special openGL way to texture map a pool table, its all the same. Basically it all comes down to loading in the image, sending that to OpenGL and getting back a handle, binding that handle (glBindTexture) whenever you want to use that texture and then specifying the texture coords to use (s and t, normalized ie 0-1) when sending down your vertecies (IM, VA, however you do it).

What exactly are you finding difficult with this, it would be a lot easier to help if you have a specific question.

Maybe you should check nehe for openGL tutorials.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.