Concept: Mapping irregular shapes (cartoons, sprites) to triangles in OpenGL ES
Posted
by Moshe
on Stack Overflow
See other posts from Stack Overflow
or by Moshe
Published on 2010-05-16T01:55:33Z
Indexed on
2010/05/16
2:00 UTC
Read the original article
Hit count: 268
I understand how mapping a triangle texture to a triangle works, but how do you map other things?
I can't see myself mapping a circle onto a triangle. If it were a quad (square), I could see it happening, but why would a graphic not get warped on a triangle?
EDIT:
Bonus question: What are some good OpenGL ES tutorials online? Videos and articles count. (I've seen the Stanford University stuff on iTunes U and think it's excellent, but I want more.)
© Stack Overflow or respective owner