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

11_(5000K)_18W_Standard_Fluorescent_T8.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a70cda3fa6cecd4f5a3553daa888ce239d2143e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#since 1973

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

lampdata.size = 0.026
lampdata.size_y = 0.59
lampdata.shadow_ray_samples_x = 1
lampdata.shadow_ray_samples_y = 2
lampdata.color = (0.95686274766922, 1.0, 0.9803921580314636)
lampdata.energy = 1.25898#1350lm/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/...