Yet another volume confusion
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.
-
- Donor
- Posts: 790
- Joined: Thu Oct 04, 2018 6:06 am
Yet another volume confusion
During the testing of the new hybrid path engine I created this file
in which I couldn't get the blue sky to show when using PathOCL.
But it shows in PathCPU and BiDir.
.
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?
But it shows in PathCPU and BiDir.
.
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.
-
- Posts: 234
- Joined: Thu Jan 18, 2018 6:02 pm
Re: Yet another volume confusion
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
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
CPU - Intel CORE i7
GPU1 - Variants of notebook card from nVidia
GPU2 - Variants of notebook onboard card from Intel
Lux - Latest possible relaease
Re: Yet another volume confusion
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).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.
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
-
- Donor
- Posts: 790
- Joined: Thu Oct 04, 2018 6:06 am
Re: Yet another volume confusion
Thanks for that link, I'm going to read through it.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
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.
But that's what I did in the file.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.
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?
Re: Yet another volume confusion
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 10absorbtion (notice sky remains dark/black) 100m absorbtion and sky looks normal(it's a unicolor background not actual sky) and windows use archglass not the same as railing panels.
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 10absorbtion (notice sky remains dark/black) 100m absorbtion and sky looks normal(it's a unicolor background not actual sky) and windows use archglass not the same as railing panels.
Re: Yet another volume confusion
@lacilaci Check if your glass sheets have thickness and if the normals are pointing in the right directions (outside).
-
- Donor
- Posts: 790
- Joined: Thu Oct 04, 2018 6:06 am
Re: Yet another volume confusion
Yep, that works!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
But still PathCPU renders deeper blue than PathOCL.
Something's wrong with OCL here, but maybe something's wrong with homogenous volume too?
Re: Yet another volume confusion
Setting camera volume makes no sense.
CPU Bidir + Metropolis | Core i5-4570
-
- Donor
- Posts: 790
- Joined: Thu Oct 04, 2018 6:06 am
Re: Yet another volume confusion
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:
Render with hetero volume and a tiny little hint of blue:
Re: Yet another volume confusion
I should have fixed the bug.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.