How do I map a texture onto a Octahedron?
Posted
by Justin808
on Stack Overflow
See other posts from Stack Overflow
or by Justin808
Published on 2010-06-13T07:06:54Z
Indexed on
2010/06/13
7:12 UTC
Read the original article
Hit count: 268
I'm about to go mad. I cant for the life of me figure out texture coords. I have a Octahedron defined by the 8 triangles below. I want to map a texture of the earth on it. See the texture here: http://img37.imageshack.us/f/earthmap1k.jpg/
I would like the north pole at the top point and the south pole at the oposite point with the equator wrapped around the center points. Can someone show me the UVs for each point to map the texture please?
0, 0, 1
1, -1, 0
1, 1, 0
-1, 1, 0
0, 0, 1
1, 1, 0
0, 0, 1
-1, 1, 0
-1, -1, 0
1, -1, 0
0, 0, 1
-1, -1, 0
1, -1, 0
0, 0, -1
1, 1, 0
0, 0, -1
-1, 1, 0
1, 1, 0
0, 0, -1
-1, -1, 0
-1, 1, 0
0, 0, -1
1, -1, 0
-1, -1, 0
© Stack Overflow or respective owner