I need to display a separate texture for each face(I mean the whole side, not just one triangle) of the Dodecahedron. I saw we can pass materials array for a cube and its textures are applied correctly for each face, but it doesn’t work with Dodecahedron. I found that I might need some UV coordinates, but, how to compute them? https://threejs.org/docs/#api/en/geometries/DodecahedronGeometry
The reason for this is explained here:
So shall I use groups or split it and export from Blender?
Another option is to create 12 pentagons using CircleGeometry or CircleBufferGeometry (5 segments) and arrange and group them correctly in space. https://threejs.org/docs/index.html#api/en/objects/Group
1 Like
I recommend to use Blender.
Using a texture atlas with slight modifications in the geometry (uvs + additional buffer attribute for sides) and a material, you can create this: https://jsfiddle.net/prisoner849/3zanmcbt/
3 Likes