strange behaviour of homogeneous scattering volume

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

strange behaviour of homogeneous scattering volume

Post by lighting_freak »

Hello all,

I did a comparision of two almost equal setups.
Both are using the same scattering volume definition but one with a perfectly polished surface and the other one with a surface using a little roughness (0,00001).

The results look like this:
polished surface
polished surface
little rough surface
little rough surface
Why does it appears that much different?

This are the belonging setups:
Musterplatte_polished.blend
(1.09 MiB) Downloaded 180 times
Musterplatte_rough.blend
(1.09 MiB) Downloaded 179 times
Thanks a lot for your help.

With best regards
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: strange behaviour of homogeneous scattering volume

Post by Dade »

You are using a max. eye path depth of 100 and a max. light depth of 100. So a single sample can potentially require to trace O(100^2) rays with BiDir. Russian roulette save the day making possible to render this image at the cost of an insane variance. Using a roughness of only 0.00001 increase the variance even more.

Short version: they are fireflies.

Try to use normal path length and the result (like 10+10 max. path depth) will look more reasonable:

rough.jpg
Support LuxCoreRender project with salts and bounties
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Re: strange behaviour of homogeneous scattering volume

Post by lighting_freak »

Hi Dade,

as you see in the image the reduced path length directly leads to a darkening of the material.
This material exists in reality. I have a material sample like this directly in front of me.

In my project this diffuse volume will be combined with a rough surface. The real part will be lit by a clear light pipe. This pipe is lit by a single LED. I'll need a high path lenght to get some visible results...

How would you define the scattering parameters if you want to mimic a real world material.
Thanks in advance.
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: strange behaviour of homogeneous scattering volume

Post by Dade »

lighting_freak wrote: Fri Nov 13, 2020 2:21 pm This pipe is lit by a single LED. I'll need a high path lenght to get some visible results...
You can't with FP32, etc.
Support LuxCoreRender project with salts and bounties
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Re: strange behaviour of homogeneous scattering volume

Post by lighting_freak »

Hello,
Dade wrote: Fri Nov 13, 2020 4:39 pm You can't with FP32, etc.
You mean it's impossible or it will just last long? I'm not looking quick results but for high realism. Is FP32 floating point precision? I don't get the connection between the precision and this surface/volume issue.

Thanks for your explanation.

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
CodeHD
Donor
Donor
Posts: 437
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: strange behaviour of homogeneous scattering volume

Post by CodeHD »

lighting_freak wrote: Fri Nov 13, 2020 9:02 pm You mean it's impossible or it will just last long? I'm not looking quick results but for high realism. Is FP32 floating point precision? I don't get the connection between the precision and this surface/volume issue.
In this case, it could be helpful to show a sketch of the full setup you eventually want to render.

When you say light pipe, I imagine the high number of bounces is required because of total-internal-reflection bounces inside the light pipe?

Generally speaking, a limitation of FP32 with high bounces would be a cumulative wrong ray destination. However, with relatively diffuse lighting through a lightpipe you should be fine.
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Re: strange behaviour of homogeneous scattering volume

Post by lighting_freak »

Hello all,

I'm still working on the example file... but the topic remains in my mind and also on my desk.

I've continued the investigation of the scatter volume and all the tests I've done share also one irregularity. The render results doesn't look blurry. It always appears like there's a colour fade out only with the growth in material thickness:

This is a photo of the material that is like imitate:
20201123_161405.jpg
You see the written information blurr out with more material.

What do you think about that?

BR
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
CodeHD
Donor
Donor
Posts: 437
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: strange behaviour of homogeneous scattering volume

Post by CodeHD »

lighting_freak wrote: Mon Nov 23, 2020 3:46 pm I've continued the investigation of the scatter volume and all the tests I've done share also one irregularity. The render results doesn't look blurry. It always appears like there's a colour fade out only with the growth in material thickness:

This is a photo of the material that is like imitate:
That is not a property of the scattering volume, but of the surface!
You can see in the picture, and also the manufacturer says on the website, that it has a "satinated" surface.

So you need to model that. I think a normal map could be sufficient, and certainly more efficient than to model out the geometry.
daros
Posts: 280
Joined: Thu Dec 12, 2019 3:25 pm
Location: inside human language
Contact:

Re: strange behaviour of homogeneous scattering volume

Post by daros »

Hi Lighting freak, i think that the blurriness increases not because the mayor thickness but simply because the mayor distance between the upper surface and the paper behind. Try to elevate the thinnest sample at the same elevation of the thickest one by putting some coins below it; you should get an even higher amount of blurriness.
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Re: strange behaviour of homogeneous scattering volume

Post by lighting_freak »

Hi,

thanks for your answers.
CodeHD wrote: Mon Nov 23, 2020 4:20 pm That is not a property of the scattering volume, but of the surface!
On this pictures you may see that the sample plate is almost specular:
20201124_095059.jpg
20201124_094949.jpg
Anyway I ran tests with different surface settings (rough, matte translucent, bump) and none really turns out to reach blurry appearance. In most cases the darkening comes back.
daros wrote: Mon Nov 23, 2020 5:53 pm i think that the blurriness increases not because the mayor thickness but simply because the mayor distance between the upper surface and the paper behind
The sample has a plane rear surface and the distance of the surfaces to each other is simply given by the geometry of the plate.

This is current model if anyone likes to play:
musterplatte_satinice.zip
(1.4 MiB) Downloaded 152 times
With best regards
OS - Windows 7 X64
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
Post Reply