Short for lighting options

 From:  Michael Gibson
2907.12 In reply to 2907.9 
Hi Al, so here are a few more examples.

You can set each of these scripts as the command part of a keyboard shortcut to set a batch of lighting properties in one keypress.



Set default lighting:

script: /* Set to default light */ var v = moi.view; v.lightingStyle = 'Default'; v.specularHighlights = false; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = false; v.fixedLightPositions = false;



Set to "Key + more fill" style, with specular:

script: /* Set lighting options */ var v = moi.view; v.lightingStyle = 'MoreFill'; v.specularHighlights = true; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = false; v.fixedLightPositions = false;



Set to "Key + more fill" style, with specular + metallic:

script: /* Set lighting options */ var v = moi.view; v.lightingStyle = 'MoreFill'; v.specularHighlights = true; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = true; v.fixedLightPositions = false;



You can make any number of these, so that you can have a batch of lighting properties set all in one keypress.


- Michael