light extracter  

LightExtracter.ls is a free Generic Layout LScript for LightWave 7.x                 (PC or Mac)

LightExtracter[65].ls is a free Generic Layout LScript for LightWave 6.5          (PC or Mac)

LightWave's "Load from Scene" command allows you to import lights as well as objects, but sometimes you don't want the objects -- just the lights and their targets (and parents).  Light Extracter will strip the lights and targets from a scene file and write them to a new scene file so that you can "Load from Scene" just the lights and their targets. If you need the items that the lights are parented to as well, an optional mode is provided that includes ALL objects in the scene, but they are replaced with nulls.  This way any hierarchy is preserved with elements that do not render.  

Quickstart

Running    Light Extracter  produces the following interface:

Choose the scene file to process, then select the "Extract" mode desired.  When you click 'Ok' a new scene file will be written using the same base name but with "ex_" prepended to the file name.  For example, for the scene file selected in the figure above, the new scene file will be "ex_target_light.lws" and it would be saved in the same folder as the original file.  The original file will not be disturbed.

Notes

  • Light & Targets Only - Use this mode if the lights are not parented to another object or if you don't want to retain that parenting.  The result will be a smaller scene file. 

  • ALL - Use this mode if you want to retain parenting information.  The new scene file will contain ALL objects and hierarchies of the original file, but the objects will be replaced with non-rendering nulls.  After loading, the extra nulls can be safely deleted, if desired.  Not a perfect solution, perhaps, but it works and the price is right.

  • LightExtracter.ls         Requires LScript version 2.3 or greater. 

  • LightExtracter[65].ls  Requires LScript version 2.2 or greater. 

Download  Light_Extracter  (version 1.1, 5 kB, 8/12/02)

Light Extracter is free software, but if you would like to help defray the cost of development and help to keep free and inexpensive tools for LightWave coming, consider a small donation.  You decide on the amount, if any.  Thanks! 

 

 

Comments are invited: street@ats-3d.com