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 ‘mel’
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.



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