Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: FogGobbler on August 25, 2005, 09:01:58 AM

Title: Animated sky
Post by: FogGobbler on August 25, 2005, 09:01:58 AM
Hi!

Yesterday I was quite bored (something that happens not very often  ??? ) and browsed through the internet, not really looking for something special.

Then I went to adventure-treff and had a look at the new adventure "Geheimakte Tunguska". Looks really great im my opinion. Well, boerdom had gone and wondered, if it´s possible to create such an animated (!) sky (moving clouds) with this new video-entity (perhaps some sort of animated texture).
If not, how could you create such effects, without stuffing up the memory?

http://www.adventure-treff.de/images/bild.php?bild=screenshots/tunguska_5.jpg

Best regards,
Oli
Title: Re: Animated sky
Post by: Nihil on August 25, 2005, 09:10:09 AM
I have already toyed around with the video entities and created an animated sky, just a video of a skycube with 360° rotation. Looked ok and the performance was acceptable even with a size of 1000x500, but I only used 60 frames with 5 fps, I don't know how it behaves with more frames. For a lightning strike like in the screenshot I wouldn't use video entities, because it would be too repetitive then. I would use several spirte layers instead, for example a sky background, a randomly played lightning sprite and some moving clouds on top.