Weather Effects - Page 3

Weather Effects

Requests for features in the spring code.

Moderator: Moderators

user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

tested some different options for rain, deactivating the depth buffer
creates a nice heavy rain effect, without having to add more effects.

i changed the fog sphere from uv sphere to ico sphere, which has less
triangles, and less rendering problems.

i have set blending to GL.SRC_COLOR,GL.ONE it generates an awesome effect!, it could be used for changing the player view or something like that.

should i use the depth buffer for the fog effect?
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

updated the image:

fog is working, with only 1 sphere, see the differences between values:

Image
right click to enlarge, so you can see the details

now i need to make the lightnings with sounds,
the lightning effect is easy, but about the sounds, how to make them?

maybe add a rain sound too?

how should the lightnings work?

one option for lightnings is a light that is spawned on the front of the camera randomly at random angles.

that is the only way i can think of making lightnings.

i will use a cube for the lightning, which color should the lighting color be?
Last edited by user on 14 Feb 2008, 19:25, edited 1 time in total.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

finished the lightning light, just need the sound now.
Frans
Posts: 22
Joined: 25 Aug 2007, 07:12

Re: Weather Effects

Post by Frans »

Why have lightning spawn in front of cameras? That doesn't do anything but cause epilepsy. It would be better, if lightning actually interacted with units, ie, fried them. I love the smell of fried peewees in the morning.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

i will try to explain it a little better:

if i use textures, it lags alot, if i make the light cube spawn somewhere in the map, it wont look good, so the only way is to make a very bright light in the camera, with a sound after some time.

i know what i am doing, and it looks good at the moment.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

those spheres can be used to make day-night cycles too, i will post a screen of a map with the sphere and without.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

updated the image, to show how day-night cycles would work.

Image
zwARREN69
Posts: 40
Joined: 12 Feb 2008, 04:55

Re: Weather Effects

Post by zwARREN69 »

looking good!
User avatar
Otherside
Posts: 2296
Joined: 21 Feb 2006, 14:09

Re: Weather Effects

Post by Otherside »

NEED VIDS NAO
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Weather Effects

Post by Argh »

Here are some thunder sounds, remixed / remastered by me.

Public Domain, if anybody needs thunder sounds.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

thanks for the sounds, going to implement them, it will be really cool,
current lightnings are really cool, with sounds, it will be even better.

i will try to find a way to make rain more varied without making an array of display lists, should work by changing the depth buffer options, or the
alpha values.

i added the calls DrawWorldReflection, DrawWorldRefraction, and DrawWorldShadow, that are only called when using special water, or shadows.

they will draw the reflection and refraction of the raindrops, and the reflection and refraction of the lightning effects, i am not sure if draw world shadow should be used.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

just tested the sound effects, they are really cool, do you think a rain sound would be good?

i will make the thunder get played at random places at the map, the play sound function plays a 3d sound.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Weather Effects

Post by CarRepairer »

I am in awe. If it existed, I would award you the Heroes of Spring Medal of Honor.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

oh, ok, sorry for what i posted here i didnt understood it correctly, i thought it mean that i havent made it.

i am really sorry.
Last edited by user on 15 Feb 2008, 11:24, edited 2 times in total.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Weather Effects

Post by FLOZi »

No, he means if there were such a thing as a Medal for Spring Stuff, he would give you it.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

it is almost done, i just need to make the clouds, how should they look like?
User avatar
clumsy_culhane
Posts: 370
Joined: 30 Jul 2007, 10:27

Re: Weather Effects

Post by clumsy_culhane »

user wrote:it is almost done, i just need to make the clouds, how should they look like?


.. like nice, fluffy clouds.. make a set or something, so all your differnt types of clouds (i dont know them off by heart) then have them at varying darkness... )


i dunno, do what ever, your current work is fantastic!
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

i made a cloud texture now, i will make a few more, they wont be 3d, and their texture will be small, 256x256, i made them at 2048x1024, then resized.

they look good, they are white, they can be used for almost anything.

clouds are easy and fun to make, i made about 7 textures in 10 mins.
user
Posts: 452
Joined: 22 Jan 2008, 16:33

Re: Weather Effects

Post by user »

should the fog have a texture?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Weather Effects

Post by Forboding Angel »

Prolly, but very much transparent. Might use the clouds thing in photoshop to a quick cheap random cloudy texture.
Post Reply

Return to “Feature Requests”