glscene

 

TGLDodecahedron

Page history last edited by skinhat 3 yrs ago

Displays a polyhedron with 12 faces.

By default a texture will not be displayed on a dodecahedron even if the material library and material is set. This is because a dodecahedron has no default texture coordinates. To set a texture you can either

1. using the MappingMode of the texture to generate textures

(but they may not allow a mapping that'll please your eyes)

2. finding and adding texture mapping coords for a dodecahedron

(it is a "handcrafted" object, for which no std texture

coordinates exist that I know of)

Unit GLPolyhedron

Comments (0)

You don't have permission to comment on this page.