[Maya Python] Light Selection/Interaction Interface

Hello, everyone.

I made this interface as a personal test for Pyside, OpenMaya callbacks and PyMel interaction with the scene (it’s available here):


It allows the user to select/deselect lights, change their intensity, light color and shadow color. A Timeline OpenMaya callback can also be activated or killed to update the window’s information, and you can add or remove lights from the current Render Layer, if it’s not the defaultRenderLayer. Regarding the QWidgetList, you can look for lights by name or hide those that are not in the current Render Layer.

I would love to know your opinions on how effective my approach to an interface is. Is it clogging too much memory by holding so much information, at least when storing information on the current Render Layer? Are the hard-coded Stylesheets effective for an interface inside Maya? How attractive is the layout for you?

There are two things that keep numbing my mind, though. The only place where the Font Size doesn’t look so well is in the Maya installation on my Surface. I only use it for tests while traveling, though, so I’m not sure if that’s the only place where I should worry about font size across several devices. Any suggestion? Also, I don’t have much experience with negative value lights, so I’m not sure if limiting it to the minimum and maximum QColor values is effective.

Thanks in advance for reading :D:

Looks like a fun little project :slight_smile: The icon is a neat little touch.

Can’t comment much on functionality without trying it out, best to pass it around to lighters you know, they’ll provide the best feedback for you.

Aesthetically, I think there’s quite a lot of wasted blank space. This app could have been much more compact. I also prefer Maya/Nuke darker grey background as well.

I see, thanks for the input =) Aesthetics is where I need to work on a little more.