PDA

View Full Version : Texturing a primitive ...



leonel
05-01-2005, 05:49 PM
How con I texture a sphere or cube created using the opengl's functions like glutSolidSphere ...

Thanks.

powerpad
05-01-2005, 09:21 PM
If I do remember correctly then these calls generate texture coordinates for their primitive.

So just bind the texture object or call glTexImageX(..).

leonel
05-05-2005, 07:35 PM
Ok, let me try, anything you can tell me I'll thanks you a lot.

Thanks