Page 1 of 7

irrWeatherManager 0.0.5 - weather system for Irrlicht

Posted: Mon Aug 09, 2010 2:14 am
by cobra
irrWeatherManager 0.0.5

irrWeatherManager is a weather system for Irrlicht to make it easy to get great-looking weather into your 3d worlds.

Library features:
- Realistic atmosphere (credit due to Pazystamo for original ATMOsphere; now with classes moved to respective files and cleaned up slightly, although mostly original, with some other modifications and additions and majorly improved media)
- 3D volumetric particle clouds (improved from Bitplane's cloud scene node to now be more like clouds, and also accepts lighting from the atmosphere. Also included is a new random generator and a couple extra functions, like setScale() to scale a cloud)
- Weather manager to easily access and manipulate the weather
- Random cloud and cloud layer generator
- Lightning using Sudi's CBoltSceneNode
- Much more; you'll have to try it to find out!

SDK includes:
- Pre-built library; Windows 32-bit MinGW GCC
- Pre-built example
- irrWeatherManager source code
- Example source code


Thanks to the code from Pazystamo and Bitplane that made this initially quicker to get produced. Enjoy, and please leave feedback.

Sourceforge page:
http://sourceforge.net/projects/irrweather/

Screenshots:
https://sourceforge.net/dbimage.php?id=288199
https://sourceforge.net/dbimage.php?id=288197
https://sourceforge.net/dbimage.php?id=288201

Posted: Mon Aug 09, 2010 4:28 am
by BlindSide
This looks amaaazing :D

Posted: Mon Aug 09, 2010 4:44 am
by cobra
Heh, thanks!

I haven't had a lot of time to work on it, so it's still in its infancy.

I hope for it to become pretty nice, though. I have some bigs ideas for its future, if I ever get the time to do with it what I want.

Posted: Mon Aug 09, 2010 7:26 am
by Bate
Yeah, that's terrific -- keep it up!

Posted: Mon Aug 09, 2010 11:59 am
by Escen
Nice work, Thanks for sharing.

Posted: Mon Aug 09, 2010 1:06 pm
by loki1985
really nice :D

Posted: Sat Aug 14, 2010 10:33 am
by CarlS
Nice work cobra, thanks for posting it :)

With the updates you mentioned in the cloud types, are volumetric clouds, or any method of flattening the cloud bottoms on the list?
A sky full of volumetric clouds would slow things down a lot, but would result in some beautiful landscape stills and animations if you don't mind non-real time renders.

--Carl

Posted: Sat Aug 14, 2010 10:45 am
by loki1985
CarlS wrote:Nice work cobra, thanks for posting it :)

With the updates you mentioned in the cloud types, are volumetric clouds, or any method of flattening the cloud bottoms on the list?
A sky full of volumetric clouds would slow things down a lot, but would result in some beautiful landscape stills and animations if you don't mind non-real time renders.

--Carl
you don't have to render the clouds each frame, u could just render them to a texture every few seconds.

Posted: Sat Aug 14, 2010 10:52 am
by stefbuet
Is what I see the clouds shadows ? :shock:
Or terrain self shadowing ?

Posted: Sat Aug 14, 2010 6:12 pm
by cobra
Well, in the future I want to have clouds like Flightgear 2.0's new cloud system:

Image


I also plan on adding clouds like cirrus and storm clouds (including lightning and rain).

I'd like to make clouds that are only textured to a flat plane that is placed in the sky for more ground-based games that don't need thick clouds.

Posted: Sat Aug 14, 2010 9:31 pm
by Virion
my opinion: the cloud texture has to be more random and variation. it will look more natural that way.

Posted: Mon Aug 16, 2010 7:37 pm
by Mattan360
Hmm, my sun isn't moving :(

Posted: Mon Aug 16, 2010 9:05 pm
by cobra
Mattan360: You have to update it every frame. Check the example.

Also, setting the day time factor will make the simulation run more quickly and you can see your sun move. Otherwise, you won't and it'll be slow, like in real life.

Posted: Mon Aug 16, 2010 9:09 pm
by jorgerosa
Just tested it... Really impressive! Thankyou for share! :)
(An "cbp" file is inluded! CouldnĀ“t be better for a noob like me! Yupiiii!)

Posted: Mon Aug 16, 2010 9:20 pm
by Grz-
Is it normal that the sun seem to move with the camera position? (for example it change a bit it's path when i go left or right)

It happen in the demo a bit but i tried to add the atmospheric scattering shader to it too and since it is based on the sun position, well, when i moved the camera i saw that everything moved with it too :shock:, kinda strange.