Wednesday, 21. January 2009, 16:45:15
CG, Scripting, MelScripting, MelScripts
...
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
Saturday, 19. July 2008, 07:30:02
Maya, MelScripts, MelScripting, CG

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
Tuesday, 15. July 2008, 23:34:10
Scripts, Python, Maya, MelScripts
...
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
Tuesday, 8. July 2008, 21:37:57
Python, Scripts, Maya, MelScripts
...
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
Monday, 30. June 2008, 12:55:11
Scripts, CG, Scripting, MelScripting
...
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
Saturday, 28. June 2008, 21:39:20
Scripts, Maya, MelScripts, MelScripting
...
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
Tuesday, 24. June 2008, 08:25:19
Maya, MelScripts, MelScripting, CG
...
/*** 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
Monday, 23. June 2008, 14:13:09
Maya, CG, MelScripts, MelScripting
/*** 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;