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

07_(2850K)_100w_Tungsten.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a77e3616e37f2e69710fa3a5cdef7c00a2ce7527 (plain)
1
2
3
4
5
6
7
8
9
10
#1908 - today

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

lampdata.color = (1.0, 0.8392156958580017, 0.6666666865348816)
lampdata.energy = 7.46060#3.7303#1000/21.446/(lampdistance/candledistance)  #lumen values/21.446 or lux when available used as a basis
lampdata.distance = 0.05
lampdata.falloff_type = 'INVERSE_SQUARE'