Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 08-12-2013 , 08:59 AM
Registered User
Join Date: Dec 2013
Posts: 6

Ramp -> file

Hey ppl,

Is it possible to convert an animated ramp to an image sequence?

Thanks
user added image

# 2 08-12-2013 , 10:11 AM
Registered User
Join Date: Dec 2013
Posts: 6
Nevermind ppl, got this script
works like a charm, (but didnt work when i kept XYres 2048x2048)

-------------------------------------------------------------------------------

/* 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;

window -mxb 0 -wh 280 130 -t "Bake Texture Sequence" bakeUI;
// window -q -wh bakeUI

columnLayout mainCol;
separator -height 20 -w 500 -style "in";
text -l "First select the Shader, then the geometry";
separator -height 10 -w 500 -style "in";

rowColumnLayout -numberOfColumns 3

-columnWidth 1 80

-columnWidth 2 80

-columnWidth 3 80 mainRow;

text -l "Start/End frame"; textField startFrameTF; textField endFrameTF;

text -l "XY resolution"; textField xResTF; textField yResTF;

button -l "Bake" -c "bakeThem()";

showWindow bakeUI;

}

global proc bakeThem() {

//declare variables
//string $startTime = `playbackOptions -q -min`;
//string $maxEndTime = `playbackOptions -q -max`;

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."

-button "Sorry" ;

}

string $selection[] = `ls -sl`;
string $selectedMaterial = $selection[0] ;
string $selectedGeo = $selection[1];
int $startInt = $startTime_I;
int $endInt = $maxEndTime_I;

//iterate through timeline
int $i;
for ($i = $startTime_I; $i <= $endInt; $i++)
{
currentTime $i;
int $now = `currentTime -q`;
//print ("The frame is " + $i + "\n");
convertSolidTx -antiAlias 0 -bm 1 -fts 1 -sp 0 -sh 0 -alpha 0 -doubleSided 0 -componentRange 0 -resolutionX $xRes_I -resolutionY $yRes_I -fileFormat "iff" $selectedMaterial $selectedGeo;
}
}
km_bakeAnimatedTexture();

------------------------------------------------------------------------------

Thanks all user added image

Posting Rules Forum Rules
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

Similar Threads