Lighting in MOI3D

 From:  Malc615 (MALC)
1348.3 In reply to 1348.1 
Hi Fitz.

There is a script that covers that problem.

Copy and paste this script into the shortcut keys and assign a free key, it toggles the light direction from side to side and works great.

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;


This comes from the script page, have a look (if you have not already) very interesting.

http://kyticka.webzdarma.cz/3d/moi/

Hope this helps

Malc.