"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/01_(4800K)_Direct_Sun.py" (22 Apr 2021, 260 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 dawn of time
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'SUN'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.color = (1.0, 1.0, 0.9843137264251709)
    8 lampdata.energy = 1.2 #100 000lux
    9 #lampdata.distance = 0.001
   10 #lampdata.falloff_type = 'INVERSE_SQUARE'