texture mapping using OpenGL

Started by
12 comments, last by Xtreme 22 years, 11 months ago
OpenGL is based on triangles not mesh, so yes.

Maybe you should read the OpenGL doc, cause it''s explains how OpenGL works...

There''s a link to an electronic version of the Red book on nehe.gamedev.net

-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-
Advertisement
you can also use squares (GL_QUADS)instead of triangles. sometimes they''re even more useful
Guys... I never thought about this before, because I''ve never had a reason to try it. Is it possible to bind multiple textures to one polygon by specifying mapping coordinates? As an example, could I map a quad with 4 seperate textures on each "corner"?
probably yes. but watch out for textures width&height because if textures are too big there is VERY big chance that the program will report error.but why don''t you use 4 quads instead of just 1? you must just be careful at coordinates!!!

This topic is closed to new replies.

Advertisement