PDA

View Full Version : How to place images on cylinder surface in openGL



Ravikishore
11-26-2009, 04:49 AM
Hi Sir,

I am new to openGL, i need to place images on the surface of the cylinder using openGL. That to on rotating cylinder. any idea regarding this please guide me. i created cylinder which is rotating , but not getting how to place images on it ..

ZbuffeR
11-26-2009, 07:10 AM
search for image texturing gl tutorial.

MaxH
11-27-2009, 02:48 PM
I need to place images on the surface of the cylinder using openGL.
NeHe Tutorial #18 shows an easy way to do texture mapped objects including cylinders using GLU quadrics. See the link below.

http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=18

----------------------------------------------------------------