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

23_(30000K)_40W_Black_Light_Bulb.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2cdf83fe1db6b6956112ccaa66c288f451d1f068 (plain)
1
2
3
4
5
6
7
8
9
10
#Starting from 1918 (World War I Wood's glass)

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

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.01
lampdata.falloff_type = 'INVERSE_SQUARE'