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

17_(1700K)_135W_Low_Pressure_Sodium.py « lamp « pov « presets - git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5e4267845a3bff8fd103a304724d962df24ed5d (plain)
1
2
3
4
5
6
7
8
9
10
11
#(1700K) 135W Low Pressure Sodium Vapor Starting from 1932
#Mostly used for Outdoor city lighting, security lighting, long tunnel lighting 

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

lampdata.color = (1.0, 0.5764706134796143, 0.16078431904315948)
lampdata.energy = 8.43048#22600lm/21.446(=lux)*0.004(distance) *2 for distance is the point of half strength
lampdata.distance = 1.0
lampdata.falloff_type = 'INVERSE_SQUARE'