Questions tagged [uv-mapping]

52 questions
15
votes
1 answer

How to map square texture to triangle?

I want to find the texture coordinates for point P. I have the vertices of the triangle and their corresponding uv coordinates. The numbers in the little squares in the texture represent color values. What are the steps of computing the uv…
john john
  • 423
  • 1
  • 3
  • 9
10
votes
1 answer

Automatic generation of UV maps

Given an arbitrary triangle mesh, is it possible to automatically generate a UV mapping for it, and if so, how is it done?
Mark
  • 1,612
  • 16
  • 22
9
votes
2 answers

Does UV-mapping generate for some points of the 3D model several points in the 2D projection?

Assume my 3D model is a pyramid with a rectangular base and I numerate four corners of the base with 1, 2, 3, 4 and give 5 to the top point. If I project this pyramid into a 2D star-shaped object, would not all four outer points of the star be…
1
vote
0 answers

UV mapping on triangles

After watching some Youtube tutorials I thought I had understood the concept of UV mapping: I have a net of triangles, and I have an image representing my texture. Now I tell the GPU which point of the image shall be mapped to which point of my…
mic
  • 307
  • 2
  • 8
0
votes
1 answer

Extract 3D seam coordinates from

I have a .obj file with accompanying .mtl file and texture files. I want to extract the coordinates of the seams on my mesh. I then want to plot these seams in a 3D matrix in Python. Is there a fast way to do that? Further clarification: I have…
ganesha123
  • 173
  • 6