Texturing polyhedron geometry

using convex geometry to create polygonal geometry, I ran into a texturing problem


the question is, is it possible to configure UV map, or use Buffer Geometry (there is a problem, I use an array of points to create geometry and manually putting vertex is not suitable), or are there alternative solutions to the issue

Welcome to the forum!
Something related: Custom shape in image not working - #10 by prisoner849

I’m not sure what texturing issue you are referring to:

  • if you ask about the stripes that extend from the squared textured zone, they are because the texture is not repeated (set wrapS and wrapT to THREE.RepeatWrapping)
  • if you mean that the UV mapping on convex polyhedron looks strange, you may need to update manually UV coordinates, as in this demo: https://codepen.io/boytchev/full/rNZxLLK
    image
2 Likes

THANKS MAN! ты лучший!

1 Like