Questions about daylight env and mediums

Forums: Questions about daylight env and mediums
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

Questions about daylight env and mediums

Postby timAugustine » Fri May 03, 2024 4:30 pm

timAugustine Fri May 03, 2024 4:30 pm
Hi all,

I'm experimenting with mediums and daylight environments to create fog/atmospheric perspective effects. I have some questions about the process:

1) Medium Radius: I'm guessing this is the sphere around the camera inside which ALL volume calculations will be made. What is the unit used here? If I'm using metric and the farthest object from camera is 1000 meters, should the radius be at least 1000 then?

2) Large scenes: In one of my experiments, I have a large scene with the farthest object (mountain peaks) being 8000 meters away from the camera. Understandably, the density needs to be very, very low for light to not be completely cut off. But I'm noticing that after a point, even if I decrement the density by one step (0.00018 to 0.00017), the volume effects just disappear. They were very visible at 0.00018, but completely gone in 0.00017. I'm not sure if this is a bug or limitation or a mistake on my part.

I'm including the link to my scene here if you'd like to explore it.

render_settings.png
Render Settings

env_settings.png
Daylight Environment Settings [Note: Density is set to 0.00017 but it's rounded up to .0002]

density_value_high.png
Density: .00018

density_value_low.png
Density: .00017


Here are other details about the scene. Let me know if you need to know anything more about this.

Blender version: Blender_Octane_Edition_2023.1_28.10.1_stable
Octane server: OctaneServer_Prime_2023.1.2_28.10_stable

Really appreciate your thoughts, helps and expertise on this!
timAugustine
Licensed Customer
Licensed Customer
 
Posts: 34
Joined: Fri Feb 04, 2022 12:39 am

Re: Questions about daylight env and mediums

Postby Andreas_Resch » Fri May 03, 2024 5:00 pm

Andreas_Resch Fri May 03, 2024 5:00 pm
The normals of your fog box are flipped. Reverse them and it works better.
Andreas_Resch
 
Posts: 282
Joined: Sat Jul 28, 2018 6:29 am

Re: Questions about daylight env and mediums

Postby timAugustine » Fri May 03, 2024 6:13 pm

timAugustine Fri May 03, 2024 6:13 pm
Hi Andreas_Resch, I think that was an old fog box I'm not using anymore. I'm just trying to use the medium on the daylight environment at the moment at the moment
timAugustine
Licensed Customer
Licensed Customer
 
Posts: 34
Joined: Fri Feb 04, 2022 12:39 am

Re: Questions about daylight env and mediums

Postby Andreas_Resch » Fri May 03, 2024 6:19 pm

Andreas_Resch Fri May 03, 2024 6:19 pm
So it works now?
Andreas_Resch
 
Posts: 282
Joined: Sat Jul 28, 2018 6:29 am

Re: Questions about daylight env and mediums

Postby timAugustine » Fri May 03, 2024 7:33 pm

timAugustine Fri May 03, 2024 7:33 pm
Sorry for the confusion! I'm still having the issue. This post is entirely about setting up volumes with the daylight environment node alone. The fog volume box you found in the blend file is from an older experiment that I forgot to delete.

I'm not using the volume box to set up fog at all
timAugustine
Licensed Customer
Licensed Customer
 
Posts: 34
Joined: Fri Feb 04, 2022 12:39 am

Re: Questions about daylight env and mediums

Postby Andreas_Resch » Sat May 04, 2024 8:23 am

Andreas_Resch Sat May 04, 2024 8:23 am
That's a tricky one. I tried a few things but couldn't find a solution. The cutoff happens in the fog box as well. Interestingly enough at the same value. Maybe some mathematical limitation that is reached?
Andreas_Resch
 
Posts: 282
Joined: Sat Jul 28, 2018 6:29 am

Re: Questions about daylight env and mediums

Postby J.C » Sat May 04, 2024 1:12 pm

J.C Sat May 04, 2024 1:12 pm
I suggest using Post Processing fog effect and z-depth compositing for such effects. They are completely noiseless and render in real-time. The medium in environment node was pretty useless for all my scenes I tried. It takes too much time to render and it is hard to get the proper results.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1744
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Questions about daylight env and mediums

Postby skientia » Sat May 04, 2024 7:36 pm

skientia Sat May 04, 2024 7:36 pm
J.C wrote:I suggest using Post Processing fog effect and z-depth compositing for such effects.

A viable option and demonstrated here, if it is of any help (universal workflow).

J.C wrote:The medium in environment node was pretty useless for all my scenes I tried. It takes too much time to render and it is hard to get the proper results.

There are some aspect to consider for satisfactory and optimized results (e.g. Single Scatter, mentioned on the linked page), some of which are mentioned here.
A free informative resource for everyone
SKIENTIA.CO/OCTANE
skientia
Licensed Customer
Licensed Customer
 
Posts: 46
Joined: Tue Mar 12, 2024 1:50 am

Return to Blender


Who is online

Users browsing this forum: No registered users and 3 guests

Tue May 21, 2024 7:39 pm [ UTC ]