"Fossies" - the Fresh Open Source Software Archive

Member "blender-2.93.1/release/scripts/addons/presets/pov/light/02_(5400K)_High_Noon_Sun.py" (22 Apr 2021, 462 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.rotation_euler = (0,0,0)#And loc HIGH
    5 bpy.context.object.location = (0,0,700000000)
    6 bpy.context.object.data.type = 'AREA'
    7 lampdata = bpy.context.object.data
    8 
    9 lampdata.shape = 'SQUARE'
   10 lampdata.size = 30000000#0.02
   11 #lampdata.size_y = 0.02
   12 lampdata.shadow_ray_samples_x = 2
   13 #lampdata.shadow_ray_samples_y = 3
   14 lampdata.color = (1.0, 1.0, 1.0)
   15 lampdata.energy = 1.094316#91193 #lux
   16 lampdata.distance =695699968