Shortcut keys

 From:  BurrMan
1969.6 In reply to 1969.5 
Well here you have it! I removed the toggle so I know which light I'm looking at easier. Only did 4. There wasnt much difference in the 1, 3, 9, 7 views. Maybe later when we get more lights!

f1 default, f2 front, f3 right, f4 back.

Shift+F1=script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == 1 && dir.z == -1 ) { dir.set(1,1,-1); } else { dir.set(1,1,-1); } moi.view.lightDirection = dir;

Shift+F2=script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == 1 && dir.z == -1 ) { dir.set(0,1,0); } else { dir.set(0,1,0); } moi.view.lightDirection = dir;

Shift+F3=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(-0.5,1,0); } moi.view.lightDirection = dir;

Shift+F4=script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == 1 && dir.z == -1 ) { dir.set(-3,1,-5); } else { dir.set(-3,1,-5); } moi.view.lightDirection = dir;

If I removed the else clause the script would stop, so I just cheated and set the 2 values the same.

Burr