View Single Post
# 2 27-11-2003 , 10:13 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
"currentTime" command is used to set and query the current animation time. "render" is used to render in to the render view. So basically you need to do a "for" loop from your start frame to your end frame with step size of 10 frames and set the time and issue rendering commands on every cycle...

Rendering in to the render view doesn't save the image though. So you need to include a save command in the loop too. Basically you need to form an image file name and know the name of the render view window and then use the renderWindowSaveImageCallback command to save out the image. The problem is that the render view window's name can change... the command works something like this:

renderWindowSaveImageCallback "renderView" $sFileName "image";

... where $sFileName is a string containing the name of the image file for that frame (you need to form the file name in the loop too)...


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!

Last edited by kbrown; 27-11-2003 at 10:22 PM.