Planetside Software Forums

General => Terragen Discussion => Topic started by: tangeld on November 29, 2009, 04:57:27 PM

Title: Animating Water
Post by: tangeld on November 29, 2009, 04:57:27 PM
Does anyone have a tutorial on how to animate water? I am just trying to achieve water slowly moving/pulsing like an ocean would. I dont want waves or anything fancy, more just water slowly moving up and down sort of thing....

Oh and I am new to Terragen 2 so I don't even know if this can be done?
Title: Re: Animating Water
Post by: Henry Blewer on November 29, 2009, 06:15:32 PM
Welcome to the forum and to Terragen 2! There is a translate node. By using this plugged into the input of the water shader and some keyframes, you should be able to make the 'waves' move. It would take some work to make realistic breakers. It should be possible. There are more experienced people here who may have a better grasp of how to do this. I don't have the animation package.
Title: Re: Animating Water
Post by: Oshyan on November 29, 2009, 06:21:39 PM
For realistic motion you should probably use two Power Fractal noise functions, likely set to "Ridged" noise type (maybe one using a different one). One of them would be smaller scale. They should be translated separately (using the Transform Shader node). You may also want to vary the noise settings a bit over time. Unfortunately no one has yet posted an animation sample project for this, but some successful attempts have been made.

- Oshyan
Title: Re: Animating Water
Post by: Henry Blewer on November 29, 2009, 08:23:29 PM
Transform! Thanks for the correction. :-[
Title: Re: Animating Water
Post by: Thejazzshadow on November 30, 2009, 07:13:44 PM
Do you mean the Power Fractal shader? How do I translate them seperately?
Title: Re: Animating Water
Post by: Oshyan on November 30, 2009, 07:16:34 PM
Use 2 different Power Fractals and 2 separate Transform nodes.

- Oshyan
Title: Re: Animating Water
Post by: Thejazzshadow on November 30, 2009, 08:11:27 PM
Ok. That makes sense... but how do I combine them into the water shader?
Title: Re: Animating Water
Post by: Oshyan on November 30, 2009, 08:18:35 PM
Turn down the Roughness in the Water Shader to 0, thus disabling its built-in wave shapes. Then feed the Power Fractal output into the Water Shader input (left-side). That should give you proper displacement from the Power Fractal into the water shader.

- Oshyan
Title: Re: Animating Water
Post by: Thejazzshadow on November 30, 2009, 08:22:54 PM
Thanks
Title: Re: Animating Water
Post by: tangeld on December 01, 2009, 07:55:14 AM
Thanks for the help everyone!

I guess the next step is rendering the animation.
When I go to the "Render Full node" and then i go to the "sequence/output" tab, I press the render sequence button, but then it only renders one frame?
It says render from 1 to 100, but when i press the button, 100 turns into a 1 and only one frame renders??
Anyone else having these problems?
Title: Re: Animating Water
Post by: Thejazzshadow on December 01, 2009, 09:05:40 AM
Do you have Tg2 deep + animation?
Title: Re: Animating Water
Post by: tangeld on December 01, 2009, 10:20:47 AM
i have downloaded the free version, does this include the animation module?
Title: Re: Animating Water
Post by: Thejazzshadow on December 01, 2009, 10:39:30 AM
no... that's why it only does the first frame. You would need to purchase Tg2+animation. In the free version, are you able to animate any of the frames? If so, you could select a frame each time and see how the animated water is turning out.