View Full Version : TEXTURES & GLUT PRIMITIVES
07-04-2005, 08:04 AM
Hi everybody !
Is it possible to apply a texture on a glutSolidCube ? How can I do it ?
thanks for all,
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.
07-04-2005, 11:55 PM
automagic texture ?? what's that ?
If it's possible to map a simple primitive, i'm interested (easier way --> better !!)
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.