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

10_(4300K)_40W_Vintage_Fluorescent_T12.py « light « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc78bc5c5e5ffb076f76aa44cf05ded33efd778c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#since 1939 , T12 no longer manufactured since T8 propagated

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

lampdata.size = 0.038
lampdata.size_y = 1.2192
lampdata.shadow_ray_samples_x = 1
lampdata.shadow_ray_samples_y = 2
lampdata.color = (0.901, 1.0, 0.979)
lampdata.energy = 2.14492#2300lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
#lampdata.falloff_type = 'INVERSE_SQUARE'