Skip to main content
gamedev.net
🔒 Locked

texture mapping with triangles

Started by clohessp 1 reply 600+ views
Original Post
clohessp
clohessp
i''m having some trouble putting a texture map on a sphere which i have created using the code from chapter 2 of the red book (http://fly.srk.fer.hr/~unreal/theredbook/chapter02.html), the sphere in question is the one at the end of chapter created using a isohedron and subdividing the triangles to a certain depth, but i have no idea how to get a texture map onto it. any suggestions? thanks
zedzeek
zedzeek
very difficult ( cause of the unwrapping)
easier methods are with stacks/slices sphere
try this ''paul bourke texture sphere'' in google
clohessp
clohessp
thank you very much, it hasn''t worked 100% but it''s a lot better than before, i''m getting distortion near the north and south poles of the sphere though, but thanks for a kick in the right direction

cheers

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.