Welcome to mirror list, hosted at ThFree Co, Russian Federation.

22_(30000K)_40W_Black_Light_Fluorescent.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d389807c2b4eebd784024a129aed8474a92ccefa (plain)
1
2
3
4
5
6
7
8
9
10
11
#Starting from 1939 (World War II Byler's tubes)

import bpy
bpy.context.object.data.type = 'AREA'
lampdata = bpy.context.object.data

lampdata.size = 0.038
lampdata.size_y = 1.2192
lampdata.color = (0.6549019813537598, 0.0, 1.0)
lampdata.energy = 1.86515#100/21.446 #lumen values/21.446 or lux when available used as a basis
lampdata.distance = 0.4 #dist values multiplied by 10 for area lights for same power as bulb/spot/...