Maya Models

Started by
0 comments, last by reiko 19 years, 4 months ago
I am making a 3d sports game in opengl and the models are done in maya. Each model has 3 tga texture maps..whats the best format to export them from maya and the tutorial for loading :D Thanks -Spiff
Advertisement
I'm afraid I can't help with exporting the texture maps from Maya, as I don't know anything about it.

However, once you have the .tga (or other format) image files available, the DevIL library is quite handy for loading textures, and has easy helper functions for creating OpenGL texures.

If your app uses SDL, then you could also use SDL_image which integrates quite nicely. At any rate, I would certainly recommend using an image loading library of some sort over writing your own TGA loading code, because it will save you debugging time and will make it trivial to switch to other formats (JPEG, PNG, etc...)

This topic is closed to new replies.

Advertisement