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

03_(6000K)_Daylight_Window.py « light « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eae7cd16c6dd59d421a5126022e07e3fdc47ed0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#Since the dawn of time

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

lampdata.size = 1.2
lampdata.size_y = 2.10
lampdata.pov.shadow_ray_samples_x = 2
lampdata.pov.shadow_ray_samples_y = 3
lampdata.color = (1.0, 1.0, 1.0)
lampdata.energy = 1.094316#91193 #lux
lampdata.distance = 1.0