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

18_(6800K)_175W_Mercury_Vapor.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1a5143c32a19a3c82731fa2b6c3995cbbd9b2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#Starting from 1901

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

lampdata.show_cone = True
lampdata.spot_size = 1.25
lampdata.spot_blend = 0.9
lampdata.color = (0.8470588326454163, 0.9686274528503418, 1.0)
lampdata.energy = 17.25263#7400lm/21.446(=lux)*0.004*6.25(distance) *2 for distance is the point of half strength
lampdata.distance = 0.025
lampdata.falloff_type = 'INVERSE_SQUARE'