Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#####3dsMax CamLight for Maya##### This little python script imitates the way 3dsmax Nitrous viewport handles screen space ambient occlusion, anti-aliasing and soft shadows inside of Maya's Viewport2.0. Most of my co-workers use 3dsmax, I noticed that the default viewport is now Nitrous while VP2.0 needs to be turned on manually in Maya. Also, you need to go to VP2.0 options to turn on SSAO, MSAA, create a light manually, turn on depth map shadows and display them in viewport. In 3dsmax the default lighting system project shadows in the viewport, something that you cannot control in Maya. The best way to replicate this is Maya is to create a directional light, parent it to the perspective camera and add a little offset on two axis. I do this every time, so I decided to batch the process with a little script and share this to the community. I hope you'll like it, if you find any strange behaviour please let me know. Works with Maya 2012+ on Win, OSX and Linux.
Quick video overview here: https://www.youtube.com/watch?v=fLRMOz0bkmA&feature=colike