SI_LightInfo

This template supplements the information in the SI_Light template. It includes falloff, shadows, and photon information.

All parameters but <mode> are animatable. Fcurve names are:

• FALLOFF_ACTIVE

• FALLOFF_START

• FALLOFF_END

• SHADOWS_ENABLED

• UMBRA

• LIGHT_AS_ENERGY

• ENERGY_FACTOR

• INTENSITY

 

SI|3D ignores this template.

 

This template corresponds to the CSLLightInfo class.

Introduced

3.6

Template

SI_LightInfo {

<falloff active>,        // attenuation
<mode>,                  // 0- Linear
                         // 1 - Use Exponent type
<start>,
<end>,
<shadows active>,        // shadows
<umbra>,                 // 0 - 1, .75 default
<useLight as energy>, // True or false
<photon factor>,         // 0 - 100000, default .75
<Intensity>
}

Example

SI_Light Infinite { 
   3, 
   0.186000, 
   0.729000, 
   1.000000, 
   0.000000, 
   0.000000, 
   0.000000, 
   0.000000, 
   0.000000, 
   0.000000, 
   SI_FCurve { 
       "Infinite", 
       "COLOR-R", 
       "CUBIC", 
       1, 
       5, 
       1, 
       1.000000,1.000000,0.000000,0.000000,0.000000,0.000000,
   }

   SI_FCurve { 
       "Infinite", 
       "COLOR-G", 
       "CUBIC", 
       1, 
       5, 
       1, 
       1.000000,1.000000,0.000000,0.000000,0.000000,0.000000,

   }

   SI_FCurve { 
       "Infinite", 
       "COLOR-B", 
       "CUBIC", 
       1, 
       5, 
       1, 
       1.000000,1.000000,0.000000,0.000000,0.000000,0.000000,
   }

   SI_FCurve { 
       "Infinite", 
       "SPREAD", 
       "CUBIC", 
       1, 
       5, 
       1, 
       1.000000,5.000000,0.000000,0.000000,0.000000,0.000000,
   }

   SI_LightInfo { 
       1, 
       1, 
       217.917999, 
       1138.015015, 
       1, 
       0.487000, 
       1, 
       13317.191406, 
       0.395000
       }
       SI_FCurve { 
          "Infinite", 
          "FALLOFF_ACTIVE", 
          "CONSTANT", 
          1, 
          1, 
          2, 
          1.000000,0.000000,
          100.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "FALLOFF_START", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,1.000000,0.000000,0.000000,33.000000,0.000000,
          100.000000,217.917999,-33.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "FALLOFF_END", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,100.000000,0.000000,0.000000,33.000000,0.000000,
          100.000000,1138.015015,-33.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "SHADOWS_ENABLED", 
          "CONSTANT", 
          1, 
          1, 
          2, 
          1.000000,0.000000,
          100.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "UMBRA", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.750000,0.000000,0.000000,33.000000,0.000000,
          100.000000,0.487000,-33.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "LIGHT_AS_ENERGY", 
          "CONSTANT", 
          1, 
          1, 
          2, 
          1.000000,0.000000,
          100.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "ENERGY_FACTOR", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.750000,0.000000,0.000000,33.000000,0.000000,
          100.000000,13317.191406,-33.000000,0.000000,0.000000,0.000000,
       }

       SI_FCurve { 
          "Infinite", 
          "INTENSITY", 
          "CUBIC", 
          1, 
          5, 
          2, 
          1.000000,0.750000,0.000000,0.000000,33.000000,0.000000,
          100.000000,0.395000,-33.000000,0.000000,0.000000,0.000000,
       }

   }

}


Autodesk Crosswalk v4.0