Re: Volumetrics issues
Posted: Wed Oct 06, 2021 10:50 am
No one that can help me with this? Please!
Show your work, get help, participate in development
https://forums.luxcorerender.org/
Your volume definitions are wrong:
We have try to remove internal/exterior volumes but this give us renders without light volumetric.Dade wrote: ↑Thu Sep 30, 2021 9:29 am
And light source volumes:
Code: Select all
[...] scene.lights.84678.volume = "envVolume" [...] scene.lights.84678_sky1.volume = "envVolume" [...]
Code: Select all
scene.materials.89597_3.volume.interior = "envVolume"
scene.materials.89597_3.volume.exterior = "envVolume"
You have to assign light volumes according their placement: if a light is inside a volume (cone light) assign the volume, if the light is outside (sun and sky) don't).bartek_zgo wrote: ↑Tue Oct 12, 2021 8:03 am So from our tests, it looks like the light will produce volume if the volumetrics are assigned to the light source.
Have you not assigned volumes to sun and sky ?
You are still declaring the wrong volume for sun and sky:
Code: Select all
## REMOVE THIS:
scene.lights.84682_sky1.volume = "envVolume"
##
scene.lights.84682_sky1.gain = 2 2 2
scene.lights.84682_sky1.transformation = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
scene.lights.84682_sky1.id = 0
scene.lights.84682_sky1.temperature = -1
scene.lights.84682_sky1.temperature.normalize = 0
scene.lights.84682_sky1.visibility.indirect.diffuse.enable = 1
scene.lights.84682_sky1.visibility.indirect.glossy.enable = 1
scene.lights.84682_sky1.visibility.indirect.specular.enable = 1
scene.lights.84682_sky1.type = "sky2"
scene.lights.84682_sky1.dir = 0.5617219 0.6238551 0.5433906
scene.lights.84682_sky1.turbidity = 1.04
scene.lights.84682_sky1.groundalbedo = 0.5 0.5 0.5
scene.lights.84682_sky1.ground.enable = 0
scene.lights.84682_sky1.ground.color = 0.5 0.5 0.5
scene.lights.84682_sky1.ground.autoscale = 1
scene.lights.84682_sky1.distribution.width = 512
scene.lights.84682_sky1.distribution.height = 256
scene.lights.84682_sky1.visibilitymapcache.enable = 0
## REMOVE THIS:
scene.lights.84682.volume = "envVolume"
##
scene.lights.84682.gain = 0.5 0.5 0.5
scene.lights.84682.transformation = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
scene.lights.84682.id = 0
scene.lights.84682.temperature = -1
scene.lights.84682.temperature.normalize = 0
scene.lights.84682.visibility.indirect.diffuse.enable = 1
scene.lights.84682.visibility.indirect.glossy.enable = 1
scene.lights.84682.visibility.indirect.specular.enable = 1
scene.lights.84682.type = "sun"
scene.lights.84682.dir = 0.5617219 0.6238551 0.5433906
scene.lights.84682.turbidity = 1.04
scene.lights.84682.relsize = 1
##
Code: Select all
##
scene.materials.89671_1.type = "glossy2"
scene.materials.89671_1.kd = "0.3185468 0.1529262 0.06480328"
scene.materials.89671_1.ks = "0.05"
scene.materials.89671_1.uroughness = "0.0218"
scene.materials.89671_1.vroughness = "0.0218"
scene.materials.89671_1.ka = "0 0 0"
scene.materials.89671_1.d = "0"
scene.materials.89671_1.index = "0 0 0"
scene.materials.89671_1.multibounce = 0
scene.materials.89671_1.doublesided = 0
scene.materials.89671_1.transparency.shadow = 1 1 1
scene.materials.89671_1.id = 16776960
scene.materials.89671_1.emission.gain = 1 1 1
scene.materials.89671_1.emission.power = 1e+08
scene.materials.89671_1.emission.normalizebycolor = 1
scene.materials.89671_1.emission.efficency = 5.5
scene.materials.89671_1.emission.theta = 90
scene.materials.89671_1.emission.id = 0
scene.materials.89671_1.emission.importance = 1
scene.materials.89671_1.emission = "0.7835379 0.48515 0.2961383"
scene.materials.89671_1.emission.mapfile = "imagemap-00001.exr"
scene.materials.89671_1.colorspace = "nop"
scene.materials.89671_1.storage = "float"
scene.materials.89671_1.emission.temperature = -1
scene.materials.89671_1.emission.temperature.normalize = 0
scene.materials.89671_1.emission.directlightsampling.type = "AUTO"
scene.materials.89671_1.bumpsamplingdistance = 0.001
## REMOVE THIS:
scene.materials.89671_1.volume.interior = "envVolume"
scene.materials.89671_1.volume.exterior = "envVolume"
##
scene.materials.89671_1.visibility.indirect.diffuse.enable = 1
scene.materials.89671_1.visibility.indirect.glossy.enable = 1
scene.materials.89671_1.visibility.indirect.specular.enable = 1
scene.materials.89671_1.shadowcatcher.enable = 0
scene.materials.89671_1.shadowcatcher.onlyinfinitelights = 0
scene.materials.89671_1.photongi.enable = 1
scene.materials.89671_1.holdout.enable = 0
##