[Linux only] Indigoo
Posted: Tue Nov 14, 2006 10:42 am
I finally finished the script, lol I've spent almost all day coding it
It's written in python and works only with linux. I've tested it a little and it seems to work correctly.
Warning: as usual use it at your own risk
OVERVIEW:
This script essentially has three features:
-launches the render with a network master and a network slave process on the same machine. The slave process is kept alive until the render is finished
-can stop the render at given mutations per pixel
-can render a series of xml files at given mutations per pixel
INSTALLATION:
you need to have python installed
download the script and place it in your indigo folder.
make it executable (chmod 711 indigoo.py)
USAGE:
launch it by typing ./indigoo.py in console
then you're asked to enter three parameters:
1) Scene name
enter your scene's name (es. test.xml)
2) Max mutations
the value of mutations per pixel at which you want to stop the render. Insert 0 for an endless render. It must be an integer
3) Number of frames
insert the number of frames of your animation (1 if it's not an animation)
NOTES:
-I've added no support for multiple cores, as I have just only one If someone find the script useful and needs it, I will add it
-The process stopping at given mutations per pixel works this way: when the value is reached, the script wait for the slave to upload another frame and then kills it. Then it waits for the master to save a last time and kills it. This way process halting during a save should be avoided
-If you dare to try an Indigo animation, just rename your frames this way
scenename.numframe
for example if I have an animation of 5 frames, the scene's name is home.xml and I want each frame to stop at 1000 muts, I have to rename the files
home.xml.1
home.xml.2
home.xml.3
...
and then enter as parameters
scene name = home.xml
max mutations = 1000
frames = 5
-at the start of the script you can see a 'anim_wait' variable. It tells the script how much to wait, in seconds, before starting the next frame. I had to insert this delay as I noted that sometimes Indigo gave me an error if launched too soon after I closed it. You can try to use a lower value and tweak it to your pc
that's all I hope that someone finds it useful! I'd like to see an Indigo animation soon
Download indigoo.tar.gz
EDIT: added working link
It's written in python and works only with linux. I've tested it a little and it seems to work correctly.
Warning: as usual use it at your own risk
OVERVIEW:
This script essentially has three features:
-launches the render with a network master and a network slave process on the same machine. The slave process is kept alive until the render is finished
-can stop the render at given mutations per pixel
-can render a series of xml files at given mutations per pixel
INSTALLATION:
you need to have python installed
download the script and place it in your indigo folder.
make it executable (chmod 711 indigoo.py)
USAGE:
launch it by typing ./indigoo.py in console
then you're asked to enter three parameters:
1) Scene name
enter your scene's name (es. test.xml)
2) Max mutations
the value of mutations per pixel at which you want to stop the render. Insert 0 for an endless render. It must be an integer
3) Number of frames
insert the number of frames of your animation (1 if it's not an animation)
NOTES:
-I've added no support for multiple cores, as I have just only one If someone find the script useful and needs it, I will add it
-The process stopping at given mutations per pixel works this way: when the value is reached, the script wait for the slave to upload another frame and then kills it. Then it waits for the master to save a last time and kills it. This way process halting during a save should be avoided
-If you dare to try an Indigo animation, just rename your frames this way
scenename.numframe
for example if I have an animation of 5 frames, the scene's name is home.xml and I want each frame to stop at 1000 muts, I have to rename the files
home.xml.1
home.xml.2
home.xml.3
...
and then enter as parameters
scene name = home.xml
max mutations = 1000
frames = 5
-at the start of the script you can see a 'anim_wait' variable. It tells the script how much to wait, in seconds, before starting the next frame. I had to insert this delay as I noted that sometimes Indigo gave me an error if launched too soon after I closed it. You can try to use a lower value and tweak it to your pc
that's all I hope that someone finds it useful! I'd like to see an Indigo animation soon
Download indigoo.tar.gz
EDIT: added working link