Jump to content
  • Advertisement
Sign in to follow this  
spiffy

OpenGL Maya Models

This topic is 4948 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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...)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!