"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/07_(2850K)_100w_Tungsten.py" (22 Apr 2021, 365 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 #1908 - today
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'POINT'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.color = (1.0, 0.8392156958580017, 0.6666666865348816)
    8 lampdata.energy = 7.46060#3.7303#1000/21.446/(lampdistance/candledistance)  #lumen values/21.446 or lux when available used as a basis
    9 lampdata.distance = 0.05
   10 lampdata.falloff_type = 'INVERSE_SQUARE'