Texturing a primitive ...

How con I texture a sphere or cube created using the opengl’s functions like glutSolidSphere …

Thanks.

If I do remember correctly then these calls generate texture coordinates for their primitive.

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

Ok, let me try, anything you can tell me I’ll thanks you a lot.

Thanks