Archived

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

Maximum Texture size

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

What is the maximum texture size you typically use.... for vid card compatibility. I have a planet using a texture 1024x1024 jpg. I had to use this size for it to look resonably detailed. I remember reading somewhere going over 256x256 is not good because there are a lot of vid cards that won''t suppport higher. If I were to break this bitmap into 16 parts how would I re-texture the planet. I was thinking of changing the uv values from 0-.25, 25-.5 ..etc Is this how large textures are generally handled? Any advice/algoriths on appying huge textures to surfaces... thanks rhuala

Share this post


Link to post
Share on other sites
If i remember correctly, 3dfx Voodoo 3 was among the last mainstream cards that had the 256^2 limit. Voodoo 4 and 5 as well as nVidia TNT series were the next generation then, and they supported 1024^2 (and higher?) texture sizes.

1024^2 is, in my opinion, a very good texture size nowadays, and works on 99% (AFAIK) of the machines used for gaming.

-Nik

Share this post


Link to post
Share on other sites
Fire up DirectX Caps Viewer utility from the DirectX SDK entry in your start menu.

--DirectX Graphics Adapter
---- (your video card)
------ D3D Device Types
-------- HAL
---------- Caps

And check these fields:

MaxTextureWidth
MaxTextureHeight

All this utility is doing is encapsulating the D3DCAPS9 struct that you access with IDirect3DDevice9::GetDeviceCaps . So, you can access the max texture sizes values at runtime just as easily, and have code to handle your textures on older cards. If you''re really worried about making textures that are too big for older cards, I suggest just making smaller duplicates that would only get loaded in case the normal ones aren''t supported.

Share this post


Link to post
Share on other sites