Collada plugin for After Effects

More info here
Plugins and Scripts > trueSpace > Utilities

ies profile and generic falloff for trueSpace7.61 spotlights

layers icon

This script will alter spot and projector lights in workspace to give the appearance of a light defined by an IES file. It can also set general falloff for default spotlights so the hotspot angle will have an effect in the 3D viewport.

persistent base install required

A version of this script comes pre-installed in the Unofficial trueSpace Updates - https://www.united3dartists.com/forum/viewforum.php?f=55

Installation:

  1. install the persistent base if not already installed
  2. drag the node into the link editor
  3. delete the node from the scene after install is complete
spotlight cone sample

from left to right - soft/small hotspot, truespace default, hard/large hotspot, ies profile light

ies light script

Cone Falloff Usage:

  1. set angle for the light
  2. set the hotspot angle -
  3. be sure light is selected and run the script
  4. right click to open the panel
  5. set the falloff exponent amount
  6. press the Generate Spotlight Falloff button
ies light script

IES Light Usage:

  1. Select a spotlight or projector light in the scene
  2. Push the button to open the script panel
  3. Push the "..." button to choose an IES file
  4. Set values for the width and height of the image
  5. Brightness Adjust increase the brightness of the image ( 1 = twice as bright )
  6. Press the Generate Bitmap button to create the mask image
  7. Optional: Check Indigo to create a spotlight compatible with the Indigo Render Exporter
  8. Press Copy Bitmap to Spotlight to copy the image and reset the script or press Don't Copy to reset without a copy
  • Step 7 must be run so that the script will reset itself
  • If the first press of a button doesn't work, try pressing it again - it's a little sticky
  • Large image width and height gives better definition but can take a while to generate the image

The script can slow truespace to a crawl until it is reset at step 7 above. A preview refresh value of 0 and a gray image indicates that the script is not active.

you tube here

Notes:

  • the ies profile and falloff control are 2 entirely different things and are not used together
  • a falloff value of 1 has a linear response
  • hotspot greater than the angle results in a hard spotlight
  • the new spot will have a bigger angular appearance than the trueSpace default. it will be closer to the angle value set on the light
  • left click for ies lights, right click to set the falloff effects
  • truespace bug: wide angle spot lights shine in 2 directions instead of 1 when the cone angle is very large, fix is to turn off hardware shadow filtering
  • the ies generator works by reading the ies data, creating a texture, applying the texture to a sphere and finally capturing the result with a 3D camera
  • height and width should be the same value
  • some ies light files can be found in the truespace support files folder - C:\trueSpace761\tS\SupportFiles\IES Files\. note this folder does not exist in the Rosetta/Std version of truespace

July 17, 2020

  • too aggressive in cleanup and lax in testing - placed required items back in the scripts for indigo
  • compatible with new Unofficial Update projector light

July 16, 2020

  • persistent install
  • bug - properly use data from files that occupy the 90 to 180 degree vertical region
  • changed projection camera and sphere geometry and removed masking code
  • removed post process and other unneeded elements
  • added a brightness control
  • interpolated data for a smoother result

July 3 2015

  • works with multiple selections

June 28, 2015

  • added and updated the generic spotlight cone generator script
  • new falloff exponent for generic cone generator
  • height and width inputs for generic cone generator
  • cleaner node connections for the ies generator - several redundant connections were created with each press of the generate button
  • set ies spotlight near clip value to a small value for better lighting of nearby surfaces parallel to the light orientation
  • ies added a mask for a circular profile so dont see the square image

November 30, 2012: fix for Unofficial update 3, unique button id

Sept 22, 2012 - Radius of unselected spot light controls size of the Indigo ies square mesh

September 17, 2012
June 5, 2013