Backburner Tribulations - Update

 More changes to the performExportToBackburner.mel file! Thanks to Francois Maree for the suggestions :). A couple parameters were added.

Auto Threads – Automatically use available threads

By Frame – Render frames in increments of this value. Render settings must be set to render out a sequence of images


Francois let me know that there was a change in the Maya 2013 mel that caused an error with versions 2012 and 2011 and probably versions earlier than those. It was trying to find a procedure that wasn't included, but all is well now. There are now two different versions in the download.
To be honest, I'm really considering making a custom tab in the render settings for this, I don't know why it's not there in the first place.

Edited on 12/22/2012
There was an error saying the byFrame control could not be found. Now fixed.

Backburner Tribulations



Have you ever contemplated stepping in front of a bus after dealing with Backburner all day? Have you ever left something to render only to come back some hours later and find a lame, cryptic error? Well I have, repeatedly! And I have to say, the “Create Backburner Job” window in Maya leaves a lot to be desired.

Something that many have dealt with is the "timeout" issue, that is, you leave a job running and an hour later the job aborts and restarts because evidently, sixty minutes is the default amount of time set for Backburner to take such action. Yes, it's possible to change the value with the "-timeout" flag in the code generated by the the custom command, but that would quickly become annoying every time you send a job. Wouldn't it be nice if this had a control in the UI? And how about controls for verbosity, and render threads and memory limits, right there on hand? The Backburner window seems kind of tacked on, so I decided to spruce it up! :3

I've modified the performExportToBackburner.mel file and added five parameters to the job window:

Render Thread – Specify the number of CPU threads right there when you send the job and not in another window!!

Verbosity – Level of detail in render progress messages

Auto Memory Limit – Dynamically calculate memory before each render

Memory Limit - Soft cap for memory used by MR

Time Out – Amount of time before job aborts and restarts



If the custom command is used, the flags will be added automatically as well. Even if you choose “from the scene file” instead of “mental ray” from the renderer dropdown, the appropriate flags will be sent because the script runs a check for the current renderer.

If the defaults for the custom parameters need changing, just change the value for the optionVars. Look for this code:



///////////////////////////////////////////////////
////////////////GENNY T 11/30/2012
/////////////////// optionVar for Timeout,Verbosity,
///////////////////////////////////Thread Number, Memory Limit
/////////////////////////////////////////////////////////

if (!`optionVar -exists "bb_Timeout"`)
optionVar -iv "bb_Timeout" 600;

if (!`optionVar -exists "bb_Verbosity"`)
optionVar -iv "bb_Verbosity" 3;

if (!`optionVar -exists "bb_Threads"`)
optionVar -iv "bb_Threads" 4;

if (!`optionVar -exists "bb_autoMemory"`)
optionVar -iv "bb_autoMemory" 1;

if (!`optionVar -exists "bb_memoryLimit"`)
optionVar -iv "bb_memoryLimit" 1024;

////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////



TO DOWNLOAD PAGE

 

 

 

Random Render: You Better Buy


We've all seen them, the pre-built computers standing together on the store shelf, depressed and ashamed after being fondled then ignored day after day. These machines tend to have one good (sometimes not that good) component that is used to beat the consumer about the neck and face and the rest of it is just mystery meat. I know not everyone is inclined to learn about the components of their computer. It doesn't matter as long as it does what its supposed to do, right? That's fair enough, but it sure doesn't hurt to be an informed consumer!

I kept thinking of all the PCs I see people purchase, the various builds, how much they've overpaid and this image was born. And I apologize to anyone who bought an Aurora R4 :P.

Scene info:

Mental Ray physical sky and some mia materials.  The glass for the store front is using a gradient in it's transparency since I wanted to show just a little of the interior so it doesn't look totally empty but it's a quick scene so I didn't want to model all that.

genProxyPlop version1_0



New Script!****




The genProxyPlop (don't you dare make fun of the name lol ).  It's a script that automates the creation of mip_binarproxy nodes, low poly stand in objects that envelope the high res model and creates the necessary connections for them to work. It just relieves the tedium of working with mip_binaryproxies in Maya.

The script creates a poly cube as the low poly object and if the high resolution model has more than six shaders assigned, the low res object will be split to create more faces to accommodate the shader assignments.  All shaders will be assigned to the low res object in the exact order they're assigned to the high res object (your leaf shader won't appear on your tree trunk!). Of course this option can be disabled.

The write feature auto renders a frame at a temporary low resolution (it'll warn you in case you want to decrease quality settings) and writes out the .mi files to the specified directory. This can also be disabled just in case you want to handle that manually.

Installation:
Copy the mel file to your user scripts folder and the warning icon to your user icons folder (details are in the 'read me' text file if needed) .  Source it in your userSetup mel file for convenience. If you're on Windows and you've made a userSetup file but it's not working, check this out.

Use this code to call the script:

genProxyPlop;

Then simply browse for the folder where you'd like the .mi files to be written out.
Whatever you have selected will populate the list you call the script, you can refresh the list with a new selection by hitting the "load" button.
Unless you want to manually assign shader to the low res objects, it's recommended that "assign shaders" is checked.
Make sure "write" is checked and  hit "generate proxies"!



Greek column model is from the freebie section of Turbo Squid.





DOWNLOAD



PMM Update v1.6.3


 Update!

* Added texture filter options

* Added node selection window for existing photographic exposures and portal light shaders when using the create camera or portal light features

* Minor tweaks and fixes

* Double checked, it works in pre-QT Maya versions

EDIT:  Fixed issue where 'gamma correct selected' was broken!


Download