Skip to main content
gamedev.net
🔒 Locked

Texture file format

Started by HanSoL0 Apr 16, 2002 at 8:28 AM 0 replies 150+ views
Original Post
HanSoL0
HanSoL0
I don''t know how the texturing functions work in DirectX, but would using DDS''s or JPG''s fill up less texture memory than BMP''s? In other words, would I be able to render more objects with more textures faster if I used a different texture file format? Thanks, Ryan
BrianH
BrianH
It depends. DirectX offers some options for storing textures in memory in compressed format. I am not familiar with these but you may need to use DDS files to do this.

In the case of JPEGs (and any other format for that matter) you will probably just convert them to a normal texture in memory. So they will end up being just as big as a BMP in memory. Just how big it is in memory depends on what bit depth you decide on for your textures. Basically in memory your texture is just raw R,G,B,A data. Any image file you load into memory has to eventually get converted to that before DirectX can use it.

Again, I have never used the DirectX compressed texture functions, you may want to look into those.


-Brian

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.