& code

— 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 GitHub profile.
  • 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:
    ‘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: renderLayerName.
    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:

    1. Right click on the below link and save the python file wherever you want on your pc/mac.
    2. Open the py file with a simple text editor.
    3. Copy all the text within it
    4. Open the script editor in maya, then open a new Python tab and paste all the text there
    5. Launch the script! (ctrl+enter or the play button)
    6. EDIT: VERSION 0.2, Download it here! (fixed the matte pass bug)

Lascia una risposta

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *


È possibile utilizzare questi tag ed attributi XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">