Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 31-10-2003 , 10:59 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437

Default Lighting HotKey ?

I already RTFM and searched all the HotKey editor categories but could not find the place to set the hot key for thr Default lighting toggle


Thanks

Niruser added image


Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 2 01-11-2003 , 02:20 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
As far as I know, it's the 7 key.

# 3 01-11-2003 , 12:30 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437
As far as I know I haven't changed the settings for this one so the 7 is set as the one in the image:

But I need to set a key for the redlined command.

Thanks

Attached Images

Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 4 01-11-2003 , 12:38 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
how about the 5 key?


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 5 01-11-2003 , 12:46 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437
5 is for the shademode

But I had an idea :
Yesterday it hadn't weorked because I tried to see what the commands look like in the script editor and couldn'r see anything

but today I forced the editor to echo all commands and now I can just copy the code into the hotkey editor

Thanks anyway

Nir


Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 6 01-11-2003 , 12:51 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Well, the 5 key does switch to shaded mode AND default lighting... or are you trying to switch to default lighting with textures on or something?

Why do you want to do this anyway, if I may ask?


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 7 01-11-2003 , 12:53 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437
OK

I will make a couple of shelf buttons ( or assign to hotkeys )

to turn "Use All Lights" on:

====================================

DisplayLight;
{ string $currentPanel = `getPanel -withFocus`;
string $panelType = `getPanel -to $currentPanel`;
if ($panelType == "modelPanel") { modelEditor -edit -dl "all" $currentPanel; } else if (`isTrue "MayaCreatorExists"` && `scriptedPanel -ex $currentPanel` && `scriptedPanel -q -type $currentPanel` == "dynPaintScriptedPanelType") { dynPaintEditor -e -dtx 1 -dsl "all" $gDynPaintEditorName; }};

====================================
and to use default lights:
====================================

modelEditor -e -dl "default" modelPanel4;

=====================================

This is for the MEL illiterate guys :-)



NIR


Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 8 01-11-2003 , 12:56 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437

Originally posted by kbrown
Well, the 5 key does switch to shaded mode AND default lighting... or are you trying to switch to default lighting with textures on or something?

Why do you want to do this anyway, if I may ask?

When I Render in Final Gather I need the lights turned on but set to 0 and when I model something I don't see a thing so I want s key to turn the def. lighting on.

Nir


Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 9 01-11-2003 , 12:58 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
ah, that makes sense...


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 10 01-11-2003 , 04:14 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
"use Default lighting" is usually on by default.

# 11 01-11-2003 , 04:19 PM
nirsul's Avatar
Subscriber
Join Date: Oct 2002
Location: Haifa, Israel
Posts: 437
but after you changed it to "use all lights" it is not on anymore and that is where I need the key

:-)

NIR


Nir Sullam
Architectural Visualizations Page: www.orvatsel.com/index2.html
Maya Page: www.orvatsel.com/maya
www.nirsullam.com
# 12 01-11-2003 , 04:35 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
I believe you just hit the 5 or something to go to shaded and it returns to default.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads