/* This file was original downloaded from Highend3d.com
'' Later modified by a person who calls himself FromLake
''
'' Script Name: km_bakeAnimatedTexture v1.0
'' Author: Kevin Mannens
'' Last Updated: January 11, 2005
'' Update/Change this file at:
'' https://www.highend3d.com/maya/mel/?s...rendering#3332
'' (link doens't work)
''
'' Updated for Maya 2011 by:
'' Script Name: km_bakeAnimatedTexture2011 v1.1
'' Author: Jeroen M. Ritsema, FromLake
'' Last Updated: February 01, 2011
''
*/
//************************************************** **********************
//************** km_bakeAnimatedTexture2011 version 1.1 **********************
//************************************************** **********************
// Thanks to Chriss Kniffen, Kevin Mannens, Roy Nieterau, Jeroen
// Ritsema
//
// km_bakeAnimatedTexture2011 v1.1 bakes animated textures,
// so the files can be used as an image sequence.
//
// Source script, execute and follow the descriptions
//************************************************** ***************
global proc km_bakeAnimatedTexture() {
if (`windowPref -exists bakeUI`) windowPref -ra bakeUI;
if (`window -exists bakeUI`) deleteUI -window bakeUI;
int $startTime_I =`textField -q -text startFrameTF`;
int $maxEndTime_I =`textField -q -text endFrameTF`;
int $xRes_I = `textField -q -text xResTF`;
int $yRes_I = `textField -q -text yResTF`;
if (($startTime_I==0)||($maxEndTime_I==0)||($xRes_I== 0)||($yRes_I==0))
{
confirmDialog -title "Wake Up!" -message "DO fill in all the fields."
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off