"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/18_(6800K)_175W_Mercury_Vapor.py" (22 Apr 2021, 428 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 #Starting from 1901
    2 
    3 import bpy
    4 bpy.context.object.data.type = 'SPOT'
    5 lampdata = bpy.context.object.data
    6 
    7 lampdata.show_cone = True
    8 lampdata.spot_size = 1.25
    9 lampdata.spot_blend = 0.9
   10 lampdata.color = (0.8470588326454163, 0.9686274528503418, 1.0)
   11 lampdata.energy = 17.25263#7400lm/21.446(=lux)*0.004*6.25(distance) *2 for distance is the point of half strength
   12 lampdata.distance = 0.025
   13 lampdata.falloff_type = 'INVERSE_SQUARE'