// Jscript - will need some tweaking to be functional
RenderMapSequence( 1, 100, "C:\\tmp\\my_sequence.CURRENTFRAME.tga" );
function RenderMapSequence( FrameStart, FrameEnd, FileName )
{
var oPlayControl = Dictionary.GetObject( "PlayControl" );
// get eligible objects from selection
var aFilterNames = new Array( siPolyMeshFilter, siSurfaceMeshFilter );
var oObjects = SIFilter( null, aFilterNames.join(","), true, siQuickSearch );
If ( !oObjects || oObjects.Count <=0 ) {
LogMessage( "nothing selected", siError );
}
for ( var i = 0; i < oObjects.Count; i++ ) {
var oObject = oObjects(i);
var oProperties = oObject.Properties.Filter( "rendermap" );
if ( oProperties.Count <= 0 ) {
// rendermap property not found
continue;
}
var oRenderMapProperty = oProperties(0);
for ( var j = FrameStart; j <= FrameEnd; j++ ) {
var FrameCurrent = j;
// advance timeline
oPlayControl.Parameters( "Current" ).value = FrameCurrent;
// update the parameter defining output image file name
var ImageFileName = FileName.replace( /CURRENTFRAME/,
FrameCurrent );
oRenderMapProperty.Parameters( "imagefilepath" ).value =
ImageFileName;
// execute specified rendermap property
RegenerateMaps ( oRenderMapProperty.FullName );
}
}
}
From: [email protected]
[mailto:[email protected]] On Behalf Of Nicolas Esposito
Sent: Wednesday, January 08, 2014 3:19 PM
To: [email protected]
Subject: Re: Batch function for Ultimapper and Render Map
The same script functionality to execute every frame and update the output file
could be applied to Ultimapper as well, am I correct?
Sorry but I'm not too familiar with scripting, but looking at the manual looks
nothing super-complicated ;)
2014/1/9 Nicolas Esposito <[email protected]<mailto:[email protected]>>
This is gold!
Thanks Matt and Alan ;)
2014/1/8 Alan Fregtman <[email protected]<mailto:[email protected]>>
You might find Sajjad's Mapify plugin useful as it can rendermap a sequence:
http://www.sajjadamjad.com/plugins.html#Mapify
On Wed, Jan 8, 2014 at 5:42 PM, Matt Lind
<[email protected]<mailto:[email protected]>> wrote:
Set up the rendermap property as usual, then write a few lines of script to
execute rendermap every frame while updating the output file path.
Matt
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]<mailto:[email protected]>]
On Behalf Of Nicolas Esposito
Sent: Wednesday, January 08, 2014 2:40 PM
To: [email protected]<mailto:[email protected]>
Subject: Batch function for Ultimapper and Render Map
I remember there was backburner for Softimage once but I suppose has been
removed...
So, I need to use ultimapper and render map to render out each frame of my
animation, and if I remember correctly this was doable with backburner
With Soft 2013 there is a way to achieve that?
I'm trying to replicate the effect done by Blur in this video @1.59
http://www.youtube.com/watch?v=38wh5Fn4WEs
The system or the dynamic tassellation/normal map is what I'm trying to
achieve, but I will need the maps in order to test something else
Cheers