PDA

View Full Version : texture mapping to a hedron



04-24-2001, 03:38 PM
I want to apply a piece of a single texture to each side of a dodecahedron. I went through the FAQs on this site and it says something about fractional texture coordinates. How do I determine what they are if I am using glutWireDodecahedron() to create the object? Can I even map to that wireframe?

Deiussum
04-29-2001, 05:25 AM
I don't think any of the glut primitives let's you explicitly set texture coordinates. You could use automatic coordinate generation by using glTexGen, or you could just create your own routine for drawing a dodecahedron. You CAN map to wireframes, but the texture will only show up on the "wires."