Volumetric breaks at mesh intersection
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.
- phoenixart
- Posts: 20
- Joined: Tue May 05, 2020 7:04 pm
- Location: Los Angeles
- Contact:
Volumetric breaks at mesh intersection
This is my first test with LuxCore Volumetrics, sorry if the solution has already been mentioned in the forum. I searched but no luck.
(Ignore the quality of the image, it's for testing purpose only)
Basically, I'm translating what I usually do in Cycles to Lux and I'm noticing something strange happening at the boundary of the ground plane. This is the same scene roughly translated for Cycles As you can see, the background in Cycles gets more muted and the ground blurs into the environment in a more, gradual way.
In LuxCore there's a sharp separation between the ground plane and the volumetric.
On top of that, the light has sharp edges (having the light visible doesn't fix the problem).
Here's my basic setup for the volumetric cube: Any hints?
(Ignore the quality of the image, it's for testing purpose only)
Basically, I'm translating what I usually do in Cycles to Lux and I'm noticing something strange happening at the boundary of the ground plane. This is the same scene roughly translated for Cycles As you can see, the background in Cycles gets more muted and the ground blurs into the environment in a more, gradual way.
In LuxCore there's a sharp separation between the ground plane and the volumetric.
On top of that, the light has sharp edges (having the light visible doesn't fix the problem).
Here's my basic setup for the volumetric cube: Any hints?
3D Designer, Photographer
https://phoenixart.com
https://phoenixart.com
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Volumetric breaks at mesh intersection
I usually define an external volume called Air.Clear.Volume.Prio.0 first. Then I define further volume, the internal volumes. In your case Air.Homo.Vol.Prio.10.phoenixart wrote: ↑Tue Sep 01, 2020 1:33 am This is my first test with LuxCore Volumetrics, sorry if the solution has already been mentioned in the forum. I searched but no luck.
(Ignore the quality of the image, it's for testing purpose only)
Any hints?
IOR are predefined in an utility node.
Then I set World volume and define Camera volume by choosing Air.Clear....
The camera should be located outside your cube with Material Null.
I hope this helps as a useful hint.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Volumetric breaks at mesh intersection
Your scene is likely to have a wrong setup: have you assigned a volume to the camera ? In alternative you can assign world volume.
- phoenixart
- Posts: 20
- Joined: Tue May 05, 2020 7:04 pm
- Location: Los Angeles
- Contact:
Re: Volumetric breaks at mesh intersection
It turns out everything works fine if the camera is positioned outside the volume as FarbigeWelt suggested.
Thanks!
Thanks!
3D Designer, Photographer
https://phoenixart.com
https://phoenixart.com
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Volumetric breaks at mesh intersection
Thank you for your feedback.phoenixart wrote: ↑Thu Sep 03, 2020 4:22 am It turns out everything works fine if the camera is positioned outside the volume as FarbigeWelt suggested.
Thanks!
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Volumetric breaks at mesh intersection
It works also if it inside and you assign the volume to the camera.phoenixart wrote: ↑Thu Sep 03, 2020 4:22 am It turns out everything works fine if the camera is positioned outside the volume as FarbigeWelt suggested.
- phoenixart
- Posts: 20
- Joined: Tue May 05, 2020 7:04 pm
- Location: Los Angeles
- Contact:
Re: Volumetric breaks at mesh intersection
Thanks for the heads up, Dade.
How do I do that?
Is it related to this?
3D Designer, Photographer
https://phoenixart.com
https://phoenixart.com
Re: Volumetric breaks at mesh intersection
Yes. Disable auto-detection, and you will be able to specify the volume manually.
Auto-detection only works if the surface in the middle of the film has correct interior/exterior volumes assigned (e.g. in your case, fog as exterior volume). However since it can be annoying to go through all materials and specify the correct volumes, you can instead specify the camera volume manually.
Auto-detection only works if the surface in the middle of the film has correct interior/exterior volumes assigned (e.g. in your case, fog as exterior volume). However since it can be annoying to go through all materials and specify the correct volumes, you can instead specify the camera volume manually.
- phoenixart
- Posts: 20
- Joined: Tue May 05, 2020 7:04 pm
- Location: Los Angeles
- Contact:
Re: Volumetric breaks at mesh intersection
Thanks, B.Y.O.B.B.Y.O.B. wrote: ↑Thu Sep 03, 2020 5:38 pm Yes. Disable auto-detection, and you will be able to specify the volume manually.
Auto-detection only works if the surface in the middle of the film has correct interior/exterior volumes assigned (e.g. in your case, fog as exterior volume). However since it can be annoying to go through all materials and specify the correct volumes, you can instead specify the camera volume manually.
I disabled the Auto-Detect, created a new Camera Volume which has these settings by default And now I guess I can simply have my cube with the Homogeneous Volume extending past the camera. Do I need to change any setting in the Camera Volume shader?
At the moment the result hasn't changed, I'm back to the clipping issue in the first image I posted.
3D Designer, Photographer
https://phoenixart.com
https://phoenixart.com
Re: Volumetric breaks at mesh intersection
If the camera is inside the fog, you need to set the fog volume as camera volume.
(it is the camera exterior volume)
(it is the camera exterior volume)