Hi,
it seems like the camera has no exterior volume property in LuxCore.
This leads to wrong renders if the camera is e.g. inside of a cube with a volume.
Can this feature be added?
Camera exterior volume
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.
Camera exterior volume
- Attachments
-
00005.zip
- (20.9 KiB) Downloaded 304 times
Re: Camera exterior volume
Are you looking for world volume (scene.world.volume.default):B.Y.O.B. wrote: Mon Jan 22, 2018 10:17 pm it seems like the camera has no exterior volume property in LuxCore.
This leads to wrong renders if the camera is e.g. inside of a cube with a volume.
Can this feature be added?
Code: Select all
scene.volumes.vol_air.type = homogeneous
scene.volumes.vol_air.absorption = 0.0 0.0 0.0
scene.volumes.vol_air.scattering = 0.04 0.04 0.04
scene.volumes.vol_air.asymmetry = 0.0 0.0 0.0
scene.volumes.vol_air.multiscattering = 0
##
scene.world.volume.default = vol_air
Re: Camera exterior volume
I guess I am looking for that 
Thanks.
edit: However, that would set this volume as default for all materials and lights, right?
What if I only want the camera to be in a volume, but not e.g. the sun?
I would have expected a "scene.camera.volume" setting.

Thanks.
edit: However, that would set this volume as default for all materials and lights, right?
What if I only want the camera to be in a volume, but not e.g. the sun?
I would have expected a "scene.camera.volume" setting.
Re: Camera exterior volume
The default volume is used when the object lack of volume definitions. Just use an object with null material and an interior volume and place the camera inside the object.B.Y.O.B. wrote: Mon Jan 22, 2018 10:54 pm I guess I am looking for that
Thanks.
edit: However, that would set this volume as default for all materials and lights, right?
What if I only want the camera to be in a volume, but not e.g. the sun?
I would have expected a "scene.camera.volume" setting.
Re: Camera exterior volume
This was the problem, thanks, it works like expected now.Dade wrote: Mon Jan 22, 2018 11:43 pm I am on a tablet at the moment, looking at your scene, have you assigned the monkey outside volume ?