My problem is I create large scenes for retail design with 100's of lights, and i always have the bad luck of ending with a few lights which don't conform to my standard settings. eg: when i create a new omni light or photometric light its settings are still set to (use global setting). Does anyone know of a way to change the presets/standard, or have a script/plugin which alows me to create lights which already conform to the preset setting which i designate.

Thanks

Arnold

Kickflipkid687

01-03-2011, 06:00 PM

If you open the MaxScript Help under Help and search for Light you can see all the commands you can use for a Light Node.

So there is for example

Light Common Properties, Operators, and Methods<light>.type Name default: #freeDirect

So then if you selected a Light Node in the viewport and in the F11 (Listener) window typed in

$.type = #omni, it should change to an omni light type.

Although if you are instancing lights or anything, you should do something like

local theSelection = selection[1]
theSelection.type = #omni
ect..

This is because $ doesn't refer to the actual object you have selected, but the root/parent node I think, so selection[1] will grab what you actually have selected.

CGTalk Moderation

01-03-2011, 06:00 PM

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us