weird volumetric lighting glitch

Use this forum for general user support and related questions.
User avatar
Dade
Developer
Developer
Posts: 2907
Joined: Mon Dec 04, 2017 8:36 pm

Re: weird volumetric lighting glitch

Post by Dade » Mon Jun 10, 2019 9:52 am

B.Y.O.B. wrote:
Sun Jun 09, 2019 9:51 pm
About the weird stripe: I can reproduce it even with just the volume cube and the sun. Maybe it's a bug, or maybe some other problem in the scene that I couldn't find.
I should have fixed the problem.
Support LuxCoreRender project with salts and bounties

User avatar
FarbigeWelt
Donor
Donor
Posts: 833
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Scattering volume: BCD succeeds where OIDN fails

Post by FarbigeWelt » Mon Jun 10, 2019 10:14 am

Looks like there is still a good reason to keep BCD on board of LuxCorerRender.
Scenes with scattered light, homogeneous volume or heterogeneous volume, lead on openCL to a strange distributed noise pattern even. These patterns do not disappear with 2500 samples. OIDN is currently not able to denoise these scattered patterns as shown in last post. OIDN creates organic very disturbing looking patterns.
But there are two solutions. One is to switch to BiDir, Metropolis,. Even with a noisy image OIDN makes a good result with the BiDir render.
Another one is to render openCL, what is much faster to achieve the same sample count, and use 'good old' BCD. Just switch denoiser type to BCD with default values and you get following results. Okay, BCD is slower. BCD plus openCL is still much faster than BiDir plus OIDN.
Sun beam in house openCL 1500 samples BCD 0.0. homo vol sky 1m42s indir cache.png
[attachment=1]Sun beam in house openCL 2500 samples OIDN 1.0. indir cache homo vol no sky
Sun beam in house openCL 1500 samples BCD 1.0. homo vol sky 2m03s denoise 18s indir cache.png
Sun beam in house openCL 1500 samples BCD 1.0. homo vol sky 2m03s denoise 18s indir cache
Sun beam in house openCL 1500 samples BCD 0.0. homo vol sky 2m37s..png
Sun beam in house openCL 1500 samples BCD 0.0. homo vol sky 2m37s
Sun beam in house openCL 1500 samples BCD 1.0. homo vol sky 3m00s denoise 21s..png
Sun beam in house openCL 1500 samples BCD 1.0. homo vol sky 3m00s denoise 21s
160.8 | 42.8 (10.7) Gfp / Windows 10 Pro, intel i7 4770K@3.5, 32 GB | 2 AMD Radeon 5700 XT, 8 GB
17.3 | 19.0 ( 4.7) Gfp / macOS X 13.6, iMac 27'', 2010, intel i7 870@2.93, 24 GB | ATI Radeon HD 5750, 1 GB
#luxcorerender | Gfp = SFFT Gflops

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2868
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: weird volumetric lighting glitch

Post by B.Y.O.B. » Mon Jun 10, 2019 10:37 am

But isn't this result still wrong?
Look at the corners of the room - they are completely blurred.
Judging from the noisy images it looks to me like they should be sharp.

Try to use a texture on the back wall and see what the denoisers do to that.
Support LuxCoreRender project with salts and bounties

User avatar
FarbigeWelt
Donor
Donor
Posts: 833
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: weird volumetric lighting glitch

Post by FarbigeWelt » Mon Jun 10, 2019 10:47 am

B.Y.O.B. wrote:
Mon Jun 10, 2019 10:37 am
Try to use a texture on the back wall and see what the denoisers do to that.
EDIT
Instead of a texture I placed a spot light for the projection of the test picture.
Sun beam in house openCL 1500 samples BCD 1.0. test projection 8m02s denoise 1m27s.png
Sun beam in house openCL 1500 samples BCD 1.0. test projection 8m02s denoise 1m27s
The comparison of BCD and OIDN. BCD keeps details and flatness. OIDN creates wrinkled paper like faces and looses details.
Sun beam in house openCL 1500 samples test projection compare BCD to OIDN.png
Sun beam in house openCL 1500 samples test projection compare BCD to OIDN
Last edited by FarbigeWelt on Mon Jun 10, 2019 11:50 am, edited 1 time in total.
160.8 | 42.8 (10.7) Gfp / Windows 10 Pro, intel i7 4770K@3.5, 32 GB | 2 AMD Radeon 5700 XT, 8 GB
17.3 | 19.0 ( 4.7) Gfp / macOS X 13.6, iMac 27'', 2010, intel i7 870@2.93, 24 GB | ATI Radeon HD 5750, 1 GB
#luxcorerender | Gfp = SFFT Gflops

madcat117
Posts: 54
Joined: Sat Dec 08, 2018 6:59 am

Re: weird volumetric lighting glitch

Post by madcat117 » Mon Jun 10, 2019 11:10 am

lord Dade has blessed us once again!

cvvzoou80pp01.jpg

User avatar
FarbigeWelt
Donor
Donor
Posts: 833
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Scattering volume: BCD vs. OIDN (2:0)

Post by FarbigeWelt » Mon Jun 10, 2019 12:02 pm

Sun beam in house openCL 1500 samples BCD 0.0. test back wall.png
Sun beam in house openCL 1500 samples BCD 0.0. test back wall
Okay, the image is beside of the beam very noisy.
Sun beam in house openCL 1500 samples BCD 1.0. test back wall.png
Sun beam in house openCL 1500 samples BCD 1.0. test back wall
BCD detects the correct patterns in the test picture. However, the result is a bit blurry but then with this amount of noise the result is well acceptable. :)
Sun beam in house openCL 1500 samples OIDN 1.0. test back wall.png
Sun beam in house openCL 1500 samples OIDN 1.0. test back wall
Umpf. OIDN's algorithms got hick up by eating the openCL patterns of scattering volume. Fancy, but not very accurate. ;-)

EDIT
And this is the last image of the little investigation.
Sun beam in house, BCD openCL without indir cache 1500 samples.png
Sun beam in house, BCD openCL without indir cache 1500 samples
I cannot see any wrong behavior of LuxCoreRender. There is obviously everything okay from material volume to camera volume including indirect cache.
160.8 | 42.8 (10.7) Gfp / Windows 10 Pro, intel i7 4770K@3.5, 32 GB | 2 AMD Radeon 5700 XT, 8 GB
17.3 | 19.0 ( 4.7) Gfp / macOS X 13.6, iMac 27'', 2010, intel i7 870@2.93, 24 GB | ATI Radeon HD 5750, 1 GB
#luxcorerender | Gfp = SFFT Gflops

madcat117
Posts: 54
Joined: Sat Dec 08, 2018 6:59 am

Re: weird volumetric lighting glitch

Post by madcat117 » Mon Jun 10, 2019 3:07 pm

I LOVE YOUR TESTS

User avatar
FarbigeWelt
Donor
Donor
Posts: 833
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: weird volumetric lighting glitch

Post by FarbigeWelt » Tue Jun 11, 2019 4:47 pm

madcat117 wrote:
Mon Jun 10, 2019 3:07 pm
I LOVE YOUR TESTS
Thank you a lot. You are welcome.
160.8 | 42.8 (10.7) Gfp / Windows 10 Pro, intel i7 4770K@3.5, 32 GB | 2 AMD Radeon 5700 XT, 8 GB
17.3 | 19.0 ( 4.7) Gfp / macOS X 13.6, iMac 27'', 2010, intel i7 870@2.93, 24 GB | ATI Radeon HD 5750, 1 GB
#luxcorerender | Gfp = SFFT Gflops

kintuX
Posts: 444
Joined: Wed Jan 10, 2018 2:37 am

Re: weird volumetric lighting glitch

Post by kintuX » Wed Jun 12, 2019 9:12 am

Still appears to be something present... :?
RAW render
Prism2CF_LC2-2b_RAW_VolumeGlitch.jpg
CONVERGENCE mix with SAMPLECOUNT
Prism2LC 00001_CONVERGENCE over SAMPLECOUNT.jpg
Scene
Prism2LC.blend
(842.36 KiB) Downloaded 21 times

User avatar
epilectrolytics
Donor
Donor
Posts: 519
Joined: Thu Oct 04, 2018 6:06 am

Re: weird volumetric lighting glitch

Post by epilectrolytics » Wed Jun 12, 2019 10:58 am

kintuX wrote:
Wed Jun 12, 2019 9:12 am
CONVERGENCE mix with SAMPLECOUNT
Very nice drawing :D

Really need to play with those AOVs more...
MBPro 15" 16GB i7-4850HQ GT750M, MacOS 10.13.6 & Win10Pro PC 16GB Ryzen 2700X, 2 x RTX 2070

Post Reply