Lighting and model color

 From:  Michael Gibson
425.9 In reply to 425.8 
Ok, this is ready for the next beta.

To make it work you'll have to define a keyboard shortcut. You do that by closing down MoI, then editing the moi.ini file (which contains settings). The file is located here: C:\Documents and Settings\[your login name]\Application Data\Moi\moi.ini . You'll add this line:

[Shortcut Keys]
L=script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == 1 && dir.z == -1 ) { dir.set(-0.5,1,0); } else { dir.set(1,1,-1); } moi.view.lightDirection = dir;

That stuff for L= should all be one long single line.

This will define a keyboard shortcut for L that will toggle the light direction, between the standard direction:




and this alternate direction:




I can help you tweak the script if you want the alternate light from some slightly different direction than that.

It looks like it will be a few more days yet before the next beta is ready.

- Michael