View Full Version : GLUT texturing solid model...

07-13-2002, 09:51 PM
Ok humm... I got a strange problem, I load a texture, if I apply this texture on a teapot no problem... I see my texture perfectly, but if I apply it on a ex: glutSolidCube or glutSolidCone the result is strange I only see one color. My texture is kind of orange wood and when I apply it on a cube I only see the orange... but if I create a cube vertex by vertex I can see it perfectly why?? The same problem occur also with any other glut base model except the teapot... why??

07-13-2002, 10:14 PM
If I remember right so is texture coordinates only generated for the teapot. This is how GLUT works.

07-14-2002, 02:29 AM
Thank you buddy....

Rob Fletcher
07-16-2002, 07:30 AM
and ... of course, you could always take your GLUT source code and add in texture coords for the other glut solids if you wished!

No big deal really! But confusing, yes!