pyluxcore: Issue with camera or tonemap???

Use this forum for general user support and related questions.
Post Reply
mick
Posts: 80
Joined: Mon May 21, 2018 7:57 pm

pyluxcore: Issue with camera or tonemap???

Post by mick » Mon Feb 04, 2019 10:52 pm

Please help me! I'm getting crazy.

I generated a simple scene: open box, half of it covered with a glass plate, sun/sky exactly in zenith.

Rendered "normally" looks sort of realistic.
image_rgb.png
But I need to measure irradiation on the floor of the box. So I make the walls and glass plate invisible, and render with orthographic camera and TONEMAP_LINEAR. I'm not aware of relevant other differences. And now the floor below the glass is brighter (upper half) than the open half. Even more the center of the sun is darker. How can glass generate and invert light power?
image_rgb.png
image_rgb.png (13.13 KiB) Viewed 79 times
I think I don't understand a critical aspect of the config. But what???
Before you ask, I don't use blender, just python. And I don't know how to reproduce my config in blender.

All files attached. Below the diff of scn files.

Thanks

Code: Select all

diff Normal/scene.scn Measure/scene.scn
6,8c6,9
< scene.camera.lookat.orig = 8 0 21
< scene.camera.lookat.target = 0 0 0
< scene.camera.up = 0 0 1
---
> scene.camera.lookat.orig = 0 0 -13.5
> scene.camera.lookat.target = 0 0 -16
> scene.camera.up = -0.707106829 0.707106829 0
> scene.camera.screenwindow = -3.6400001 3.6400001 -5.19999981 5.19999981
12,14c13
< scene.camera.type = "perspective"
< scene.camera.oculusrift.barrelpostpro.enable = 0
< scene.camera.fieldofview = 45
---
> scene.camera.type = "orthographic"
45,70c44,69
< scene.textures.Implicit-ConstFloatTexture3-5a8d58fb-fc9e-4020-97a7-0333b5ca63c4.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-5a8d58fb-fc9e-4020-97a7-0333b5ca63c4.value = 0 0 0
< scene.textures.Implicit-ConstFloatTexture3-e6208c86-5692-40b2-91f6-bb3492e87cea.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-e6208c86-5692-40b2-91f6-bb3492e87cea.value = 0.800000012 0.800000012 0.800000012
< scene.textures.Implicit-ConstFloatTexture3-d8f19431-3c70-449d-bcc4-0041306d1402.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-d8f19431-3c70-449d-bcc4-0041306d1402.value = 0.75 0.75 0.75
< scene.textures.Implicit-ConstFloatTexture-8e8a3757-ee9c-4ee3-98b0-4ce5afc4f55a.type = "constfloat1"
< scene.textures.Implicit-ConstFloatTexture-8e8a3757-ee9c-4ee3-98b0-4ce5afc4f55a.value = 0.300000012
< scene.textures.Implicit-ConstFloatTexture-7319da8b-7250-4788-8e22-b543fbb3910b.type = "constfloat1"
< scene.textures.Implicit-ConstFloatTexture-7319da8b-7250-4788-8e22-b543fbb3910b.value = 1.00030005
< scene.textures.Implicit-ConstFloatTexture3-0b3951c7-7bcf-4e4c-92b6-1fa883d3ab78.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-0b3951c7-7bcf-4e4c-92b6-1fa883d3ab78.value = 0 0 0
< scene.textures.Implicit-ConstFloatTexture-8b708f3e-128a-4049-9c22-10d458e88eef.type = "constfloat1"
< scene.textures.Implicit-ConstFloatTexture-8b708f3e-128a-4049-9c22-10d458e88eef.value = 1.49000001
< scene.textures.Implicit-ConstFloatTexture3-32570998-7c0a-4c10-9d74-0c30191d6351.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-32570998-7c0a-4c10-9d74-0c30191d6351.value = 0.899999976 0.899999976 0.899999976
< scene.textures.Implicit-ConstFloatTexture-86e0ad65-d573-4af3-ab45-c54ed94abfb4.type = "constfloat1"
< scene.textures.Implicit-ConstFloatTexture-86e0ad65-d573-4af3-ab45-c54ed94abfb4.value = 1
< scene.textures.Implicit-ConstFloatTexture3-6a95f87b-9f4b-4a75-a5af-7755c07fc401.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-6a95f87b-9f4b-4a75-a5af-7755c07fc401.value = 0.899999976 0.899999976 0.899999976
< scene.textures.Implicit-ConstFloatTexture3-37724f4f-e6b4-45b7-9769-fb0af428ccb9.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-37724f4f-e6b4-45b7-9769-fb0af428ccb9.value = 0.899999976 0.899999976 0.899999976
< scene.textures.Implicit-ConstFloatTexture-bb3e71a1-82b3-43f9-903c-736487086b03.type = "constfloat1"
< scene.textures.Implicit-ConstFloatTexture-bb3e71a1-82b3-43f9-903c-736487086b03.value = 0.00353999995
< scene.textures.Implicit-ConstFloatTexture3-98e2d967-7aaa-4afd-83df-ba9371883720.type = "constfloat3"
< scene.textures.Implicit-ConstFloatTexture3-98e2d967-7aaa-4afd-83df-ba9371883720.value = 0.200000003 0.200000003 0.200000003
---
> scene.textures.Implicit-ConstFloatTexture3-e381fd07-0648-4201-aaa0-3191f1cb5349.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-e381fd07-0648-4201-aaa0-3191f1cb5349.value = 0 0 0
> scene.textures.Implicit-ConstFloatTexture3-e3a7bb3f-257e-4e3d-9603-508eccb22635.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-e3a7bb3f-257e-4e3d-9603-508eccb22635.value = 0.800000012 0.800000012 0.800000012
> scene.textures.Implicit-ConstFloatTexture3-77ef89bb-b8bc-4630-9611-cd4eaa22099a.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-77ef89bb-b8bc-4630-9611-cd4eaa22099a.value = 0.75 0.75 0.75
> scene.textures.Implicit-ConstFloatTexture-5b95209f-4930-4587-b6e7-2d5e29594015.type = "constfloat1"
> scene.textures.Implicit-ConstFloatTexture-5b95209f-4930-4587-b6e7-2d5e29594015.value = 0.300000012
> scene.textures.Implicit-ConstFloatTexture-3968f299-62c3-4efe-b59c-c3bcff519699.type = "constfloat1"
> scene.textures.Implicit-ConstFloatTexture-3968f299-62c3-4efe-b59c-c3bcff519699.value = 1.00030005
> scene.textures.Implicit-ConstFloatTexture3-2721f346-cbaf-4a48-801d-6b9ab3fdffe8.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-2721f346-cbaf-4a48-801d-6b9ab3fdffe8.value = 0 0 0
> scene.textures.Implicit-ConstFloatTexture-543bcd61-2ccf-4de0-8e16-4f6a1d2a6d50.type = "constfloat1"
> scene.textures.Implicit-ConstFloatTexture-543bcd61-2ccf-4de0-8e16-4f6a1d2a6d50.value = 1.49000001
> scene.textures.Implicit-ConstFloatTexture3-97b0c322-00be-4295-a3ff-c26be6c571c7.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-97b0c322-00be-4295-a3ff-c26be6c571c7.value = 0.899999976 0.899999976 0.899999976
> scene.textures.Implicit-ConstFloatTexture-0d3b1b0c-c33b-4753-94b0-a99a64f4e16e.type = "constfloat1"
> scene.textures.Implicit-ConstFloatTexture-0d3b1b0c-c33b-4753-94b0-a99a64f4e16e.value = 1
> scene.textures.Implicit-ConstFloatTexture3-7e41b834-9fff-4c6b-aa68-00d38cd679f4.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-7e41b834-9fff-4c6b-aa68-00d38cd679f4.value = 0.899999976 0.899999976 0.899999976
> scene.textures.Implicit-ConstFloatTexture3-6e7e7d39-f2f7-4319-ab7f-d4d3502d31fa.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-6e7e7d39-f2f7-4319-ab7f-d4d3502d31fa.value = 0.899999976 0.899999976 0.899999976
> scene.textures.Implicit-ConstFloatTexture-9f25a8e1-b975-47c3-b3b9-a37d105ae668.type = "constfloat1"
> scene.textures.Implicit-ConstFloatTexture-9f25a8e1-b975-47c3-b3b9-a37d105ae668.value = 0.00353999995
> scene.textures.Implicit-ConstFloatTexture3-67e403b9-d43b-4032-9ae1-684ade88a298.type = "constfloat3"
> scene.textures.Implicit-ConstFloatTexture3-67e403b9-d43b-4032-9ae1-684ade88a298.value = 0.200000003 0.200000003 0.200000003
72c71
< scene.volumes.vol_air.absorption = "Implicit-ConstFloatTexture3-0b3951c7-7bcf-4e4c-92b6-1fa883d3ab78"
---
> scene.volumes.vol_air.absorption = "Implicit-ConstFloatTexture3-2721f346-cbaf-4a48-801d-6b9ab3fdffe8"
74c73
< scene.volumes.vol_air.ior = "Implicit-ConstFloatTexture-7319da8b-7250-4788-8e22-b543fbb3910b"
---
> scene.volumes.vol_air.ior = "Implicit-ConstFloatTexture-3968f299-62c3-4efe-b59c-c3bcff519699"
77c76
< scene.volumes.lens_vol.absorption = "Implicit-ConstFloatTexture3-32570998-7c0a-4c10-9d74-0c30191d6351"
---
> scene.volumes.lens_vol.absorption = "Implicit-ConstFloatTexture3-97b0c322-00be-4295-a3ff-c26be6c571c7"
79c78
< scene.volumes.lens_vol.ior = "Implicit-ConstFloatTexture-8b708f3e-128a-4049-9c22-10d458e88eef"
---
> scene.volumes.lens_vol.ior = "Implicit-ConstFloatTexture-543bcd61-2ccf-4de0-8e16-4f6a1d2a6d50"
83c82
< scene.materials.black.kd = "Implicit-ConstFloatTexture3-5a8d58fb-fc9e-4020-97a7-0333b5ca63c4"
---
> scene.materials.black.kd = "Implicit-ConstFloatTexture3-e381fd07-0648-4201-aaa0-3191f1cb5349"
97c96
< scene.materials.floor.kd = "Implicit-ConstFloatTexture3-e6208c86-5692-40b2-91f6-bb3492e87cea"
---
> scene.materials.floor.kd = "Implicit-ConstFloatTexture3-e3a7bb3f-257e-4e3d-9603-508eccb22635"
111,112c110,111
< scene.materials.walls.kd = "Implicit-ConstFloatTexture3-d8f19431-3c70-449d-bcc4-0041306d1402"
< scene.materials.walls.sigma = "Implicit-ConstFloatTexture-8e8a3757-ee9c-4ee3-98b0-4ce5afc4f55a"
---
> scene.materials.walls.kd = "Implicit-ConstFloatTexture3-77ef89bb-b8bc-4630-9611-cd4eaa22099a"
> scene.materials.walls.sigma = "Implicit-ConstFloatTexture-5b95209f-4930-4587-b6e7-2d5e29594015"
126,129c125,128
< scene.materials.lens.kr = "Implicit-ConstFloatTexture3-6a95f87b-9f4b-4a75-a5af-7755c07fc401"
< scene.materials.lens.kt = "Implicit-ConstFloatTexture3-37724f4f-e6b4-45b7-9769-fb0af428ccb9"
< scene.materials.lens.cauchyc = "Implicit-ConstFloatTexture-bb3e71a1-82b3-43f9-903c-736487086b03"
< scene.materials.lens.transparency = "Implicit-ConstFloatTexture-86e0ad65-d573-4af3-ab45-c54ed94abfb4"
---
> scene.materials.lens.kr = "Implicit-ConstFloatTexture3-7e41b834-9fff-4c6b-aa68-00d38cd679f4"
> scene.materials.lens.kt = "Implicit-ConstFloatTexture3-6e7e7d39-f2f7-4319-ab7f-d4d3502d31fa"
> scene.materials.lens.cauchyc = "Implicit-ConstFloatTexture-9f25a8e1-b975-47c3-b3b9-a37d105ae668"
> scene.materials.lens.transparency = "Implicit-ConstFloatTexture-0d3b1b0c-c33b-4753-94b0-a99a64f4e16e"
144c143
< scene.materials.mount.kr = "Implicit-ConstFloatTexture3-98e2d967-7aaa-4afd-83df-ba9371883720"
---
> scene.materials.mount.kr = "Implicit-ConstFloatTexture3-67e403b9-d43b-4032-9ae1-684ade88a298"
162c161
< scene.objects.walls.camerainvisible = 0
---
> scene.objects.walls.camerainvisible = 1
168c167
< scene.objects.lens.camerainvisible = 0
---
> scene.objects.lens.camerainvisible = 1
Attachments
Normal.zip
(288.67 KiB) Downloaded 9 times
Measure.zip
(17.62 KiB) Downloaded 8 times

Post Reply