Scene Cleaning

A short MEL script I created with Nick Mireles while shadowing Jackson Spencer, the Texas A&M University Visualization Department’s Student Pipeline Tech. The scene cleaning script helps handle a host of simple problems that prevent scenes from rendering.

My Contributions

I handled cleaning up scene namespaces and deleting extra AOV channels. The AOV channels were as simple as checking the scene for a few specific DG and deleting them if they ended in a number. For the namespaces, I wrote a recursive function that moves through the tree of namespaces in the scene and merges the end nodes with their parents until only the Root namespace is left.