I am creating some custom lights for lightmap process in Maya. Some of my template are using multiple lights but I would light to hide the lights's icon in my viewport replacing by a custom of mine. Problem is if I switch the Visibility attribute value to "0", light will stop any activity in my scene... Then is there a way…
Bad choice, this affect Volume Light area =_=..... Everything is already mel scripted and more complex :D no I want to see other lights I didn't create with my tool. Not really... I already tried to parent lights to a group or Locator and then turn visibility to 0 but it affects the lights. Same with a layer and hiding the…
So you have lights you want to toggle on and off that affect the baking? You can do light groups. Assign an attribute to toggle if they are in that light group or not. You can manually do it, or make a purdy mel that does it for you.
hi sama, here's what I would do: 1. create a dummy object you want to use as your light icon 2. create your light, and assign a point constraint to it from the object (select object, then light)- you might also want an orient constraint for rotation 3. go to the viewport menu 'show' and uncheck lights now you should be…
Roosters method is all lights, the method Sama.Van is looking for is more selective and would only apply to lights using his script. Oh and I still can't find out why it doesn't accept 0 Sama.Van. I can use 0 in 2008, and seaching online, didn't see anything mentioning it.
Ahhh.. sorry. Then put the light in an LOD group. then add yer Object proxy to the LOD group. ( light on top as default depending on whatever distance strategy u have ) tested 100% grade A "werking" ( unless it's not ) Edit > Level Of Detail > group Re: locator attr: Lamont, it's probably a divide by zero failsafe fer 2009…
Errrr... Better yet, for areaLight1... setAttr "areaLight1.lodVisibility" 0; Don't use the shape lodVisibility. ( Transform will override ) Parent the light into yer object. Grade A 101%