This site is no longer active and is available for archival purposes only. Registration and login is disabled.

General Animation Questions


General Animation Questions

Postby Ryumaster » Jul 12, 2007 @ 7:55pm

Hi, I can not get working my large animation files, because they are too big.It is very interesting, how animation was organized in GledPlay, because they worked in there. Anyway, I get No Sys Memory Error, when I'm trying to create surface. So I wondering, what if I'll use lots of frame files, instead of cutting them of from big one, creating new surface with new frames everytime - is it good solution, or will it be very slow? And maybe there is some other ways to prevent system memory from being overloaded?
I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jul 13, 2007 @ 7:33am

Hi Ryumaster,

Making separate small surfaces shouldn't have an effect on in-game performance. If you arrange frames vertically they may even be faster (because of the memory layout).

It may only give a bit more overhead when loading your surfaces. If you're saving them in EPK files, I recommend using the PackBuildIndex function to quickly access the files (this function has more effect on EPK packs with a lot of files).
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Ryumaster » Jul 19, 2007 @ 9:30pm

I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jul 20, 2007 @ 9:48am

Hi Ryumaster,

Can you tell me the dimensions of the .tga file?

Maybe it's a good idea to save it as .png instead and try loading it. Also, would you like to try loading it from a file directly instead of using packages?
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Ryumaster » Jul 20, 2007 @ 10:50am

I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jul 20, 2007 @ 3:49pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Ryumaster » Jul 20, 2007 @ 9:46pm

I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Postby edge » Jul 23, 2007 @ 2:08pm

Hi Ryumaster,

Have you tried to create a native Windows Desktop build and load the image file? For example, open the helloworld sample, edit the code to load your image and check the return value. Maybe the emulator has trouble allocating big amounts of memory.

The 24-bits bitmap should load OK. Perhaps it can't load because of its size. Maybe you can try opening the file with paint, paint over it, undo and save the file.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Ryumaster » Jul 23, 2007 @ 10:52pm

I'll get the real devices firstly and make some testings, then. I'll write here back for I've got.
I love postindustrial life.
User avatar
Ryumaster
pm Member
 
Posts: 86
Joined: Sep 17, 2006 @ 11:24am
Location: Lithuania, Kaunas


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

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 post attachments in this forum

cron