Jump to content
  • Advertisement


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


Beginner: Creating textures from a file...

This topic is 5817 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 All, I''m a newbie DX programmer, so I''m sure this is a pretty straightfoward question. I''m playing around making a tile based engine, and I want to be able to load just a portion of the .bmp file into memory as a texture. So, my .bmp contains six tiles, each 32x32. If I want to get the second tile, how would I load that into a DX8 Texture? Alternativley, would it be more efficient to load the entire .bmp into memory and refer to just a portion of it when I call the SetTexture method? Thx! --Ben

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!