Jump to content
  • Advertisement
Sign in to follow this  
DanNilsson

Large textures (1024x1024) and hardware support

This topic is 4061 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! We are using 1024x1024 jpeg images for backgrounds in our 2d game which is using a Direct3D8 engine. Are there cards which do not support this texture size? If that is the case, will DirectX split it up internally? I guess we could split them up manually, but I am afraid of what the jpeg compression would do with the corners.

Share this post


Link to post
Share on other sites
Advertisement
You can check out lot of info about video hardware/driver limitations on this site: http://delphi3d.net/hardware/listreports.php
There is information about OpenGL, but I think texture size limitations are same also for DX.

Share this post


Link to post
Share on other sites
There is an pdf and xls in the DirectX SDK with such informations for many cards. Go to Samples\C++\Direct3D\ConfigSystem

Share this post


Link to post
Share on other sites
Instead of splitting the image you can use low resolution textures for cards which don't support 1024x1024.
Both OGL and D3D has ways to check the maximum texture size the GFX card supports.
(DEVICECAPS in D3D,and glGet(GL_MAXIMUM_TEXTURE_SIZE) in GL(not sure about these though))
So if the card doesnt support 1024 you can use the 512 texture etc.You will lose some quality ,but you won't have the edge problems.

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.

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!