Yet another volume confusion

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.
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Yet another volume confusion

Post by epilectrolytics »

During the testing of the new hybrid path engine I created this file
cube3.blend.zip
(244.84 KiB) Downloaded 150 times
in which I couldn't get the blue sky to show when using PathOCL.
But it shows in PathCPU and BiDir.
.
Image


Dade told me it doesn't work because I didn't set a world volume, but when I do that (either the fog volume or a new clear volume) still I get no blue sky with PathOCL.
:?
Could someone please show me how I get this to work?
Last edited by epilectrolytics on Thu Jun 27, 2019 4:38 pm, edited 1 time in total.
lighting_freak
Posts: 234
Joined: Thu Jan 18, 2018 6:02 pm

Re: Yet another volume confusion

Post by lighting_freak »

Hi,

That sounds like an not totally resolved thread I've opened some time ago:

viewtopic.php?f=4&t=820&p=8825#p8832

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
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Yet another volume confusion

Post by Dade »

epilectrolytics wrote: Thu Jun 27, 2019 1:02 pm Dade told me it doesn't work because I didn't set a world volume, but when I do that (either the fog volume or a new clear volume) still I get no blue sky with PathOCL.
:?
The correct result is the one with grey sky, not the one with clear one. The sky is very far and scattering will make it very hard to see. The clear sky result is usually what you get by not assigning the world volume (I will check the scene when I'm back to my PC).

If you want a clear sky, just use a bounding "NULL" material box around the room with the "fog" volume. It should produce the clear sky.

It is like in real world:

- only dusty room => sky visible
- dusty room + fog => grey sky
Support LuxCoreRender project with salts and bounties
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Yet another volume confusion

Post by epilectrolytics »

lighting_freak wrote: Thu Jun 27, 2019 2:56 pm That sounds like an not totally resolved thread I've opened some time ago:

viewtopic.php?f=4&t=820&p=8825#p8832
Thanks for that link, I'm going to read through it.
Dade wrote: Thu Jun 27, 2019 2:57 pm The correct result is the one with grey sky, not the one with clear one.
That would be the case if I used a world volume and no fog box and if I do so, indeed PathCPU and PathOCL show the grey result as expected.
The scene is meant to show a dusty interior with a rather clear sky, no atmospheric effect.
If you want a clear sky, just use a bounding "NULL" material box around the room with the "fog" volume. It should produce the clear sky.
But that's what I did in the file.
The room (walls etc) has thickness and the inside seen by the camera is the outside of the room geometry, but inside of the fog box.

What confuses me is that PathCPU renders differently than PathOCL, isn't that an OpenCL bug then?
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Yet another volume confusion

Post by lacilaci »

While fooling around with caustics and volumes I got confused too..

I have a glass railing panels in a scene and their absorbtion is affecting the whole scene for some reason. Not sure if related

here's glass panel with 1m absorbtion distance
glasspanel1mabsorbtion.jpg
10absorbtion (notice sky remains dark/black)
glasspanel10mabsorbtion.jpg
100m absorbtion and sky looks normal(it's a unicolor background not actual sky) and windows use archglass not the same as railing panels.
glasspanel100mabsorbtion.jpg
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Yet another volume confusion

Post by B.Y.O.B. »

@lacilaci Check if your glass sheets have thickness and if the normals are pointing in the right directions (outside).
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Yet another volume confusion

Post by epilectrolytics »

lighting_freak wrote: Thu Jun 27, 2019 2:56 pm That sounds like an not totally resolved thread I've opened some time ago:

viewtopic.php?f=4&t=820&p=8825#p8832
Fox wrote: Wed Jan 09, 2019 8:21 pm Seems like with the type of hetero scattering volume, the camera can see out of window.
Yep, that works!

But still PathCPU renders deeper blue than PathOCL.
Something's wrong with OCL here, but maybe something's wrong with homogenous volume too?
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: Yet another volume confusion

Post by wasd »

Setting camera volume makes no sense.
CPU Bidir + Metropolis | Core i5-4570
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: Yet another volume confusion

Post by epilectrolytics »

I made that a habit since I discovered that auto-detect is not stable through animations.

Render with hetero volume and a tiny little hint of blue:
cube3.jpg
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Yet another volume confusion

Post by Dade »

epilectrolytics wrote: Thu Jun 27, 2019 1:02 pm Dade told me it doesn't work because I didn't set a world volume, but when I do that (either the fog volume or a new clear volume) still I get no blue sky with PathOCL.
I should have fixed the bug.
Support LuxCoreRender project with salts and bounties
Post Reply