View Full Version : texture mapping to a hedron
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?
04-29-2001, 06: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."
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.