TEXTURES & GLUT PRIMITIVES

Hi everybody !
Is it possible to apply a texture on a glutSolidCube ? How can I do it ?
thanks for all,
Cya :wink:
…::Vinc::…

I’m not 100% sure but I think cube cannot be mapped. It might be the same for spheres too. If you bound a texture before calling one of them and you don’t have any texture then you have the answer.

You can use opengl’s automagic texture coordinate generation, but somehow I don’t think that’s what you had in mind.

Hlz

automagic texture ?? what’s that ?
If it’s possible to map a simple primitive, i’m interested (easier way --> better !!)