Planetside Software Forums

General => Terragen Discussion => Topic started by: reck on September 15, 2007, 06:26:12 PM

Title: Why do the clouds not block the sun?
Post by: reck on September 15, 2007, 06:26:12 PM
I'm trying to create a sunset scene with some low level clouds. At the moment the clouds don't really block out the sun and the disc is still completely visible through the clouds. What setting do I need to alter to fix this? You can se what i'm talking about in pic1.

Also is it possible to make the sun look bright like it really does at sunset and also for the light to bleed through objects in front of it and the ground? see pic2 which is a photo, this is what I want to create in TG2 but with some clouds in front.


Title: Re: Why do the clouds not block the sun?
Post by: dhavalmistry on September 15, 2007, 06:32:55 PM
it is a known bug currently worked on...the workaround is to enable ray tracing....
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 15, 2007, 06:33:20 PM
Just found this other post, maybe this is the same thing.

http://forums.planetside.co.uk/index.php?topic=556.0
Title: Re: Why do the clouds not block the sun?
Post by: Will on September 15, 2007, 06:33:35 PM
BTW pic 2 looks great.
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 15, 2007, 06:34:14 PM
I have enabled ray traced shadows in the cloud layer and also the atmosphere, it makes no difference.
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 15, 2007, 06:35:30 PM
Yeah that second pic does look nice Will. It's just a photo I found on the internet that someone took. I only use that photo to demonstrate what i'm trying to achieve with the brightness and blooming/bleeding of the sun.
Title: Re: Why do the clouds not block the sun?
Post by: dhavalmistry on September 15, 2007, 07:18:20 PM
another workaround would be to disable the visible disk option in lighting tab....
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 15, 2007, 07:29:42 PM
Yeah I tried that but then you can't see the sun, and the image is based on a sunset so it sort of defeats the object if I turn it off.

After messing around with it for a bit I think it's just a limitation with the show disc option. Hopfully this will be improved by the final. Also I hope there will be a way to bloom/bleed the light to make it more realistic.
Title: Re: Why do the clouds not block the sun?
Post by: Seth on September 16, 2007, 04:29:20 AM
totally agree... i tried to do an image based on the sun behind the clouds but the sun was always visble... and as reck said, if your pic i based on the sun it's not possible to disable the "visible disk" tab... :)
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 16, 2007, 06:11:14 AM
I've finished rendering the image but it's not come out to good. It seems to be very hard to cover up the shape of the sun with clouds. As you can see in the image most of the clouds in front of the sun just make that part look a bit darker rather then breaking up the circle.

As it turns out what i'm more disappointed in is the fact the sun just looks like a white circle instead of blazing star. At low altitudes it seems very hard to make the sun look like a blinding light.

If anyone has a solution to this i'd love to know, but at the moment I can't get it to look like the photo in the first post.

Title: Re: Why do the clouds not block the sun?
Post by: Saurav on September 16, 2007, 09:25:30 AM
You can get that bloom/bleeding effect by outputting the render as an exr file and changing the exposure levels in Photoshop.
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 16, 2007, 10:23:53 AM
Hi thanks for the tip, unfortunatly I don't have Photoshop or any other commerical paint software for that matter. All the images I create are pure TG2 images so I can only use the features that are available in TG2.
Title: Re: Why do the clouds not block the sun?
Post by: efflux on September 16, 2007, 11:14:49 AM
Cinepaint is a free app that does exr, if editing that could be a solution. I don't know about the clouds problem and I have never tried a scene like this but the way I look it is that the sun disk is really just a fake thing. The light is still streaming from one point so increasing the sun disk does not increase the area that the light is coming from hence you won't get a glowing ball. There is also a problem with the sun disk not being actually in line with the light source when you move away from position 0,0,0.
Title: Re: Why do the clouds not block the sun?
Post by: Sengin on September 17, 2007, 10:36:49 AM
Perhaps incresing the density of the clouds to ~10 (or even more) would solve your problem?
Title: Re: Why do the clouds not block the sun?
Post by: cyphyr on September 17, 2007, 11:38:36 AM
Upping the cloud density to a higher value (depending on your scene but I used 10 in the image below) seems to work fine. One thing to note, again depending on your scene) is that if the cloud is "directly" in front of the sun then it will cast very dark shadows over your foreground, maybe what your looking for, maybe not. If not then you'll need to re-render the scene without the cloud and composite the two images together.
Richard
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 17, 2007, 02:23:56 PM
The cloud density was set to 5 on the images above and you can see that some of the clouds are in front of the sun but majority still don't cover it. I thought about raising the density even more but the problem with that is the other clouds just turn into black blobs as can be seen below. Maybe turning on GI, but only in the atmosphere would do the job.

I think with enough experimenting the clouds thing can be sorted but ultimately sunsets/rises won't look very good without using some kind of post processing to increase the brightness and blooming. When I get chance i'll download cinepaint as efflux suggested to see if I can turn the disc into a bright sun but i'm hoping that TG2 will get the ability to render good looking sun at low altitudes in the future without the need for 3rd party software.
Title: Re: Why do the clouds not block the sun?
Post by: bigben on September 18, 2007, 11:16:35 PM
GI will mainly affect those areas not lit by the sun.. but it may help increase the amount of light kicking back from other clouds.

There is a whole TAB of lighting tweaks in the cloud node. Playing with the sun glow amount/power sounds more like it will give you what you want. Increasing the amount widens the spread of the glow effect (angular distance from the sun), and power affects the intensity.

The propagation settings may also be useful but I don't know enough about these to advise you.
Title: Re: Why do the clouds not block the sun?
Post by: Volker Harun on September 19, 2007, 08:02:36 AM
When increasing the density, you might want to decrease the edge sharpness antiproportional.
Title: Re: Why do the clouds not block the sun?
Post by: Oshyan on September 19, 2007, 03:42:46 PM
Just to be clear turning on Raytraced Shadows in the atmosphere or cloud quality tabs will not fix this problem. The only thing that can address it is turning off the "visible disc". As others have speculated it is a fairly simplistic effect currently. We do plan to improve this in the future and provide a more realistic visible sun effect. Glow and/or bloom effects are also something we'll be looking into although they may not make it into the initial commercial release this year.

- Oshyan
Title: Re: Why do the clouds not block the sun?
Post by: reck on September 19, 2007, 06:07:22 PM
Quote from: Oshyan on September 19, 2007, 03:42:46 PM
As others have speculated it is a fairly simplistic effect currently. We do plan to improve this in the future and provide a more realistic visible sun effect. Glow and/or bloom effects are also something we'll be looking into although they may not make it into the initial commercial release this year.

- Oshyan

This is very good news  ;D