2

I'm new here and want to represent a Polyhedron with every face filled with my own Image of choice.

The Polyhedron is the DuerersSolid: PolyhedronData["DuerersSolid", "Image"]

David G. Stork
  • 41,180
  • 3
  • 34
  • 96

1 Answers1

2

Slightly modified version of the example from the docs: Texture >> Neat Examples >> Textures on Polyhedra

Manipulate[Graphics3D[{Specularity[White, 20], 
   Texture[ImageCrop[ExampleData[{"ColorTexture", "WhiteMarble"}], {128, 128}]], 
   EdgeForm[Opacity[1/10]], (Append[#1, {VertexTextureCoordinates -> 
     (CirclePoints[{1, 0}, Length[First @ #]] + 1)/2}]&) /@
       Flatten[Normal[PolyhedronData[p, "Faces"]]]}, 
  Lighting -> "Neutral"], {{p, "RhombicHexecontahedron", "polyhedron"}, PolyhedronData[]}]

enter image description here

texture = Texture[ExampleData[{"TestImage", "Lena"}]];
Graphics3D[{EdgeForm[{Thick, White}], texture, 
 (Append[#1, {VertexTextureCoordinates -> 
     (CirclePoints[{1, 0}, Length[First @ #]] + 1)/2}]&) /@ 
       Flatten[Normal[PolyhedronData["DuerersSolid", "Faces"]]]}]

enter image description here

kglr
  • 394,356
  • 18
  • 477
  • 896