GLUT texturing solid model

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??

If I remember right so is texture coordinates only generated for the teapot. This is how GLUT works.

Thank you buddy…

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!


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.