Volume bug at opacity = 0?
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.
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Volume bug at opacity = 0?
Yesterday, I tried to set up a transparent Disney BRDF material but failed. I also tried to combine it with volumes and failed.
Are both possible and if yes how?
Note
With Lux materials opacity has a different effect than with BRDF materials. The latter disappears completely the first revels internal volume completely if opacity is set to 0.
(BRDF - Bidirectional reflectance distribution function)
Are both possible and if yes how?
Note
With Lux materials opacity has a different effect than with BRDF materials. The latter disappears completely the first revels internal volume completely if opacity is set to 0.
(BRDF - Bidirectional reflectance distribution function)
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Disney BRDF material
Works as expected here.
Can you upload a small scene showing the problem?
Can you upload a small scene showing the problem?
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Disney BRDF material
Thank you for testing.
Yesterday, I had the same issue with Lux materials, the objects disappeared completely with opacity 0.0.
I wondered about it and looked for a solution. There is an easy one I do not understand. I removed the volume node from the camera. And there it was again, absorption and scattering of homogeneous volume. I am not sure if this is intended. I beg you an explanation.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Disney BRDF material
Your volume definitions are probably malformed. Hard to tell what exactly is wrong without the scene.
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Disney BRDF material
How? Volume definitions seem rather fool proof, aside of freaky values for scattering.
However, after I replaced the CPU fan, worn -out due to frequent high duty cycles, I post the relevant scenes.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Disney BRDF material
We get scenes with wrong setups all the time.FarbigeWelt wrote: ↑Wed Jul 10, 2019 12:09 pm How? Volume definitions seem rather fool proof, aside of freaky values for scattering.
It's mostly about incoherent interior/exterior volume settings (e.g. ray starts in volume x but surfaces assumes volume y as exterior).
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Disney BRDF material
Actually volumes are nicely described here Volumes and here Camera Panel - Camera Volume
Maybe there is one or are two things missing like volumes should overlap in case of a glass of water and priorities should increase from outest to most inner volume in this case.
A very important point is definitely missing (or I overlooked it by fast reading): Check the surface normals of your objects because internal and external volume depend on surface’s normal direction. (Most of time I get strange behavior/results the normals are the reason.
Depending on Blender operation surface normals get contra intuition directions.
I can only guess my observation is based again in wrongly oriented normals. All other stuff is logical and wrong scene setups have their roots in laziness or ignoring manual pages. RTFM, read the lovely manual.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Disney BRDF material
Please, have a look at both scenes. Enable view port rendering and spot the difference. Thank you. Because cannot see why object disappears completely when camera volume is set to air clear volume.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Volume bug at opacity = 0?
I don't see anything wrong with the scene. It might be a bug or a limitation.
When using a null material, it works as expected.
When using a null material, it works as expected.
Re: Volume bug at opacity = 0?
Transparency makes both the surface and the volume not visible: the object is not hit at all. If a ray doesn't hit the surface, it will never enter the interior volume (and then exit).
You should try to mix Disney wit Null, it should work
You should try to mix Disney wit Null, it should work