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

08_(2600K)_40w_Tungsten.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66a4e383b7c33993dc29440ffa8179ac3ac493a0 (plain)
1
2
3
4
5
6
7
8
9
10
#since 1908

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

lampdata.color = (1.0, 0.8196078431372549, 0.6980392156862745)
lampdata.energy = 2.98424#400/21.446 #lumen values/21.446 or lux when available used as a basis
lampdata.distance = 0.05
lampdata.falloff_type = 'INVERSE_SQUARE'