| View previous topic :: View next topic |
| Author |
Message |
devnull
Joined: 14 Nov 2003 Posts: 53
|
Posted: Wed Mar 30, 2005 6:58 pm Post subject: Question on video cards and texture size compatibility |
|
|
I am working on a mod to fix the periscope and UZO bearing indicator which is off by a couple degrees. For the best accuracy, the texture I am using should be some multiple of 360 pixels wide. The default shipped with the game is 1024 pixels wide. I can either reduce the width to 720 pixels or increase it to 1080 pixels. Personally, I would prefer to go to 1080 pixels as that would give 3 pixels per degree, versus the 2 pixels per degree with a 720 wide texture.
My question is, will using a texture that is wider than 1024 cause problems with video card compatibility? I want to make this mod look as good as possible while being very accurate, but at the same time I would hate for this to not run on some video cards.
Any suggestions?
- devnull |
|
| Back to top |
|
 |
Redwine
Joined: 10 Jan 2002 Posts: 1143 Location: Buenos Aires , Argentina.
|
Posted: Wed Mar 30, 2005 7:10 pm Post subject: |
|
|
When i made the Hardcore TDC Mod, i found that problem, some persons had troubles, and was due to some video cards are not abailable to manage al kind of texture sizes.......
Some video cards are not capable to manage textures wich sides are not power of 2 in exapmple :
2,4,8.16,32,64,128,256,512,1024,2048,4096........
And plus..........
Some other video cards are not able to manage non square textures.............
In exaple, can manage a 1024x1024 texture but can not to manage a 1024x800 or 1024x512.
finally i made fix with a square and power of 2 texture.
I note SH3 make use of non square textures, may be due to it specifications said it do not works on MX video cards.........
In past times video card builders give this info, but today it is hard to found..........
I recommend to you, if you want to made your mod full compatible, to make the textures, square and with sides power of 2.............
in example, 256x256, 512x512, 1024x1024, 2048x2048............
Best regards, Red. |
|
| Back to top |
|
 |
U-Schultz
Joined: 28 Mar 2005 Posts: 174 Location: North Atlantic
|
Posted: Wed Mar 30, 2005 7:34 pm Post subject: |
|
|
Devnull,
This thread on texture sizes may be helpful.
Also etchasketch may have addtional info that may be helpful to you.
Good luck! Looking forward to your work.
EDIT: Doh! Here is the URL. Down near the bottom of the thread.
http://subsim.com/phpBB/viewtopic.php?t=31339 |
|
| Back to top |
|
 |
devnull
Joined: 14 Nov 2003 Posts: 53
|
Posted: Wed Mar 30, 2005 9:12 pm Post subject: |
|
|
Thanks Redwine and U-Schultz for some very good info. I will take all this into account and hopefully come up with a mod that works well for everyone the first time around.
Yeah, I noticed the non-square textures as well. The bearing.tga file that I am replacing is not square actually. Given this, I don't think I'll worry about making the new texture square, but we shall see...
- devnull |
|
| Back to top |
|
 |
Redwine
Joined: 10 Jan 2002 Posts: 1143 Location: Buenos Aires , Argentina.
|
Posted: Thu Mar 31, 2005 1:18 am Post subject: |
|
|
| devnull wrote: | Thanks Redwine and U-Schultz for some very good info. I will take all this into account and hopefully come up with a mod that works well for everyone the first time around.
Yeah, I noticed the non-square textures as well. The bearing.tga file that I am replacing is not square actually. Given this, I don't think I'll worry about making the new texture square, but we shall see...
- devnull |
I have an old card wich can manage non square, and non power of two, but may be, (just an opinion) that was the cause of the fact into game specification are not supported MX video cards........ may be it is the reason, they was used lot of non square textures.
In the HTDC Mod, i was enforced to put the bearing chart into a 2048x2048 texture, only for MX users.......other users was able to use a 2048x32 texture with no problems.
Best regards, Red. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|