Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

whey_whey

Texture Mapping

This topic is 6515 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

hello, Does anybody knows how to turn files such as .jpg, .gif, .ppm, .tga, .bmp etc into a texture map? cheers, whey_whey It''s your choice how you choose your life!

Share this post


Link to post
Share on other sites
Advertisement
I think you are confused. There is no ''texture file''. Any of the types can be texture mapped, you just need to know how to load them it into a LPDIRECTDRAWSURFACE7 type.

Share this post


Link to post
Share on other sites
Here''s a link to my homepage tutorial Using Custom Resources. It''s about including a TGA custom resource into your program and loading it into a OpenGL texture. If you need it for other things...you can easily convert it to your need...

Hope you like it,
- Bas

Share this post


Link to post
Share on other sites

  • 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!