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

04_(6000K)_2500W_HMI_(Halogen_Metal_Iodide).py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0bfa95d84a1560f01d1ee671d11012a52c4fccf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#After 1969
#made specifically for film and entertainment applications

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

lampdata.show_cone = True
lampdata.spot_size = 0.872665
lampdata.spot_blend = 0.9
lampdata.color = (0.99, 0.9882352948188782, 0.998)
lampdata.energy = 223.81796 #240000lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 0.001
lampdata.falloff_type = 'INVERSE_SQUARE'