Skip navigation.

Posts tagged with "MelScripts"

KSL_CameraZoomControls - Updated

, , , ...

Happy New Year 2009 !
I'm currently busy a lot with work and other stuff. By the way I corrected a bug in KSL_CameraZoomControls.py : there was a problem when you tried to tweak sliders while active panel was not a "modelPanel". This release should fix it !
Download KSL_CameraZoomControls.py

Maya, Swatches And Mia Material - Episode II

, , ,

Following this Post, I was browsing this morning and just saw that David Johnson did a great hack to one of the hypershade melscripts to include an elegant button that toggle the Swatches Update On/Off.

Link to DJX Blog Post

KSL_CameraZoomControls

, , , ...

Here is a helpfull tiny script when you are doing a lot of 3d rotoscopy and need some extra precision in your viewport :

KSL_CameraZoomControls.py

Source the Python Script and call the main procedure with :

KSL_CameraZoomControls()

There are some similar scripts on Highend3D but with this you don't need to select a camera in a list : it will automatically connect to the active camera.


Download KSL_CameraZoomControls.py

KSL_RenderStatsToggler - Python

, , , ...

I'm currently in the process of learning Python and I converted the KSL_RenderStatsToggler from Mel to Python. It's interesting to compare both files side by side to see the syntax differences.

Here is the Python file :
Download KSL_RenderStatsToggler.py

And the first version in Melscript:
Download KSL_RenderStatsToggler.mel

KSL_FrameBuffersManager

, , , ...

Here is a script that I wrote at Mikros Images for two projects rendered on Mental Ray. This script is meant to help you manage and create Mental Ray User Framebuffers using the way Autodesk started implement them in Maya 2008 :

KSL_FrameBuffersManager.mel

With this script you can do several things like add Framebuffers , edit/mass edit Framebuffers, reorganise Framebuffers order, Export/Import your Framebuffers presets (Pretty convenient when you need to keep the same settings from shot to shot).

Source the MelScript and call the main procedure with :

KSL_FrameBuffersManager();

An Online Help is available here : KSL_FrameBuffersManager Help File and a Related Download Page on Highend3D : Highend3D Page

Download KSL_FrameBuffersManager.mel

KSL_RenderStatsToggler - Updated

, , , ...

I updated KSL_RenderStatsToggler Melscript. I did some interface tweaking and added a button that open the Attribute Speadsheet directly on Render tab with selected objects shapes displayed.

You can download it here :
KSL_RenderStatsToggler Post

KSL_RenderStatsToggler

, , , ...

/*** U p d a t e ***/

KSL_RenderStatsToggler 1.1
- Interface Tweaking.
- Added an Attribute Spread Sheet Button that load directly the Spreadsheet with Render tab selected on object shapes.


I'll start to put here some of the XSI and Maya scripts I wrote and use at work. The first here is an old one but usefull when you do a lot of rendering, it allow you to mass toggle/untoggle render stats on objects in the scene :

KSL_RenderStatsToggler.mel

Source the MelScript and call the main procedure with :

KSL_RenderStatsToggler();

"Working In Selection Mode" button mean that you'll affect selected objects and their hierarchy, you can affect the whole scene by clicking on it (The button will switch to "Working In All Objects Mode").


Download KSL_RenderStatsToggler.mel

Maya, Swatches And Mia Material - Episode I

, , ,

/*** U p d a t e ***/
There is a new post related to this here : Blog Post

Maya in it's last versions is updating Hypershade Swatches whenever you move a slider or tweak an attribute on mia_material and mia_material_x. While it's usefull, it causes a lot of slowdowns, using the Hypershade is a pain. It's however possible to deactivate Hypershade Swatches Update if you want to get some comfort back, try this command in Script Editor :


renderThumbnailUpdate false;