Majik Primer: MoI's Lighting Options and You!

 From:  dinos
5222.25 
Hi Mike.

Reading your excellent Detergent Bottle tutorial reminded me of this thread.
I've always wanted a way to use the lighting settings you created here, preferably through a nice dropdown list.



This is the result. Its called Lighting Themes, for lack of a better name.
It was tested on the latest Moi beta, and it works fine. It should work on anything over V2.0, but it wasn't tested.

To use it you will need to copy the LightingTheme.htm file from the zip to your ui folder.
BEFORE you try the script please take a minute to change the first set of settings in the LightingTheme.htm file called: Default to your current lighting settings.
Otherwise your current settings will be lost.

Here is the relevant part:

code:
Default: {
	lightingStyle: 'Default',
	specularHighlights: true,
	specularBrightness: 0.28,
	specularFocusSize: 2.00,
	metallicLighting: false,
	fixedLightPositions: true,
	customKeyLightLevel: 0.0,
	customFillLightLevel: 0.0
},




Then add a shortcut:
code:
script:moi.ui.createDialog( 'moi://ui/LightingTheme.htm' );


Thats it.

You can define as many themes/lighting settings as you like. It should be fairly easy if you study the LightingTheme.htm file for a bit.


Enjoy :-)