Here’s another small function that i missed from my experience with Lightwave, it’s a script that allows you to shift the Hue, Saturation and Values of all color keys on the selected ramp node.
It has it’s own interface and i had to rewrite the RGB to HSV and the HSV to RGB code as the standard rgb_to_hsv and hsv_to_rgb functions clamp values to 0.0 and 1.0, which is a royal pain when your ramps are float and exceed 1.0 as value.
Posts Tagged ‘Maya’
Maya : hos_rampColorShift.mel
Saturday, December 5th, 2009Maya : hos_invertRampPositions.mel
Saturday, December 5th, 2009Here’s a small function that inverts all the key positions on the selected ramp, a small feature i missed from Lightwave and wanted to bring to Maya.
download : hos_invertRampPostions_v1.0.zip

Maya : Create Reference multifunctional hotkey
Saturday, December 5th, 2009Here’s a small replacement for the default <CTRL> + <r> Create Reference command hot-key that adds some extra functionality.
This little function is actually quite simple, but allows one hot-key to do two things.
First, if nothing or a non referenced node is selected, the hot-key will simply function as Create Reference always did.
However, when a referenced node is selected, it will simply open up the Reference Editor.
Very simple, but a nice work-flow addition.
download : hos_ReferenceHotkey_v1.0
Maya : open Reference in new instance of Maya.
Saturday, December 5th, 2009Ever work with lots of references in a scene and you keep opening new instances of Maya to tweak a referenced file as a workaround trying to avoid using the save reference edits because of the (well justified) fear of wrecking a perfectly good referenced asset?
Well, no more, here’s a way to add a new feature to the RMB menu and File menu in the Reference Editor that opens the currently selected reference in a new instance of Maya.
Before you start doing this, know that it involves changing the MAYA_LOCATION/scripts/other/referenceEditorPanel.mel file that is an essential part of Maya, so, BACKUP referenceEditorPanel.mel BEFORE PROCEEDING.
If you screw up files that are an integral part of Maya and you don’t have extra workstations with Maya installs that can be used to restore those files should you screw up, there’s only one way to restore those files, and that is a reinstall of Maya.
The procedure is very simple,
Open up the MAYA_LOCATION/scripts/other/referenceEditorPanel.mel file in your favourite script editor.
Go to the end of line 214 (Maya 2009 and 2010, x86 and x64 on Windows) and create a new line.
Copy the folowing piece of code.
1 2 3 4 5 6 7 8 9 10 11 12 | // START HOS EXTRAS // in Maya 2010 add at the end of line 214 of referenceEditorPanel.mel menuItem -divider true; menuItem -label ("Edit in New instance") -annotation ("Opens a new instance of Maya with the file") -command ("string $referenceFile[] = `sceneEditor -q -si $gReferenceEditorPanel`;" + "system(\"start \\\"\" + getenv(\"MAYA_LOCATION\") + \"/bin/maya.exe\\\" \\\"\"+$referenceFile[0]+\"\\\"\");") referenceEdInstance; // END HOS EXTRAS |
And paste it at the newly created line.
Save, start Maya, and you are ready to go.
That’s it.
edit : I just noticed that WordPress’ auto formatting screwed with the code, fixed it now (if you tried this and it didn’t work, WordPress was the reason as to why.
Klik! Amsterdam Animation Festival Leader
Wednesday, October 14th, 2009For the Klik! Amsterdam Animation Festival 2009 we created a leader.
Live action footage was shot on the Red One, modeling was done with Maya and 3D Coat’s incredible retopo toolset, rendering in Mental Ray, compositing in Fusion and editing in SpeedEdit.
Many thanks of course to all the folks who worked on this project, in their own time no less.
Klik! festival leader from House of Secrets on Vimeo.
Blackhole, a videoclip by ArjanM
Friday, September 25th, 2009Check out this piece of work one of my partners, co-owner/co-founder of our company has created for his song ‘Blackhole’.
Don’t forget to check out his album Little Curses, which can be listened to and downloaded for free on his site, and of course when you like it, spread the word and leave him a message.
Can’t believe i forgot to post this : Terp
Tuesday, September 22nd, 2009This was posted a while ago on Vimeo already, but last week they made 3rd place in the student competition at the Klik! Amsterdam Animation Festival, which reminded me that i never mentioned this on my site, which is a shame, because it certainly is worth mentioning.
During their internship at our company, Percy Tienhoven, Nanda van Dijk and Sander Kamermans rendered, composited and finally finished their 2nd year animation project Terp.
Fusion : 64bit plugins available
Friday, August 7th, 2009Finally found a nice cheap good old Visual Studio 2005 Standard edition for my 64bit compiling needs.
Just quickly posting the download links in this post, going to do some restructuring of the site as well to make plugin updates and downloads a bit less messy and to get a better overview of what is available.
download : HoS_PixelMapper x64
download : HoS_MayaToxic2DMV x64
download : HoS_Tonemapper x64
download : HoS_Negative x64
Fusion : HoS_MayaToxic2DMV.plugin
Thursday, May 14th, 2009
A Fusion plug-in that converts a Maya/MentalRay 2D Motion Vector (2dMVToxik) render pass to a normalized data set that Re:VisionFX’s ReelSmart Motion Blur can us.
All you as user need to do, is render out your 2dMVToxik pass as you normally would (either embedded as extra EXR pass or as a single RGB(A) file) and plug the following channels in the Background input:
red -> 2dMVToxic X-motion (the red channel by default.)
green -> 2dMXToxik Y-motion (the green channel by default.)
and plug the following channel into the Foreground input:
alpha -> the Alpha channel of the image that needs to be motion blurred.
When you have done that, the plug-in normalizes the channels according to the Displacement value so that when placed into the FG input of a ReelSmart Motion Blur Vectors node with the Max Displace set to the same value as the Displacement value of this plug-in, it should work exactly like the data that is produced by a shading plug-in like, say lm2dmv.
This plug-in has been used extensively in our pipeline without any troubles so far, but should you run into something please let me know.
At the moment i have only compiled a x86 version and some small updates are planned, so keep an eye out for those.






This seems to be a function that is forgotten by many MEL programmers but can save you a lot of headaches.