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 

Image limits

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



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Tue Sep 06, 2005 10:32 pm    Post subject: Image limits Reply with quote

hi! i just wondered, why i can't load one of my images to lua;
was seems it was too high...
531x178px
so i tried to make it wider instead of high... also failed
59x1602px
which means i have to load all images seperate?...
increases the filesize of about 12kb and adds me 8 files...

any ideas?
Back to top
View user's profile Send private message Visit poster's website
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Tue Sep 06, 2005 11:37 pm    Post subject: Re: Image limits Reply with quote

Currently the image size is limited to 512 pixels with and 512 pixels height, because I've read that there are problems with larger images with the texture operations I'm using for blitting the images. I'll take a look at it, when I have some time, if this is really needed.
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Tue Sep 06, 2005 11:42 pm    Post subject: Reply with quote

actually i do not blit images larger than 512, but would be nice to load em, just to copy parts of it and blit those parts (as you do in snake)
Back to top
View user's profile Send private message Visit poster's website
nevyn



Joined: 31 Jul 2005
Posts: 136
Location: Sweden

PostPosted: Wed Sep 07, 2005 12:32 am    Post subject: Reply with quote

Personally I think it'd be great if the backends of LuaPlayer took care of images larger than 512x512 (by having multiple image instances behind the scenes), so that there'd be no limit to the size of Image instances. Perhaps this is better implemented as a lua library, though...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player 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