| View previous topic :: View next topic |
| Author |
Message |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Tue Sep 06, 2005 10:32 pm Post subject: Image limits |
|
|
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 |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Tue Sep 06, 2005 11:37 pm Post subject: Re: Image limits |
|
|
| 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 |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Tue Sep 06, 2005 11:42 pm Post subject: |
|
|
| 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 |
|
 |
nevyn
Joined: 31 Jul 2005 Posts: 136 Location: Sweden
|
Posted: Wed Sep 07, 2005 12:32 am Post subject: |
|
|
| 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 |
|
 |
|