— To have a look of all of the articles posted under “code”, have a look here.—
In this section you’ll find some goodies that I wrote in order to ease my life.
Maybe they can ease yours, too.
Click here for my small GitHub repo updated with the latest snippets and tools from my daily job.
- Render Maya scenes from the Mac Terminal
Have a look here : Maya Swift Tips – Command Line Batch Rendering on Mac, Pt I
- Processing sketch in order to visualize Midi Input Informations:
Here‘s a tutorial on how I used it in order to check midi signal sent over ethernet/wifi.
- Custom Python Script for quickly creating Render Passes and associated Contribution Maps under Maya 2012 (and maybe up to 2015, not tested).
EDIT: I’ve also created a little video-tutorial to explain how to run correctly the script.
You can find it here!
What it does:
Running the script will create a render layer and a number of render passes and contribution maps, already connected with each other.The name of the render layer created can be changed by modifying the variable which holds it:
All of the render passes are contained in the list called
passesNames, so you can add your own by just modifying the values in that list.
The only thing you’ll need to do before launching the rendering is manually adding the objects you need to the render layer and the contribution map, and connecting the write-to-color-buffers to the passes.
The script is based on the lighting/compositing pipeline I studied at Rainbow Academy, but can be easily customized for further needs.Instructions:
- Right click on the below link and save the python file wherever you want on your pc/mac.
- Open the py file with a simple text editor.
- Copy all the text within it
- Open the script editor in maya, then open a new Python tab and paste all the text there
- Launch the script! (ctrl+enter or the play button)
- EDIT: VERSION 0.2, Download it here! (fixed the matte pass bug)