Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: IPAndrews on July 05, 2004, 03:37:49 am

Title: If I supply a texture sized 256x1024?
Post by: IPAndrews on July 05, 2004, 03:37:49 am
Is it rescaled to 1024x1024?
Title: If I supply a textured sized 256x1024?
Post by: Col. Fishguts on July 05, 2004, 05:08:47 am
No AFAIK...as long as it's 2^n it should not be rescaled.
Title: If I supply a textured sized 256x1024?
Post by: kasperl on July 05, 2004, 07:43:29 am
It might, not sure.

I think it'll resize to squares, but I am not sure.
Title: If I supply a textured sized 256x1024?
Post by: RandomTiger on July 05, 2004, 05:14:19 pm
No, it will stay 256x1024 unless you have a odd videocard that only supports square textures.
Title: If I supply a textured sized 256x1024?
Post by: Bobboau on July 06, 2004, 09:38:57 am
wich there are a few of I think, though that texture should be ok for the vast majority of people. so go for it
Title: If I supply a textured sized 256x1024?
Post by: Solatar on July 06, 2004, 02:39:54 pm
You could map it to a 1024*1024 square, and just have blank space, just in case?
Title: If I supply a textured sized 256x1024?
Post by: Nuke on July 06, 2004, 03:28:15 pm
dds requires square textures, so you wouldnt be able to take advantage of compression.
Title: If I supply a textured sized 256x1024?
Post by: JarC on July 08, 2004, 12:48:54 pm
Quote
Originally posted by Nuke
dds requires square textures, so you wouldnt be able to take advantage of compression.
not true, I also have Celestia and Orbiter on my hd, they's riddled with dds textures for planets and suns with size ratios of 2:1

@IPA: dunno of hand where I read it...think it was on the nvidia dev site, but in OpenGL there's situations where exactly this happens...
Title: If I supply a textured sized 256x1024?
Post by: Flipside on July 08, 2004, 01:30:54 pm
I've used non-square dds files without problem on a GeForceMX440. Unless you have a really old graphics card, this is no problem whatsoever, the card simply stores the file like 4 256x256 files nest to each other :) DDS will compress any ratio image, it doesn't even have to be ^2, though I strongly recommend this for memory reasons in-game.