Handling of Images (Animations)
by Thomas Bang · in Torque Game Builder · 04/10/2008 (3:28 am) · 5 replies
Hi
Example: I render my animation via Lightwave.
After that i have a list of images like...
player_run_01.png
player_run_02.png
player_run_03.png
... and so on
Suggestion 1:
GG could write a tool where i can select these images and the output is a bigger image where all of these files are arranged in columns and rows. Including Alpha Channel.
Suggestion 2:
In TGB... if i create a Animation, i can choose how the animation order is. Row by Row or Column by Column.
It would be nice if i can choose how much images (of this big image) i want to use for this animation.
Example: In one big image (2048x2048 PNG) the first ten Images are for Player_Run. The next ten images for Player_Jump and another four Images for Player_Stand.
First animation - Player_Run: From 1 to 10 - Animation Order is Row by Row
Second animation - Player_Jump: From 11 to 20 - Animation Order is Row by Row
Third animation - Player_Stand: From 21 to 24 - Animation Order is Row by Row
Greetings
Thomas Bang
Germany
Example: I render my animation via Lightwave.
After that i have a list of images like...
player_run_01.png
player_run_02.png
player_run_03.png
... and so on
Suggestion 1:
GG could write a tool where i can select these images and the output is a bigger image where all of these files are arranged in columns and rows. Including Alpha Channel.
Suggestion 2:
In TGB... if i create a Animation, i can choose how the animation order is. Row by Row or Column by Column.
It would be nice if i can choose how much images (of this big image) i want to use for this animation.
Example: In one big image (2048x2048 PNG) the first ten Images are for Player_Run. The next ten images for Player_Jump and another four Images for Player_Stand.
First animation - Player_Run: From 1 to 10 - Animation Order is Row by Row
Second animation - Player_Jump: From 11 to 20 - Animation Order is Row by Row
Third animation - Player_Stand: From 21 to 24 - Animation Order is Row by Row
Greetings
Thomas Bang
Germany
#2
04/10/2008 (6:02 am)
I know about GlueIT. But it would be nice if GG could do a similar App with a few options.
#3
glueit does do alphas. But, FYI, there's a limit to the size of the image TGB will import. I think it is 2048x2048.
Anyway... you can do what you want with glueit, but because of the limits of image size, it won't be fun to do.
Basically, you just put all those in one single image using glueit & then only use the cells you want for the corresponding animations. You can make "blank" cells with a blank png if you really want them all separated.
But in all honesty, it's best to either a) have each animation a different file or b)do it w/o making any blank frames. You're wasting memory then.
With your way, what happens if you change an animation? Or you want animations to be different frame sizes? You're then starting to get issues that don't need to be dealt with.
04/10/2008 (7:48 am)
In another thread about glueit, the author says GG owned the rights + code now. So... version 1.8 maybe?glueit does do alphas. But, FYI, there's a limit to the size of the image TGB will import. I think it is 2048x2048.
Anyway... you can do what you want with glueit, but because of the limits of image size, it won't be fun to do.
Basically, you just put all those in one single image using glueit & then only use the cells you want for the corresponding animations. You can make "blank" cells with a blank png if you really want them all separated.
But in all honesty, it's best to either a) have each animation a different file or b)do it w/o making any blank frames. You're wasting memory then.
With your way, what happens if you change an animation? Or you want animations to be different frame sizes? You're then starting to get issues that don't need to be dealt with.
#4
I hate it to drag&drop each file in the Animation-Dialog.
A option would be useful to choose the animation order. (Row by Row or Column by Column) and the Total Number of Frames to be used.
04/10/2008 (8:06 am)
For each animation i create a different image. My post above was only an example. I hate it to drag&drop each file in the Animation-Dialog.
A option would be useful to choose the animation order. (Row by Row or Column by Column) and the Total Number of Frames to be used.
#5
Do you mean in the "Animation Builder" where you get the frames of the animation? The little green circle with a "+" in it adds all frames. Then you can remove the ones you don't want. Faster then adding them frame by frame.
But your new description makes more sense: select a start frame & an end frame & it auto-selects everything in between.
04/10/2008 (8:24 pm)
Quote:I hate it to drag&drop each file in the Animation-Dialog.
Do you mean in the "Animation Builder" where you get the frames of the animation? The little green circle with a "+" in it adds all frames. Then you can remove the ones you don't want. Faster then adding them frame by frame.
But your new description makes more sense: select a start frame & an end frame & it auto-selects everything in between.
Torque Owner Derelict