PDA

View Full Version : Texture mapping a 3d object (especially cylinder)



Srcee
06-02-2011, 06:18 AM
I can't find a code which texture maps a cylinder.

I don't need a cylinder drew with the command glucylinder.

Actually, any tutorial about texture mapping a 3d object is good.
For example, I want to map an image on a cube.
The right thing would be to stretch the image to wrap the whole cube.
The wrong thing would be to copy the image on every side of the cube.

Tnx :)