May 03, 2024, 01:08:47 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest WME version:
WME 1.9.1
(January 1st, 2010) -
download
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
gif support
« previous
next »
Pages: [
1
]
Print
Author
Topic: gif support (Read 5103 times)
0 Members and 1 Guest are viewing this topic.
Kreep
Lurker
Karma: 0
Offline
Posts: 7
gif support
«
on:
May 18, 2006, 02:36:31 PM »
Does this engine support gifs as backgrounds? if it doesn't, shouldn't it be easy to add in?
Logged
odnorf
w00t?
Global Moderator
Addicted to WME forum
Karma: 7
Offline
Gender:
Posts: 1456
Lamp dog!
Re: gif support
«
Reply #1 on:
May 18, 2006, 03:21:09 PM »
I can't see the reason why.
PNG images using the same pallette are usually much smaller.
Logged
fl*p
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: gif support
«
Reply #2 on:
May 18, 2006, 03:23:38 PM »
Indeed. The gif format is pretty obsolete now, being limited to 256 color. I don't think it's worth the effort.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
Kreep
Lurker
Karma: 0
Offline
Posts: 7
Re: gif support
«
Reply #3 on:
May 18, 2006, 03:26:30 PM »
so what else can I use for animated backgrounds?
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: gif support
«
Reply #4 on:
May 18, 2006, 05:06:53 PM »
Use animated sprites.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
Kreep
Lurker
Karma: 0
Offline
Posts: 7
Re: gif support
«
Reply #5 on:
May 18, 2006, 07:13:48 PM »
but the whole background is animated lighting-wise (lightining flash+flickering candles), something you can't add post-render.
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: gif support
«
Reply #6 on:
May 18, 2006, 07:21:21 PM »
I have no clue what's exactly your problem? I am using lots of animated lightning flashes and candles in my own game and have no problem with them.
What and how exactly are you trying to achieve these effects?
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
Kreep
Lurker
Karma: 0
Offline
Posts: 7
Re: gif support
«
Reply #7 on:
May 18, 2006, 07:30:00 PM »
normal 3D scene, multiple renders taken for use as backgrounds with various degrees of lighting added. I want to be able to loop those backgrounds (like a gif) so it looks like the lights are flickering. I don't see how you could add lighting after you rendered the scene as objects won't show light reflections+illumination.
Logged
odnorf
w00t?
Global Moderator
Addicted to WME forum
Karma: 7
Offline
Gender:
Posts: 1456
Lamp dog!
Re: gif support
«
Reply #8 on:
May 19, 2006, 05:09:28 AM »
Render multiple scenes (or parts of the scene) and instead of creat animated gif create sprites.
Have you read the wme docs on what sprites are & how they are working?
Logged
fl*p
djb
Lurker
Karma: 0
Offline
Gender:
Posts: 28
... dream journey beyond ...
Re: gif support
«
Reply #9 on:
May 19, 2006, 09:53:28 AM »
Yes, GIF is very silly format for full-color adventure. It can use only 256 colors, what is little bit few... it's useful for web-design, but absolutely not for this application. WME has a great sprite system, that works fine with same timing features as animated GIF, but in full 32bit color range and 256-phase alpha-channel ... it is great PNG features
Logged
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: gif support
«
Reply #10 on:
May 19, 2006, 01:08:57 PM »
ok. Fire up Project Manager with your project and in the menu select Tools -> Sprite edit.
Basically you want to separate your lightnings etc. into separate png images and then construct a sprite out of them.
Another way how to make lightnings look good is to make an image and animate alpha value in script. This way you can achieve nice flashes
with dynamic feel to them and with only a little graphics needed.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
gif support