my first indigo animation

Get feedback from others on your works in progress
Post Reply
13 posts • Page 1 of 1
User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

my first indigo animation

Post by dougal2 » Sat Dec 30, 2006 7:37 am

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.

Bandar
Posts: 22
Joined: Tue Dec 12, 2006 5:15 am
Location: Berlin, Germany
Contact:

Post by Bandar » Sat Dec 30, 2006 7:57 am

Very nice... looks like an old 8mm.

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Sat Dec 30, 2006 8:00 am

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

User avatar
Behrendt
Posts: 255
Joined: Wed Jun 28, 2006 8:30 pm
Location: Cologne, Germany
Contact:

Post by Behrendt » Sat Dec 30, 2006 8:29 am

Like It :shock: :)

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Sat Dec 30, 2006 8:40 am

Yeah that's fun !

User avatar
BZ Win
Posts: 172
Joined: Sun Oct 08, 2006 1:06 am
Location: Ottawa, Canada

Post by BZ Win » Sat Dec 30, 2006 10:00 am

Wow! Cool!

By any chance can you post the batch file(s) used? I need to do something like this, but I have no idea how to go about doing it.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Dec 30, 2006 10:40 am

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:

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

Code: Select all

c:\renderroot\indigo\makeanim.bat ..\scenes\animation render_my_anim
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:

Code: Select all

c:\renderroot\indigo\render_my_anim.bat 60
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.

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Sat Dec 30, 2006 10:59 am

You wonderful, sharing person :D
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

neepneep
Indigo 100
Posts: 413
Joined: Wed Jun 28, 2006 10:21 am

Post by neepneep » Fri Feb 16, 2007 12:50 pm

I vote dougal2's post in this thread for official sticky-status....

edit: :D

User avatar
Dacksoldier
Posts: 101
Joined: Mon Apr 02, 2007 1:38 pm

Post by Dacksoldier » Mon May 14, 2007 8:06 am

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

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Mon May 14, 2007 8:25 am

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
this is becuase makeanim.bat didn't find any .XML files.
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
)

beware though, that -halt time doesn't seem to work properly. (just so happens I was testing this last night - with 0.7final). Not sure how 0.8 will behave.

EDIT: You also might want to add /BELOWNORMAL after /WAIT ;)

User avatar
Dacksoldier
Posts: 101
Joined: Mon Apr 02, 2007 1:38 pm

Post by Dacksoldier » Sun May 20, 2007 4:44 pm

kk ty sry for the long reply

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun May 20, 2007 10:46 pm

I'd like to see such a scene with 0.8, as it's much faster :D

Post Reply
13 posts • Page 1 of 1

Who is online

Users browsing this forum: Yandex [Bot] and 8 guests