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

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

import bpy
bpy.context.object.rotation_euler = (0,0,0)#And loc HIGH
bpy.context.object.location = (0,0,700000000)
bpy.context.object.data.type = 'AREA'
lampdata = bpy.context.object.data

lampdata.shape = 'SQUARE'
lampdata.size = 30000000#0.02
#lampdata.size_y = 0.02
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 =695699968