Texture mapping an NGon?

Posted by user146780 on Stack Overflow See other posts from Stack Overflow or by user146780
Published on 2010-05-07T15:03:46Z Indexed on 2010/05/07 16:08 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

I'm not sure how to go about figuring out how to map texture cooridnates for a 2D NGon (N sided polygon) How can this be done?

The effect i'm trying to achieve is for the texture to fit on the polygon and stretch out accordingly so the whole texture fits on it.

Thanks

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++