Planetside Software Forums

General => Terragen Discussion => Topic started by: Confusius on December 20, 2011, 07:02:29 AM

Title: Sun Rays through forest roof
Post by: Confusius on December 20, 2011, 07:02:29 AM
Hi Guys,

I'm trying to create a dense forest scene where the sun rays (god rays) come through the forest roof, something like this : (http://pixdaus.com/pics/1255892966VvA6Uge.jpg)

I've tried to do this using 3D clouds at camera height but it doesn't really work. This is the result : http://www.pasteall.org/pic/show.php?id=23239 (http://www.pasteall.org/pic/show.php?id=23239)

As you can see it's not really the desired effect :)

Does anyone know how I would get such an effect?

Thx!

C.

PS. the grass is from mr. lamppost's basic grass pack, trees I don't really remember...
Title: Re: Sun Rays through forest roof
Post by: freelancah on December 20, 2011, 07:20:30 AM
Haze value and "haze glow ammount" would be where I'd start
Title: Re: Sun Rays through forest roof
Post by: Confusius on December 20, 2011, 07:26:20 AM
Quote from: freelancah on December 20, 2011, 07:20:30 AM
Haze value and "haze glow ammount" would be where I'd start

So by that you mean get rid of the cloud layer and fiddle with the atmosphere settings?
Title: Re: Sun Rays through forest roof
Post by: freelancah on December 20, 2011, 07:50:57 AM
Yeah or perhaps a combination of both. You might have to bump the suns power too
Title: Re: Sun Rays through forest roof
Post by: Confusius on December 20, 2011, 08:08:33 AM
Thx freelancah,

I'll fiddle around with that and I'll post the results here later :)

Cheers!

Title: Re: Sun Rays through forest roof
Post by: dandelO on December 20, 2011, 01:05:57 PM
You need to check 'receive shadows from surfaces' in the haze layer for objects to cast rays through it. This will significantly raise render times, unfortunately.
Title: Re: Sun Rays through forest roof
Post by: bobbystahr on December 20, 2011, 03:20:00 PM
Was just about to add that but y beat me to it dandel0
Title: Re: Sun Rays through forest roof
Post by: Confusius on December 21, 2011, 02:59:32 AM
Thx guys,

I wasn't getting any further and almost gave up on it but I'll try your suggestions ;)

Cheers,

C.
Title: Re: Sun Rays through forest roof
Post by: Kevin F on December 21, 2011, 01:53:47 PM
if you'd like the tgd file for this  image or any in the series just lrt me know.

http://forums.planetside.co.uk/index.php?action=dlattach;topic=9775.0;attach=24313;image
Title: Re: Sun Rays through forest roof
Post by: rcallicotte on December 21, 2011, 02:00:10 PM
Nice, Kevin.  If only we could dust-like particles in that dust and some atmosphere, this image would be wonderful.
Title: Re: Sun Rays through forest roof
Post by: bobbystahr on December 21, 2011, 04:44:23 PM
Quote from: calico on December 21, 2011, 02:00:10 PM
Nice, Kevin.  If only we could dust-like particles in that dust and some atmosphere, this image would be wonderful.

now there's an idea to quadruple render times...particles of dust would be very expensive time wise
Title: Re: Sun Rays through forest roof
Post by: Confusius on December 22, 2011, 06:00:32 AM
Quote from: Kevin F on December 21, 2011, 01:53:47 PM
if you'd like the tgd file for this  image or any in the series just lrt me know.

http://forums.planetside.co.uk/index.php?action=dlattach;topic=9775.0;attach=24313;image

Hi Kevin,

Great render!

Is it possible to put the sun and atmo settings in a clip file? That way you don't need to give me the whole tgd. :)

Thx!!!

Title: Re: Sun Rays through forest roof
Post by: Kevin F on December 22, 2011, 08:54:09 AM
Here are two stripped down atmosphere clips as used in "elephants in the mist1 and 3". 1 uses a localised  cloud, 3 doesn't and is the better one I think. There's not much to them and no real secret, just make sure you have "receive shadows from surfaces" enabled and have a high quality/number of samples in the mist layer.
Don't think I even had raytrace  atmosphere on for version 3 (not sure it was available then).
Feel free to play and make sure you post your results.
Merry xmas.
Title: Re: Sun Rays through forest roof
Post by: Confusius on December 22, 2011, 10:02:55 AM
Quote from: Kevin F on December 22, 2011, 08:54:09 AM
Here are two stripped down atmosphere clips as used in "elephants in the mist1 and 3". 1 uses a localised  cloud, 3 doesn't and is the better one I think. There's not much to them and no real secret, just make sure you have "receive shadows from surfaces" enabled and have a high quality/number of samples in the mist layer.
Don't think I even had raytrace  atmosphere on for version 3 (not sure it was available then).
Feel free to play and make sure you post your results.
Merry xmass.

Thanks a thousand, Kevin. I will play with the clip files tonight and hopefully I can show some results tomorrow :)

Cheers and marry xmas,
Title: Re: Sun Rays through forest roof
Post by: bobbystahr on December 22, 2011, 10:23:01 AM
Thanks very much Kevin, now I can see where I'm off base.  ..   ...
Title: Re: Sun Rays through forest roof
Post by: bobbystahr on December 23, 2011, 12:22:36 PM
Quote from: Confusius on December 22, 2011, 10:02:55 AM
Quote from: Kevin F on December 22, 2011, 08:54:09 AM
Here are two stripped down atmosphere clips as used in "elephants in the mist1 and 3". 1 uses a localized  cloud, 3 doesn't and is the better one I think. There's not much to them and no real secret, just make sure you have "receive shadows from surfaces" enabled and have a high quality/number of samples in the mist layer.
Don't think I even had raytrace  atmosphere on for version 3 (not sure it was available then).
Feel free to play and make sure you post your results.
Merry xmass.

Thanks a thousand, Kevin. I will play with the clip files tonight and hopefully I can show some results tomorrow :)

Cheers and marry xmas,


You will discover that if you set this up Confusius, with the sun aimed at the camera coming through trees, that you will have to go into Atmosphere 01_1 and in the Quality Tab, check the Receive Shadows From Surfaces as well as the similar Tab in the Mist which is already set in the clip file. Otherwise there will be "sun burn" as I call through the leaves. Over all a good instructive share...thanks again Kevin .  ..   ...
Title: Re: Sun Rays through forest roof
Post by: dandelO on December 23, 2011, 12:44:10 PM
Far cheaper to render with a normal atmosphere(without 'shadows from surfaces' checked) and to use a localised cloud layer in the area you want the rays to be. Check 'receive shadows from surfaces' in that cloud layer only, and you will have a much quicker render than using the entire atmosphere with ray traced shadows enabled.
Title: Re: Sun Rays through forest roof
Post by: bobbystahr on December 23, 2011, 06:51:29 PM
Quote from: dandelO on December 23, 2011, 12:44:10 PM
Far cheaper to render with a normal atmosphere(without 'shadows from surfaces' checked) and to use a localised cloud layer in the area you want the rays to be. Check 'receive shadows from surfaces' in that cloud layer only, and you will have a much quicker render than using the entire atmosphere with ray traced shadows enabled.
But if you do not check Receive Shadows in the Atmos. you get "sunburn"...see image, which was the effect Confuscious was asking about in post 1