Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: DaBrain on June 20, 2004, 10:10:11 am

Title: Another way to upgrade ANIs
Post by: DaBrain on June 20, 2004, 10:10:11 am
Due to size 32-Bit ANIs might become a problem, so how about trying something else?

The problem is the limitation in colors.

I think it would be less of a problem, if every frame could have its own color palette.
Title: Another way to upgrade ANIs
Post by: Taristin on June 20, 2004, 10:58:02 am
Wouldn't that be more of an issue for the ani compiling tool? I may be wrong... But does the aniplayer really care if the palettes are the same?

*is probably wrong*
Title: Another way to upgrade ANIs
Post by: DaBrain on June 20, 2004, 11:03:46 am
Thats true, we would need a new/changed compiling tool. But the game is also limited to one palette for one ani.
Title: Another way to upgrade ANIs
Post by: Nico on June 20, 2004, 01:15:44 pm
we need to replace ani with avi, and that's it.
Title: Another way to upgrade ANIs
Post by: DaBrain on June 20, 2004, 01:19:52 pm
Somehow I doubt that avi would work. (I don't know though)

It would require much more code changes.

The black in the frames gets invisible. And 50% black parts get 50% visible.


But that won't work with avi files.
Title: Another way to upgrade ANIs
Post by: Lightspeed on June 20, 2004, 01:44:14 pm
it would. Its just a matter of rendering things.

What you mean is effect ANIs which are simply alpha blended as opposed to for example interface ANIs that are rendered opaque.
Title: Another way to upgrade ANIs
Post by: Nuke on June 22, 2004, 08:50:28 pm
i would like to have a gif -> ani converter, or better yet flat out animated gif support, that way i can use image ready (ya know that program tat comes with photoshop that noone uses) to create gif animations, they generate the pallete automatically, based on all the frames. i think we should use a 12 bit pallette, which would give us a 4096 color pallette. and gif allows you to set custom pallette sizes.
Title: Another way to upgrade ANIs
Post by: Liberator on June 23, 2004, 01:16:38 am
GIF is patented:mad:

money grubbing bastards, go rot in hell!
Title: Another way to upgrade ANIs
Post by: WMCoolmon on June 23, 2004, 01:30:14 am
i liek PNG.
Title: Another way to upgrade ANIs
Post by: ChronoReverse on June 23, 2004, 02:56:40 pm
MNG =)
Title: Another way to upgrade ANIs
Post by: Nuke on June 23, 2004, 09:34:16 pm
f****** patent office :D
Title: Another way to upgrade ANIs
Post by: Falcon on June 26, 2004, 04:54:32 pm
What about Bink?
Title: Another way to upgrade ANIs
Post by: HotSnoJ on June 26, 2004, 06:42:34 pm
Quote
Originally posted by Nuke
i would like to have a gif -> ani converter, or better yet flat out animated gif support, that way i can use image ready (ya know that program tat comes with photoshop that noone uses) to create gif animations, they generate the pallete automatically, based on all the frames. i think we should use a 12 bit pallette, which would give us a 4096 color pallette. and gif allows you to set custom pallette sizes.
I don't know much about Image ready, but wouldn't you be able to save the pallete and then apply it to the first image anyway?
Title: Another way to upgrade ANIs
Post by: Flipside on June 26, 2004, 07:51:00 pm
You know, with RT's DDS code, I suppose you could compress the current ANI's frame by frame on loadup, which would save current memory, and possibly it would leave the door open for DDS-based animations? Though this 'might' cause problems with some of the more gradient dependent animations, but you would still get more flexibility in animations than you currently can.
Title: Another way to upgrade ANIs
Post by: ViRGE on June 28, 2004, 01:12:20 am
Quote
Originally posted by Liberator
GIF is patented:mad:

money grubbing bastards, go rot in hell!
The GIF patent has expired. It's a free format now.
Title: Another way to upgrade ANIs
Post by: Liberator on June 28, 2004, 01:38:48 am
Musta missed that one, this is good news.  Gif can be smaller than most formats.
Title: Another way to upgrade ANIs
Post by: WMCoolmon on June 28, 2004, 01:43:23 am
I still liek PNG. It's like a TGA-quality image with the size of a JPG, at least for screenshots & comics.
Title: Another way to upgrade ANIs
Post by: Nuke on June 28, 2004, 02:11:51 am
gif is good because its really customizeable, but its still a palletized image format. i think that a byte and a nibble pallette (12 bit) would quadruple image quality without making too much of a framerate hit. im more concerned with outputing large video formats to ani without having to save hundreds of frames individually. thats why i still dont make large animations for the interface.