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

13_(3000K)_18W_Warm_Fluorescent_T8.py « light « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 187b26d36cb8f17c78c3bbd10c607c5038d5e93e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#Available since 1979
#developed to get closer to tungsten atmospher in interiors

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

lampdata.size = 0.026
lampdata.size_y = 0.59
lampdata.pov.shadow_ray_samples_x = 1
lampdata.pov.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.95686274766922, 0.8980392217636108)
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/...