my first indigo animation
my first indigo animation
http://ftlfm.com/doug/video/bounce.avi (xvid codec, 430kb)
only 36 frames, one minute render per frame. denoised (temporal) in virtualdub.
it's probably not that interesting to watch - it was mostly an exercise in creating the scripts (2 batch files) to make it possible.
only 36 frames, one minute render per frame. denoised (temporal) in virtualdub.
it's probably not that interesting to watch - it was mostly an exercise in creating the scripts (2 batch files) to make it possible.
One minute per frame isn't bad, is it? Considering it's un-biased. It would be great to see something more substantial done with it. Nice work.
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com
http://thebigdavec.googlepages.com
ok then, here we go. assuming you're using blender...
step 1:
have a directory structure like this:
(actually, this isn't strictly necessary, but i like to keep things tidy)
c:\renderroot\scenes\animation\
c:\renderroot\indigo\
step 2:
use the blender exporter "Export Anim" button and put the xml files in the animation directory.
BE WARNED - if your scene contains lots of things, or complex meshes you WILL use a lot of disk space here. You will generate 1 xml file per frame.
You can save a little space by having a separate materials xml as well - all the frames then will use the same materials xml file.
step 3:
put this batch file in the indigo directory, along with the indigo.exe and suporting files.
makeanim.bat:
step 4:
then call makeanim.bat with 2 arguments. the first is the directory where the xml files are stored, and the second argument is the name of a new batch file which will be created to actually do the job.
you can use relative or absolute paths. i prefer relative, since i keep all my render files together anyway.
step 5:
then run render_my_anim.bat with just one argument - the number of seconds to render each frame for:
Also worth doing is lowering the image_save_period in the inifile.txt so that indigo gets a chance to save the image a few times before it is killed and moves onto the next frame.
All your PNGs will be rendered into the same directory as the xml files as
whatever-[frame#].xml.png
step 6:
from there you can import into something (virtualdub) that will compile a video for you.
step 7:
there isn't one. you're done.
I hope this helps. feel free to post this method elsewhere in this or other forums.
One last thing to note is that i had problems running makeanim when the files were on a network drive - the FOR command kept skipping files.
For this purpose i've made a local copy of indigo so that the whole anim renders on one machine.
You could of course move some of your xmls onto another machine and render the animation piecewise.
Doug.
step 1:
have a directory structure like this:
(actually, this isn't strictly necessary, but i like to keep things tidy)
c:\renderroot\scenes\animation\
c:\renderroot\indigo\
step 2:
use the blender exporter "Export Anim" button and put the xml files in the animation directory.
BE WARNED - if your scene contains lots of things, or complex meshes you WILL use a lot of disk space here. You will generate 1 xml file per frame.
You can save a little space by having a separate materials xml as well - all the frames then will use the same materials xml file.
step 3:
put this batch file in the indigo directory, along with the indigo.exe and suporting files.
makeanim.bat:
Code: Select all
@Echo off
REM -- SYNTAX:
REM -- makeanim xml\dir animbatchname
@echo @Echo off > %2.bat
FOR %%G IN (%1\*.xml) DO (
@echo @echo Starting %%G... ^&^& start /belownormal /wait indigo -halt %%1 %%G -o %%G.png >> %2.bat
)
then call makeanim.bat with 2 arguments. the first is the directory where the xml files are stored, and the second argument is the name of a new batch file which will be created to actually do the job.
Code: Select all
c:\renderroot\indigo\makeanim.bat ..\scenes\animation render_my_anim
step 5:
then run render_my_anim.bat with just one argument - the number of seconds to render each frame for:
Code: Select all
c:\renderroot\indigo\render_my_anim.bat 60
All your PNGs will be rendered into the same directory as the xml files as
whatever-[frame#].xml.png
step 6:
from there you can import into something (virtualdub) that will compile a video for you.
step 7:
there isn't one. you're done.
I hope this helps. feel free to post this method elsewhere in this or other forums.
One last thing to note is that i had problems running makeanim when the files were on a network drive - the FOR command kept skipping files.
For this purpose i've made a local copy of indigo so that the whole anim renders on one machine.
You could of course move some of your xmls onto another machine and render the animation piecewise.
Doug.
You wonderful, sharing person
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com
http://thebigdavec.googlepages.com
- Dacksoldier
- Posts: 101
- Joined: Mon Apr 02, 2007 1:38 pm
this is becuase makeanim.bat didn't find any .XML files.Dacksoldier wrote:can you post an example of the render_my_anim.bat file so i can just write it myself cuz i end up with just
@ECHO off
in the resulting file
I wrote this before the file extension change to .IGS
open up makeanim.bat and change xml to igs and it should work.
0.7+ compatible:
Code: Select all
@Echo off
REM makeanim xml\dir animbatch
@echo @Echo off > %2.bat
FOR %%G IN (%1\*.igs) DO (
@echo @echo Starting %%G... ^&^& start /WAIT indigo -halt %%1 %%G -o %%G.png >> %2.bat
)
EDIT: You also might want to add /BELOWNORMAL after /WAIT
Who is online
Users browsing this forum: Yandex [Bot] and 8 guests