Jump to content

A texture for a tetrahedron


trivis
 Share

You are about to reply to a thread that has been inactive for 1228 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

3 hours ago, trivis said:

Does anyone knows how to create a texture for a tetrahedron-object.

I suppose you mean a prim, not a mesh but I'll cover both just in case:

If the drawings are on a single texture map, UV map it with different islands for each side like this if you want different pictures on them:

image.png.f55b8b330bc5cb385b6d25e86a4359dd.png

If the drawings are separate textures, fill up the whole map and assign each side to a different material/face:

image.png.b0b11e034c8b964e26685b6ed95f1c28.png

---

If it's a prim, you probably want the mapping to be like the second illustration and that can be a little complicated. The UV mapping of the tetrahedron is a bit messy because of the way it's generated. It's not impossible though, try something like this:

For the bottom:

  • Horizontal scale : 1.15
  • Vertical scale: 1.33
  • Rotation degrees: 270
  • Horizontal offset: 0
  • Vertical offset: 0.833

For the sides:

  • Planar mapping
  • Rotation degrees:
    • Side 1: 352.1
    • Side 2: 0
    • Side 3: 7.9
  • Scale and offset depend on object size since it's planar mapping
Edited by ChinRey
  • Thanks 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1228 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...