Wide textures

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
starman2049
Posts: 75
Joined: Mon Sep 19, 2005 5:41 am

Wide textures

Post by starman2049 »

I am converting a game that runs on PS2 and DirectX just fine and am having trouble with getting a 1024x256 T8 working. All other textures are working so I am wondering if there is an internal limitation on width. Does anyone know?
jsgf
Posts: 254
Joined: Tue Jul 12, 2005 11:02 am
Contact:

Post by jsgf »

There are only 8 mipmap levels, which suggests the max texture size is 256x256.
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

The max size is actually 512x512, despite the 8 mipmap levels. The mipmaps don't go all the way down to 1x1 in that case, it stops at 2x2 :)
http://www.dtek.chalmers.se/~tronic/PSPTexTool.zip Free texture converter for PSP with source. More to come.
holger
Posts: 204
Joined: Thu Aug 18, 2005 10:57 am

Post by holger »

in all cases or only for trilinear filtering?
ector
Posts: 195
Joined: Thu May 12, 2005 10:22 pm

Post by ector »

Well, you can't specify a ninth mipmap level so you simply can't go down to 1x1 on 512x512 textures. Unless you can abuse the mipmap size parameters and have the last two being 4x4 and 1x1 .. dunno if that'd be much use though.
http://www.dtek.chalmers.se/~tronic/PSPTexTool.zip Free texture converter for PSP with source. More to come.
Post Reply