In this step by step guide I will show you how I created a viewport rendering tool combining native maya commands with python. In the end you will have your own viewport rendering tool and a very strong knowledge of python scripting and maya UI customization.
We start by creating an interactive tool with maya c++ api, using miscrosoft visual studio to compile the plugin. We just reuse some code from maya devkit, so dont worry if you are not familiar with the c++ API. The main focus will be the python script that will do all the work. Users that have little experience with scripting will find it easy to follow and more advanced users will also benefit from this guide, using python maya commands in a not-so-obvious way. Maya 2014 win x64 is the maya version used in this guide, but should work with any version of maya from 2011 up.
In your download you will find all the source code so you can use as reference and of course a pdf guide will all the necessary steps to make your own viewport render tool in maya.
UPDATED vray and mental ray support.
Info:
We start by creating an interactive tool with maya c++ api, using miscrosoft visual studio to compile the plugin. We just reuse some code from maya devkit, so dont worry if you are not familiar with the c++ API. The main focus will be the python script that will do all the work. Users that have little experience with scripting will find it easy to follow and more advanced users will also benefit from this guide, using python maya commands in a not-so-obvious way. Maya 2014 win x64 is the maya version used in this guide, but should work with any version of maya from 2011 up.
In your download you will find all the source code so you can use as reference and of course a pdf guide will all the necessary steps to make your own viewport render tool in maya.
UPDATED vray and mental ray support.
Info: