"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/15_(3200K)_40W_Induction_Fluorescent.py" (22 Apr 2021, 545 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 #since the 1990's,
    2 #Often circular or rectangular closed loop electrodeless fluorescent lamps
    3 
    4 import bpy
    5 bpy.context.object.data.type = 'SPOT'
    6 lampdata = bpy.context.object.data
    7 
    8 #lampdata.use_halo = True
    9 lampdata.spot_size = 3.14
   10 lampdata.spot_blend = 0.9
   11 lampdata.color = (1.0, 0.9450980424880981, 0.8784313797950745)
   12 lampdata.energy = 2.61121#2800/21.446 #lumen values/20 or lux when available used as a basis
   13 lampdata.distance = 0.15#energy calculated for length 0.075 but width gives better result
   14 lampdata.falloff_type = 'INVERSE_SQUARE'