Announcement

Collapse
No announcement yet.

V-Ray 7: Dome light, color black produces division by zero error.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • V-Ray 7: Dome light, color black produces division by zero error.

    V-Ray 7 for Blender version: 219

    System Console:
    Code:
    File "C:\Users\Juha\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\vray_blender \lib\color_utils.py", line 11226, in RGBToKelvin
    n = ((0.23881) * c[0] + (0.25499) * c[1] + (-0.58291) * c[2]) / ((0.11109) * c[0] + (-0.85406) * c[1] + (0.52289) * c[2])
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
    ZeroDivisionError: float division by zero
    File "C:\Users\Juha\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\vray_blender \lib\attribute_utils.py", line 370, in <lambda>
    ​

    Edit: Dome light temperature also produces Kelvin error.
    Code:
    File "C:\Users\Juha\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\vray_blender \lib\color_utils.py", line 11221, in kelvinToRGB
    return mathutils.Color(KELVIN_COLOR_TABLE[temperature])
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    Last edited by JuhaW; 04-11-2024, 12:10 AM.
    Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

  • #2
    Hello JuhaW, Thank you very much for reporting this. A bug report has been created to address this issue.
    Daniel Kapsazov | chaos.com
    Chaos Support Representative | contact us

    Comment

    Working...
    X