Wintermute Engine Forum
Wintermute Engine => Feature requests, suggestions => Topic started by: MMR on June 14, 2003, 07:36:32 PM
-
It would be a great idea to implement some wheather effects like in AGS.
RAIN, SNOW, RAIN with WIND, SNOW with WIND, dynamic lighting effects, like... a dark room, with a character that has a lintern. If the lintern focuses in any place, the light follows the mouse pointer...
I don't know if i'm explaining it right. (The last one is another effect, not a weather one ;) )
-
Well, I don't know exacly how the weather effects work in AGS, but IMHO falling snowflakes / raindrops could be implemented in script, relatively easily.
The flashlight would be more complicated though... :(
-
Hmm... well having a character point a flashlight at things would be hard. But you could sort of fake it by attaching a darkness mask to the mouse pointer, where only the area around the pointer had normal light, and everything else would be less transparent (darker)... or completely black, depending on the capabilities of the engine.
-
In Direct3D more I don't think that the flashlight should be that difficult. But I am not a programmer so I don't know. I am just thinking the capabilities of Direct3D.
Anyway... if you implement something like that in WME then please make it customizable. Like, the developer should be able to specify the light (hard, soft, the color etc), the dark rooms (hard, soft etc) and ofcourse don't forget that te edges of the light region should be blured.
-
Are the weather effects still planned? I think rain and snowfall could add tons of atmosphere to our games :-)
-
Well, AFAIK Jerrot scripted snow and MMR scripted raining. There was a little problem with z-ordering of the snowflakes/raindrops but it can be solved using the entity.StickToRegion method.
So, guys, will you show us your scripts eventually? ;)
-
Well, if they would allow us to use their code, I would be willing to give them credit by writing "created with the glorius code of Jerrot and MMR" on every single raindrop and snowflake ;)
-
Well, if they would allow us to use their code, I would be willing to give them credit by writing "created with the glorius code of Jerrot and MMR" on every single raindrop and snowflake ;)
Well... err... I destroyed it a little by some more tests. I'll try to upload a working version tomorrow, use it as you want (although - credits are cool... ok! ;) ).
PS: In which region of Germany do you live ? :)
-
Well... err... I destroyed it a little by some more tests. I'll try to upload a working version tomorrow, use it as you want (although - credits are cool... ok! ;) ).
That would be too cool! Thanks!
PS: In which region of Germany do you live ? :)
In Bielefeld. But I'm no member of any secret organisation. I swear ;)
-
That would be too cool! Thanks!
PS: In which region of Germany do you live ? :)
In Bielefeld. But I'm no member of any secret organisation. I swear ;)
Uh, I'm not sure if I'll find the time tomorrow, but I won't forget.
Bielefeld... well, anyway too far (living in L
-
Me again. So - I found a "quite working" snow version, but I've got no idea what I wanted to express with those calculations... and I guess it's better I don't, since it's buggy and slow.
I will rewrite them some day, but maybe it's a first aid for you - just to get an idea of it.
You can find the project files here :
http://wme.jerrot.de/snowflakes.rar (http://wme.jerrot.de/snowflakes.rar)
Good luck.
-
Thanks! I will try out at home this evening.
There are no Blender-Pics online, I lost most of my older work in a harddisc-crash, and then I stopped working with Blender and went back to Bryce & Co.
I started again about a month ago or so, so there is nothing really impressive to show right now :-)
If you want to start with Blender I could write some Beginner-Tutorials if you like.
The UI isn't that bad if you worked with it for a while, only the beginning is painful (at least when you worked with programs like Bryce before :) ).
The most importat thing in Blender is learning all the shortcuts and not to give up too soon :-)
-
Thanks! I will try out at home this evening.
Hm, I'm motivated to do a real "weather system", maybe I will create some kind of function library, it's not that hard to script finally (but maybe its my new physics study, that makes me shuddering about the old snow code... :) !)
I'll answer the Blender-Part in the existing thread in "Software"...
-
"Weather system" sounds very good in my ears ;D
-
Just downloaded the file and tried it - looks VERY good!
But I get only 18 FPS .... think it's time for a new PC :)
Now I'm try to understand the code - expect me back in 5 years or so ;)
-
Just downloaded the file and tried it - looks VERY good!
But I get only 18 FPS .... think it's time for a new PC :)
Now I'm try to understand the code - expect me back in 5 years or so ;)
Don't try, I don't either. After uploading it I had a closer look into the main function, and... well: I'll completely rewrite it! So if you don't need it tomorrow, just forget about the old package and wait for the new.
My "vision": a little WME application with interactive adjusting of the rain/snow/wind values, click on OK and you get a new script package to include... if it only wasn't december! (work, study, work, study, eat, sleep, goto 10)
Oh, and about the FPS rate - that's the main problem of this piece of code, I get some more, but not enough - and not enough for MORE snowflakes.
Greetings, Petrus.
Err... Jerrot of course. ::)
-
Don't try, I don't either. After uploading it I had a closer look into the main function, and... well: I'll completely rewrite it! So if you don't need it tomorrow, just forget about the old package and wait for the new.
Ok, no problem, I have time ... but thanks a lot!
My "vision": a little WME application with interactive adjusting of the rain/snow/wind values, click on OK and you get a new script package to include... if it only wasn't december! (work, study, work, study, eat, sleep, goto 10)
That was my vision too, I just have no clue how to achieve it :)
Greetings, Petrus.
Err... Jerrot of course. ::)
Huh? So there are TWO famous people in this forum today ;D
-
Ok, no problem, I have time ... but thanks a lot!
You find the new version in the snippet section now.
That was my vision too, I just have no clue how to achieve it :)
Well... I completely rewrote that script and now it can handle some rain, too. Although this is not the best idea, since the function has to handle more options than necessary now, so you'll have to cut some parts you don't need.
About that vision... well... read my comment to the package and you'll understand. ;) Anyway I hope it's not too hard to understand the code, but you may always ask if you don't get it.