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

21_(2700K)_7W_OLED_Panel.py « light « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f2ebb8fedcf591dc045093a2b0690805ae3927b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#since 2025
#inspired by OSRAM Early Future / IKEA Vitsand / OTI Lumionics Aerelight

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

lampdata.size = 0.033
lampdata.size_y = 0.133
lampdata.shadow_ray_samples_x = 2
lampdata.shadow_ray_samples_y = 2
lampdata.color = (1.0, 0.8292156958580017, 0.6966666865348816)
lampdata.energy = 0.83932#900lm/21.446(=lux)*0.004*2.5(distance) *2 for distance is the point of half strength
lampdata.distance = 1.18 #dist values multiplied by 10 for area lights for same power as bulb/spot/...