Q and A: Unicode and passing buttons commands Uncharted 2 - E3 Awards
May 22

I saw a post on www.cgtalk.com where a user wanted to render the selected meshes bounding box as a render region using the current render settings. He gave this example:

I thought this was an interesting challege that the Python API could handle since it can access the M3dView class which lets you test points in the Maya 3d space and get what pixel they are at in the viewport. Here is the finished script, also posted in my downloads section:

rtRenderSelectedMeshesRegion.zip

Cheers,
Ryan

Leave a Reply