Clamp Output

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.
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Clamp Output

Post by david57 »

Looks like the Set Suggested Value for Clamp Output is not working correctly but not sure.
Maybe im wrong.
When the Clamp Output is checked or enabled it causes the scene to crash.
Goodnight...
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Clamp Output

Post by Dade »

david57 wrote: Mon Apr 23, 2018 5:47 am Looks like the Set Suggested Value for Clamp Output is not working correctly but not sure.
Maybe im wrong.
When the Clamp Output is checked or enabled it causes the scene to crash.
Goodnight...
I need specific details about the crash: how to reproduce problem and/or a test scene causing the crash.
Support LuxCoreRender project with salts and bounties
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Re: Clamp Output

Post by david57 »

Ok, Im using a test scene from wahn.
It renders beautifully without a crash but when I use the suggested value for the
clamp output it crashes in about 4 minutes.
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Clamp Output

Post by Racleborg »

10 mins with clamp ON. No problem here with old i7 920 and 12gb ram (attached)
Attachments
Capture.PNG
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Re: Clamp Output

Post by david57 »

It might require more render time or samples.
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Re: Clamp Output

Post by david57 »

With this scene, I disabled the Clamp Output and rendered it for 8 hours without a crash.
Attachments
Test.jpg
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Clamp Output

Post by Dade »

I will check this problem soon after I finished fixing kintuX's problematic scene.
Support LuxCoreRender project with salts and bounties
Racleborg
Posts: 621
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Clamp Output

Post by Racleborg »

Re tested the Breakfast_Lux Test Scene with Bi Dir and Clamp On and it crashed after about 12 mins.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Clamp Output

Post by Dade »

david57 wrote: Mon Apr 23, 2018 5:18 pm Ok, Im using a test scene from wahn.
It renders beautifully without a crash but when I use the suggested value for the
clamp output it crashes in about 4 minutes.
I was able to reproduce the problem here and it should be now fixed. It was an out of bound memory access in variance clamping when using metropolis sampler due to yet-another-numerical-precision problem.

You can download a pyluxcore.pyd file with the fix from https://drive.google.com/file/d/1D8tenO ... sp=sharing
Support LuxCoreRender project with salts and bounties
david57
Posts: 103
Joined: Mon Jan 22, 2018 11:30 pm

Re: Clamp Output

Post by david57 »

Thank you.
Post Reply