Home

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 5. over 1 year by throb
  2. 4. about 2 years by throb
  3. 3. about 2 years by throb
  4. 2. about 2 years by throb
  5. 1. about 2 years by throb
 

Maya Tools for Maya 2011 with mayapy.

This could very well work with 2010 but is untested as of yet.

These scripts are to be used with the mayapy executable that comes with Maya 2011.  

Requirements :

  1. vrayUtils.py in your PYTHONPATH so it can be imported properly
  2. pyMel - https://code.google.com/p/pymel/ (Maya 2011 comes with this pre-installed)


What does this stuff do?


Usage of renderMayaVray.py:

mayapy renderMayaVray.py --scene file.mb --startframe 1 --endframe 100 --camera renderCamShape --layer renderLayer --output path/to/renderdir

Please note : the camera name is the shape node.

The layer is optional at this point.  It will render the default render layer without a specified layer.

However, if there is already more than the usual masterLayer it will render the first layer it finds versus the masterLayer.  Suggestion is to create a base render layer and create other render layers from that base.

It will name the resulting EXR the same name as the scene.  EG. my_car.mb becomes my_car.0001.exr.

If you have a layer called "wheels" it will name the render my_car_wheels.0001.exr

There is initial stereo camera support if you use "left" and "right" as part of the camera names.  This is currently untested.