forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Maximum texture size: 512x512?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Brunni



Joined: 08 Oct 2005
Posts: 186

PostPosted: Sun Jan 01, 2006 12:55 am    Post subject: Maximum texture size: 512x512? Reply with quote

Hello all!
I'm wondering what is the maximum size of a texture... if I set it to more than 512 (either in width or height), the same pixel line or column will be repeated indefinitely (like an 1x1 texture).
Is there any possibility to use wider or higher textures? The goal is to emulate the GBA tilemap system; as 8x8 tiles are placed sequencially in VRAM, it could look like a 8 by X buffer where X is the number of tiles * 8. But here it makes a maximum of 512/8 tiles... not enough :-(
Thanks in advance and have an happy new year ;-)
_________________
Sorry for my bad english
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Sun Jan 01, 2006 1:30 am    Post subject: Reply with quote

This was already discussed here.
_________________
infj
Back to top
View user's profile Send private message
Brunni



Joined: 08 Oct 2005
Posts: 186

PostPosted: Sun Jan 01, 2006 10:59 am    Post subject: Reply with quote

Sorry, I didn't see this topic, thank you.
Anyways, as I want to draw a tilemap, I can't cut my rendering in multiple passes with offsets, because with 64 tiles (8x512) I would have to do 32 passes on the map for the 2048 GBA tiles, or to set the texture target for each tile (only if it's in the same 64-tile zone than the last one); this would flush the cache at each tile, and rendering a whole map would become very slow. :-(
Another solution would be to use the GE, but am I obliged to flush the texture cache when I change its base address?
_________________
Sorry for my bad english
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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