View Single Post
Old 03-01-08, 07:33 PM   #2
NonWonderDog
Seaman
 
Join Date: Feb 2007
Posts: 31
Downloads: 1
Uploads: 0
Default

You have to scale the textures by the x-dimension of your display. For something made for 1024x768 to work correctly in 1680x1050 you have to multiply each dimension by 1680/1024 or 164.0625%. The overall texture dimensions must be powers of two, however, so you'll need to add or remove some empty space so that you've got a 4096x4096 texture or something like that.

The proper map scale for a 1024x768 display, by the way, is 2 meters per pixel. That's what my 3000 yard/meter tools are scaled to, although I think the other one might be scaled differently.


Since I came back to SH4 a couple days ago armed with a shiny new computer, I've scaled the 3000 yard bearing tools up for my shiny new 1680x1050 display. They're now 8192x8192 textures (!) and are 85 Mb compressed (I believe/hope DXT5 is kept compressed in memory -- they're 256 Mb uncompressed).

They're too big for me to want to upload, they extract to nearly a gigabyte in total, they make the map screen stutter when loaded with even a top-of-the-line computer, they only work with a NVidia 8- or 9-series card (or possibly a Radeon HD), and installing more than one submarine class's tool at a time causes SH4 to exceed its memory limits, drop textures, and crash randomly. But I still use them, and they work.

If someone wants to make one, a 2500 yard tool for 1680x1050 should fit on a 4096x4096 texture. That would be much more compatible.


Of course, if one of the recent patches has added a way to scale these in-game, you can safely ignore everything I've written here and do that instead. Anyone know?

Last edited by NonWonderDog; 03-01-08 at 10:33 PM.
NonWonderDog is offline   Reply With Quote