Volumetrics issues

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.
Post Reply
daros
Posts: 280
Joined: Thu Dec 12, 2019 3:25 pm
Location: inside human language
Contact:

Volumetrics issues

Post by daros »

Hi, in order to understand volumetrics i'm using with a very basic scene.
However I'm experiencing a strange behavior wen i apply the volumetrics to agemetry.

this is the scene without volumetrics:
no volumetrics.png
this is the scene with volumetrics applied to world
volumetrics world.png

this is the scene with volumetrics applied to a box which is slightly bigger as the scene.
volumetrics bounding box.png

why the box version subtracts lighting to the scene without showing the light beams?
absorption color is pure white
detpth 10km
scattering color pure white
scale 0.1

From here you can download the last two luxcore scenes.
https://drive.google.com/drive/folders/ ... sp=sharing

Thanks for any help
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Volumetrics issues

Post by Dade »

daros wrote: Fri Sep 17, 2021 10:01 am why the box version subtracts lighting to the scene without showing the light beams?
I assume you have not defined the inside/outside volumes of the walls: the rays starting from the the light sources hit the walls and, at that point, LuxCore try to deduce the volume the rays were traveling in but the walls say there was no inside/outside volume. This is a problem because the light sources are inside the volume box.

Word volume defines the default volume (when no more information are available) so when the rays hit the walls, they are assumed to have traveled inside the world volume.
Support LuxCoreRender project with salts and bounties
bartek_zgo
Posts: 116
Joined: Mon Oct 26, 2020 11:42 am

Re: Volumetrics issues

Post by bartek_zgo »

So the problem is, that LuxCore can not deduce the volume where the light it traveling threw. So should define inside volume for all objects in the scene? Will it be correct or it will cause some problems?
daros
Posts: 280
Joined: Thu Dec 12, 2019 3:25 pm
Location: inside human language
Contact:

Re: Volumetrics issues

Post by daros »

i this moment the scene is set-up like this:
inside volume assigned only to the black box
box.JPG
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Volumetrics issues

Post by Sharlybg »

It seem to be a Bidir only Issue , see the attached scene for understanding :
Volume_Box.blend
(987.68 KiB) Downloaded 169 times
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Volumetrics issues

Post by Dade »

bartek_zgo wrote: Fri Sep 17, 2021 11:35 am So the problem is, that LuxCore can not deduce the volume where the light it traveling threw. So should define inside volume for all objects in the scene? Will it be correct or it will cause some problems?
Yes, if you are not defining the world volume (aka the default volume when no other volume information are available).
Support LuxCoreRender project with salts and bounties
daros
Posts: 280
Joined: Thu Dec 12, 2019 3:25 pm
Location: inside human language
Contact:

Re: Volumetrics issues

Post by daros »

Hi dade, but we defined a inside volume which contains the entire scene. In fact, as pointed out by sharlybg, under path tracing everything works well...only under bidir we have that issue.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Volumetrics issues

Post by Dade »

daros wrote: Fri Sep 17, 2021 4:29 pm Hi dade, but we defined a inside volume which contains the entire scene. In fact, as pointed out by sharlybg, under path tracing everything works well...only under bidir we have that issue.
As I wrote in my previous post, you need to define the inside/outside volume of the walls: a ray start from the light source hits a and has no information at all of the outside box, how could it have ?
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Volumetrics issues

Post by B.Y.O.B. »

In my opinion the problem is the lack of a feature: light sources currently have no "volume" property, so you can't tell them which volume they're in.
daros
Posts: 280
Joined: Thu Dec 12, 2019 3:25 pm
Location: inside human language
Contact:

Re: Volumetrics issues

Post by daros »

One moment... but why the scene works perfectly under path tracing?
Post Reply