Houdini IFD render ( sequence and individual frames )
Here is a little Linux bash script to render IFD files locally ( I'm still working on the padding )
#######################
## ##
## MANTRA IFD RENDER ##
## ##
#######################
#
# by : Julien Depredurand (2009)
#
#################################################################
## 1 - Render an IFD file sequence ( no padding )
#################################################################
# >>> parameters
# ------------------------------------------
filename="my_ifd_file_name"
startframe=366
endframe=501
# ------------------------------------------
i=$startframe
clear
echo ""
echo "-------------------------------"
while [ $i -lt $endframe ]; do
echo mantra -f ${filename}.$i.ifd
#mantra -f ${filename}.$i.ifd
let i++
done
echo "-------------------------------"
echo " JOB DONE ! "
echo ""
#################################################################
## 2 -Render individual IFD files ( no padding )
#################################################################
# >>> parameters
# ------------------------------------------
filename="my_ifd_file_name"
framearray=(001 010 099 100 205 500 )
# ------------------------------------------
len=${#framearray[*]}
i=0
clear
echo ""
echo "-------------------------------"
while [ $i -lt $len ]; do
echo mantra -f ${filename}.${framearray[$i]}.ifd
mantra -f ${filename}.${framearray[$i]}.ifd
let i++
done
echo "-------------------------------"
echo " JOB DONE ! "
echo ""
#######################
## ##
## MANTRA IFD RENDER ##
## ##
#######################
#
# by : Julien Depredurand (2009)
#
#################################################################
## 1 - Render an IFD file sequence ( no padding )
#################################################################
# >>> parameters
# ------------------------------------------
filename="my_ifd_file_name"
startframe=366
endframe=501
# ------------------------------------------
i=$startframe
clear
echo ""
echo "-------------------------------"
while [ $i -lt $endframe ]; do
echo mantra -f ${filename}.$i.ifd
#mantra -f ${filename}.$i.ifd
let i++
done
echo "-------------------------------"
echo " JOB DONE ! "
echo ""
#################################################################
## 2 -Render individual IFD files ( no padding )
#################################################################
# >>> parameters
# ------------------------------------------
filename="my_ifd_file_name"
framearray=(001 010 099 100 205 500 )
# ------------------------------------------
len=${#framearray[*]}
i=0
clear
echo ""
echo "-------------------------------"
while [ $i -lt $len ]; do
echo mantra -f ${filename}.${framearray[$i]}.ifd
mantra -f ${filename}.${framearray[$i]}.ifd
let i++
done
echo "-------------------------------"
echo " JOB DONE ! "
echo ""
<< Home