Planetside Software Forums

General => Terragen Discussion => Topic started by: gradient on January 16, 2007, 11:45:15 PM

Title: Tornado/rain/particle effects
Post by: gradient on January 16, 2007, 11:45:15 PM
Playing around trying to see if, eventually, we can achieve some type of rain, snow or bizarre cloud effects.
Crude first attempt here...next step to see if I can somehow apply this technique to a cloud layer.....
Title: Re: Tornado/rain/particle effects
Post by: buzzzzz on January 16, 2007, 11:59:36 PM
Keep playing Man! Looks like you are on to something! You seem to be having fun to!  ;D
Title: Re: Tornado/rain/particle effects
Post by: Superza on January 17, 2007, 04:59:17 AM
Great Idea !!
Title: Re: Tornado/rain/particle effects
Post by: Will on January 17, 2007, 06:03:14 AM
Nice!

Regards,

Will
Title: Re: Tornado/rain/particle effects
Post by: rcallicotte on January 17, 2007, 09:16:04 AM
Interesting.  Wait until that next patch and I bet we can do a lot more with a lot more expected efficiency.
Title: Re: Tornado/rain/particle effects
Post by: Dark Fire on January 17, 2007, 12:07:57 PM
I've always wondered about how I could create things like rain. A tornado would look pretty cool in a picture too. Once methods of creating these features have been established, it would be interesting to try to animate them.
Title: Re: Tornado/rain/particle effects
Post by: Njen on January 17, 2007, 12:29:42 PM
If it's rain in the distance, you can use a cloud with very low edge density.
Title: Re: Tornado/rain/particle effects
Post by: buchvecny on January 17, 2007, 01:04:32 PM
i think the best way how to make rain/snow is to MODEL it. and then just add 100 000 objects under population. the closer rain drops will be pretty detailed too.
Title: Re: Tornado/rain/particle effects
Post by: StickerSticker on January 17, 2007, 01:06:27 PM
like real life raindrops are detailed?  ;D
Title: Re: Tornado/rain/particle effects
Post by: Njen on January 17, 2007, 01:33:10 PM
Rain drops are just spheres, quite easy to model :)
Title: Re: Tornado/rain/particle effects
Post by: rcallicotte on January 17, 2007, 01:36:01 PM
Coolnesses.

Quote from: buchvecny on January 17, 2007, 01:04:32 PM
i think the best way how to make rain/snow is to MODEL it. and then just add 100 000 objects under population. the closer rain drops will be pretty detailed too.
Title: Re: Tornado/rain/particle effects
Post by: Dark Fire on January 17, 2007, 02:54:24 PM
Quote from: buchvecny on January 17, 2007, 01:04:32 PM
i think the best way how to make rain/snow is to MODEL it. and then just add 100 000 objects under population. the closer rain drops will be pretty detailed too.
That would be a bit complicated to animate. Does anyone have any suggestions for making a tornado?
Title: Re: Tornado/rain/particle effects
Post by: wimbledonian on January 17, 2007, 06:52:56 PM
I don't know about rain but made some fast-falling snow by accident http://www.flickr.com/photos/wimbledonian/360993597/ (http://www.flickr.com/photos/wimbledonian/360993597/) - I think the camera was just under the surface.

Ian
Title: Re: Tornado/rain/particle effects
Post by: Will on January 17, 2007, 06:54:16 PM
Yea you were under the surface. But cool image non-the-less.

Regards,

Will
Title: Re: Tornado/rain/particle effects
Post by: Que on January 17, 2007, 09:27:00 PM
Yeah i think thats what id like to see someone create a nice looking tornado ...i think i read something about applying a warp shader or something to a cloud ..ive tried but my cloud vanishes but ive no idea what im doing to be honest lol
Title: Re: Tornado/rain/particle effects
Post by: glen5700 on January 17, 2007, 10:38:54 PM
I modeled a tornado in Rhino using some lofts and brought the object into Terragen 2 but had no success on applying clouds to the object. My thought was to get the clouds to fill the volume of the object.

We probably need a particle generator with basic forces that clouds (3D) could be applied to.

Glen
Title: Re: Tornado/rain/particle effects
Post by: buchvecny on January 18, 2007, 08:55:09 AM
well the .obj support isnt 100% yet.
Title: Re: Tornado/rain/particle effects
Post by: Oshyan on January 19, 2007, 02:04:14 AM
The volumetric (cloud) shader can't currently be applied to objects.

- Oshyan
Title: Re: Tornado/rain/particle effects
Post by: micter on January 19, 2007, 06:21:37 AM
Hi !

In the same sort of things, I tried to apply a warp or displacement shader to 3D clouds, without success.
Observing what 3Dguy and Sandpiper have done with their distorded terrains, I thought we could do the same with the clouds, and make some clouds columns, or strange things like that.

It seems that for the terrain distorsion, we somewhat obliged to put a "compute terrain" shader at the beginning and at the end of the list of nodes. So I tried to put a second "atmosphere" shader before linking to the planet node, but without success again.

Does someone tried something like that ? I tried many many things, but can't remember exactly what. The only thing I remember is the result : clouds without distorsion !!!

Maybe we should try something with 2D clouds, I don't know...


Michaël (micter)
http://micter.free.fr


Title: Re: Tornado/rain/particle effects
Post by: Njen on January 19, 2007, 09:28:53 AM
I know that JimB and myself were trying to have clouds follow the terrain with not much success. I don't think much can be done with clouds shaping at the current stage of TGTP. Maybe in the future we will recieve better cloud sculpting tools.
Title: Re: Tornado/rain/particle effects
Post by: Dark Fire on January 19, 2007, 01:13:18 PM
The clouds definately need a lot more customisability - it just occured to me today how interesting it would be if we could import real weather data (clouds, rain, etc.) into Terragen, similar to the way we can import real terrains.
Title: Re: Tornado/rain/particle effects
Post by: Will on January 19, 2007, 01:14:16 PM
Quote from: Dark Fire on January 19, 2007, 01:13:18 PM
The clouds definately need a lot more customisability - it just occured to me today how interesting it would be if we could import real weather data (clouds, rain, etc.) into Terragen, similar to the way we can import real terrains.

you can, Here http://forums.planetside.co.uk/index.php?topic=544.0

Regards,

Will
Title: Re: Tornado/rain/particle effects
Post by: Oshyan on January 19, 2007, 06:22:00 PM
The one major thing to remember about the clouds as opposed to terrain is there is *no displacement*. Cloud shape is based on Density Shader input, which by default is connected to a fractal noise type function. Trying to apply displacement to the clouds directly won't work; neither will trying to apply *displacement* to the noise shader connected to the Density Shader input.

To affect the cloud shape you'd need to work directly on the color values of the Density Shader's input node. This means your Warp, or any other shader you want to affect cloud shape, should be connected to the default Density Shader power fractal node, or at least connected to this Density Shader input (which interprets color values as volume).

Remember that displacement will have no effect, your changes will only be those that happen in color space, so mess with what's on the other tabs and ignore displacement - all the other settings should have some effect. You can either use the main Input connection of the default Density Shader to get a mix, or use the Blend Shader to get a kind of "masking" effect. The Warp effect is setup a bit differently but again it needs to interact with the color values of the default Density Shader, so keep that in mind.

Granted the options for working with clouds aren't as powerful as they could be, but you still have a whole lot of flexibility if you know how the system works. Simply assuming it works like terrain (e.g. using displacement) is the biggest misunderstanding most people have. Hopefully the above will get you to a point where you can at least experiment successfully.

- Oshyan
Title: Re: Tornado/rain/particle effects
Post by: micter on January 20, 2007, 02:36:44 AM
Thank you for your suggestions and for telling us how it works.
I'll try to play with this "density shader", and see if I can get something with it.


Michaël (micter)
Title: Re: Tornado/rain/particle effects
Post by: Dark Fire on January 20, 2007, 04:27:34 PM
Quote from: Will on January 19, 2007, 01:14:16 PM
Quote from: Dark Fire on January 19, 2007, 01:13:18 PM
The clouds definately need a lot more customisability - it just occured to me today how interesting it would be if we could import real weather data (clouds, rain, etc.) into Terragen, similar to the way we can import real terrains.

you can, Here http://forums.planetside.co.uk/index.php?topic=544.0

Regards,

Will
Thanks - I will have a lot of fun with real weather systems. However, the ability to import rain data and automatically generate various densities and sizes of raindrops and the ability to have them fall and be affected by wind in animations would be useful. A rainy and windy evening would be a lot more realistic than the thousands of beautiful mountains and sunsets created with Terragen...