Planetside Software Forums

General => Terragen Discussion => Topic started by: Njen on January 16, 2007, 02:03:04 PM

Title: Distance Shader with 3D Clouds?
Post by: Njen on January 16, 2007, 02:03:04 PM
Is there anyone who can get this working? If so, can you please post the tgd file? I would be extremely grateful :D
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 02:06:19 PM
Il give it a try.



Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 02:18:12 PM
Njen what are you tring to acomplish? becuase Ive got a way to get an area around the camera to display a diffrent color from that out side a given radius.

Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Njen on January 16, 2007, 02:20:14 PM
I want no clouds close to the camera, and clouds far away from the camera.
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 02:21:12 PM
Oh ok Ill keep working then ;)

Regards,

Will

Edit: well that was weird, I went to render and everything froze for a minute then everything except menu bars of all my programs went black, I exited and it stoped.
Title: Re: Distance Shader with 3D Clouds?
Post by: Blackheart6004 on January 16, 2007, 02:53:46 PM
If you're suggesting pf putting clouds on the horizon, i would go through this thread - http://forums.planetside.co.uk/index.php?topic=111.0
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 02:56:01 PM
Thanks blackhart Ill keep working from there then, hold on njen im trying!  :D

Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Njen on January 16, 2007, 03:17:27 PM
Quote from: Blackheart6004 on January 16, 2007, 02:53:46 PM
If you're suggesting pf putting clouds on the horizon, i would go through this thread - http://forums.planetside.co.uk/index.php?topic=111.0

Blackheart, I actually posted in that thread asking the same thing, but I got no response with a working file, but that might be because I was hijacking the thread. So I decided to make a nw thread specifically asking about this topic.
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 03:31:18 PM
By gorge (hows it spelled?) I think ive got it. though there is weird shadow artifacts not sure about those.

Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 16, 2007, 03:50:50 PM
by the way you may need to with the cloud, denisty, and distence shaders to get it exactly right.


Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Njen on January 16, 2007, 04:04:20 PM
I just tried it and it didn't work when the camera was below the clouds. I posted already in the other thread.
Title: Re: Distance Shader with 3D Clouds?
Post by: ProjectX on January 17, 2007, 04:14:25 AM
that could be because the distance from the camera inreased when you went below the clouds, try increasing the range of the distance shader.
Title: Re: Distance Shader with 3D Clouds?
Post by: Njen on January 17, 2007, 04:46:41 AM
No it's not. I already tried increasing the distance.
Title: Re: Distance Shader with 3D Clouds?
Post by: Kevin F on January 17, 2007, 06:08:28 AM
Njen, is this what your after? I just played around with Wills file (thanks Will). Precise placement of clouds is not really possible, since they're randomly generated by the seed value. I changed this 'till I got something roughly right then as Will said, adjusted the Density values in the Density fractal (Cloud fractal shader3). Don't know what ticking the clamp low box does, but I ticked it anyway!
Kevin.
Title: Re: Distance Shader with 3D Clouds?
Post by: Will on January 17, 2007, 06:15:35 AM
Nice work, I think what njen is after though is that when your on the ground that  there will be no clouds near the camera. The only way I think that it could be done with the distence shader is if they had a clindrical way of measurment.


Regards,

Will
Title: Re: Distance Shader with 3D Clouds?
Post by: Njen on January 17, 2007, 06:53:21 AM
Quote from: Kevin F on January 17, 2007, 06:08:28 AM
Njen, is this what your after? I just played around with Wills file (thanks Will). Precise placement of clouds is not really possible, since they're randomly generated by the seed value. I changed this 'till I got something roughly right then as Will said, adjusted the Density values in the Density fractal (Cloud fractal shader3). Don't know what ticking the clamp low box does, but I ticked it anyway!
Kevin.

I see what you are doing, but what I want is basically a wall of cloud in a defined shape. I too have played around with seed, density and coverage values a lot in other scenes I am working on. What I want I am 100% sure is a bug, which I posted in the support forum.

Cheers.
Title: Re: Distance Shader with 3D Clouds?
Post by: edlo on January 17, 2007, 03:27:15 PM
Quote from: njen on January 17, 2007, 06:53:21 AM
Quote from: Kevin F on January 17, 2007, 06:08:28 AM
Njen, is this what your after? I just played around with Wills file (thanks Will). Precise placement of clouds is not really possible, since they're randomly generated by the seed value. I changed this 'till I got something roughly right then as Will said, adjusted the Density values in the Density fractal (Cloud fractal shader3). Don't know what ticking the clamp low box does, but I ticked it anyway!
Kevin.

I see what you are doing, but what I want is basically a wall of cloud in a defined shape. I too have played around with seed, density and coverage values a lot in other scenes I am working on. What I want I am 100% sure is a bug, which I posted in the support forum.

Cheers.



Try modifying the cloud distribution attaching an image to the blend shader just make the image in photoshop the same as you would with a mask.
Title: Re: Distance Shader with 3D Clouds?
Post by: bigben on January 17, 2007, 11:31:05 PM
Quote from: edlo on January 17, 2007, 03:27:15 PM
Try modifying the cloud distribution attaching an image to the blend shader just make the image in photoshop the same as you would with a mask.

Here is an approach I posted in the other thread.  All you have to do is modify the image used as a mask to suit your own needs.

http://forums.planetside.co.uk/index.php?topic=111.msg3862#msg3862 (http://forums.planetside.co.uk/index.php?topic=111.msg3862#msg3862)

Ben