Hi, is it possible to use luxcore's volumetrics in order to create haze like this?
Thanks
Haze
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Haze
Yes. For example, you can surround the scene with a big box that has a null material with homogeneous interior volume. Use a very low scattering value, something like 0.001.
Remember to set the same volume as exterior volume of the camera, if the camera is inside the box.
Remember to set the same volume as exterior volume of the camera, if the camera is inside the box.
Re: Haze
Because of the simplicity of the Workflow in felix they use world volume. I mean No box mesh so that the user have a check box plus few simple settings.B.Y.O.B. wrote: ↑Thu Sep 09, 2021 4:14 pm Yes. For example, you can surround the scene with a big box that has a null material with homogeneous interior volume. Use a very low scattering value, something like 0.001.
Remember to set the same volume as exterior volume of the camera, if the camera is inside the box.
But i guess the principle is the same. Don't know also but i've seen simillar effect being applied in sky model.
Re: Haze
The problem with a foggy world volume is that it makes all light sources that are infinitely far away basically unusable. That means the sun, infinite lights like HDRI backgrounds, sky etc.
If you want to have some light haze in the scene with a sun and sky overhead, you'll need to use a fog box mesh to define the boundaries of the fog. You could probably automatically compute a good size for such a box from the scene geometry and the position and direction of the camera (don't make the box larger than necessary because that enlarges the scene bounding sphere, which can lead to numerical precision problems with infinite light sources).
If you want to have some light haze in the scene with a sun and sky overhead, you'll need to use a fog box mesh to define the boundaries of the fog. You could probably automatically compute a good size for such a box from the scene geometry and the position and direction of the camera (don't make the box larger than necessary because that enlarges the scene bounding sphere, which can lead to numerical precision problems with infinite light sources).
Re: Haze
Great, thanks. I think we can manage to automatically build a bounding box with reasonable proportions for this purpose.
Re: Haze
Thanks for the explanation. It make sense now. I use always volumetric Box in my project in blender so I was thinking that world volume is exactly the same but more general.B.Y.O.B. wrote: ↑Thu Sep 09, 2021 6:53 pm The problem with a foggy world volume is that it makes all light sources that are infinitely far away basically unusable. That means the sun, infinite lights like HDRI backgrounds, sky etc.
If you want to have some light haze in the scene with a sun and sky overhead, you'll need to use a fog box mesh to define the boundaries of the fog. You could probably automatically compute a good size for such a box from the scene geometry and the position and direction of the camera (don't make the box larger than necessary because that enlarges the scene bounding sphere, which can lead to numerical precision problems with infinite light sources).