OpenGL texture mapping

Hey guys, I'm new to game programming and graphical programming. However, I look forward to learning, so I started creating a game engine with OpenGL. I have implemented all the basic graphic functions, and now I want to add texture support for my triangular grids.

The only lessons I can find for texture mapping, for one polygon, how do I determine the texture that flows around the entire grid?

I am loading grids from .3ds files using lib3ds (http://code.google.com/p/lib3ds/). Does the .3ds file carry some texture coordinate data or something else?

thank!

+5
source share

All Articles