"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/09_(5000K)_75W_Full_Spectrum_Fluorescent_T12.py" (22 Apr 2021, 565 Bytes) of package /linux/misc/blender-2.93.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #Available since 1979 (Triphosphor lamps)
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'AREA'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.size = 0.038
    8 lampdata.size_y = 2.40284
    9 lampdata.shadow_ray_samples_x = 1
   10 lampdata.shadow_ray_samples_y = 2
   11 lampdata.color = (1.0, 0.95686274766922, 0.9490200281143188)
   12 lampdata.energy = 4.45304#4775lm/21.446(=lux)*0.004(distance) *2 for distance is the point of half strength 6200lm?
   13 lampdata.distance = 1.0 #dist values multiplied by 10 for area lights for same power as bulb/spot/...
   14 #lampdata.falloff_type = 'INVERSE_SQUARE'