
Dave Girard's 101 Autodesk® Maya® Tips is now available in Kindle, interactive iPad edition and DRM-free EPUB/PDF editions. Work faster, cry less. Read more about the ebook.
Topics by tag:
Recently published articles by Dave G:
V-Ray Tuner 3.4.1 posted for download. There’s not too much new here but there’s an important fix for the Optimize button script for Maya 2014. Maya 2014 has a bug that returns the wrong number for RAM amount for “memory -phy” so, if you’re running 2014, the script asks you to enter your memory amount in GB. Otherwise, the only other new addition is that I’ve added Point Light support to per-light render script.
0 notes | Permalink
Michael Comet’s Pose Deformer Mac Maya 2014 build can be downloaded here. I am using the latest updated source that David Johnson has tweaked to fix an issue with compiles on 2014. The Windows version is available on his djx blog here. I’m bundling the Python version of the Pose Reader plug-in but it seems to have an issue where it complains about a missing connection but everything works fine. I’m looking into it.
0 notes | Permalink
This is not a huge update to V-Ray Tuner but it brings a few fixes and features that affect various things. Here’s 3.4 changelog:
0 notes | Permalink
Update: now with JavaScript version for Windows/OS X.
I do a lot of composites of similar images or render passes, so I like to have the document name as the layer name so it’s clear which document was used for the layer. I don’t know much about scripting Photoshop but I managed to piece together a very basic AppleScript to do exactly that, so grab it here if you want to:
Here is a Windows/OS X-compatible JavaScript version, courtesy of David Jensen. Tested in OS X PS CS6 and CS5 for Windows. Put it in your Photoshop folder/Presets/Scripts folder and it will appear in the File/Scripts menu.
The original AppleScript is here: Rename Front Doc with Document Name AppleScript.
Here it is in action:
I use this script so often that I ended up putting the script into an iKey hotkey so I don’t need to the AppleScript Editor to run it manually. I highly recommend iKey if you want a keyboard automation app for OS X. I also used it to map command-shift-z to command-y for Nuke’s redo function and it does a bunch of other auto-typing stuff for me.
1 note | Permalink
Yesterday, I plugged (nyuk) iDeform, Ingo Clemens’ free Maya plug-in for real-time displacement previewing. If you look around Ingo’s blog, you’ll find a bunch of other great scripts and plug-ins and iCollide definitely warrants a mention. It’s basically L3Deformer’s collision deformer for free:
3 notes | Permalink
I got tired of opening the Create Render Node dialog from menus, since I use it so much, so I made another hotkey script. This will bind a material if you have an object selected (like the right-click Create Material selection) or it will just create a new node if nothing is selected, which is good for shader building in the Node Editor or Hypergraph:
global proc createNoderr()
{
if (size(`ls -sl`) > 0)
{
createAssignNewMaterialTreeLister "";
}
else
{
hyperShadePanelMenuCommand("hyperShadePanel1", "createNewNode");
}
}
Download link:
1 note | Permalink
So, a while ago I posted a handy hotkey script to bring up the Attribute Editor for the selected object’s material but it didn’t work properly with face-level component selections, if there were multiple materials on the mesh (this is also a problem for showShadingGroupAttrEditor). You can see the difference between the old script and the new one here (with my Venetian Snares playing in iTunes – oops):
Here’s an updated script that works well – put it in your Maya hotkeys and assign it to a key combo. The openAEWindow at the start ensures that you don’t get that weird hiccup fallback to the shape node if the AE window isn’t already open. Here’s a download link (updated to work with object and face selections):
Put it in your scripts folder and call it from a hotkey with materialEditorHotkey; in the User hotkey text field:
Update 2: now does a select toggle for component mode, so you don’t lose your face selections when it does it’s thing.
3 notes | Permalink
I am pretty happy with the latest V-Ray Tuner 3.3 update. It adds a number of features that I now use constantly and I think they’ll be pretty popular. Here’s a break down of what’s new in 3.3:
It’s not shown in that video but the release script now has a palette with an option to keep the original swapped-out mats after conversion.
As always, let me know if there’s anything you want added or tweaked in V-Ray Tuner.
0 notes | Permalink
After getting tired of manually setting project paths for files that were already open, I made a simple script that does exactly that and then prompts you to reopen the file so assets from relative paths load correctly:
The script assumes that you are using the standard project/scenes format, with the currently open file in the /scenes/ folder. There are some scripts out there can monitor your Maya session and do this automatically but I personally hate scripts that do stuff for me with added polling. Maya is a fickle beast, so the last thing I need is another thing adding potential instability. So, grab it here lest ye waste more time by doing it manually.
If you want the script shown in the video that opens your active project images folder, grab that here.
2 notes | Permalink
So I’ve updated GoP with some handy changes which bring it up to version 2.0 (download link). If you don’t know GoP, it’s a script that lets you send selected objects in Maya to Photoshop for texturing. The original version used the OBJ format as a go-between but 2.0 now uses .dae COLLADA format, which has some nice advantages – most notably, camera support:
As you tell, that has great potential to be used as an aid for matte painting or texturing with specific angles in mind. By default, Photoshop opens 3D files as square, but you can get the correct cropping for your scene by matching the aspect ratio or dimensions of your Maya scene:
As you can see above, this also supports basic coloured Maya lights. I can’t claim any credit for this stuff. It’s just Adobe’s excellent COLLADA support that’s doing all the work. You may need Photoshop CS6 for camera import support but meshes will import fine. Anyway, this should come in handy as Adobe adds more and more 3D features to Photoshop Extended.
0 notes | Permalink