bloodflow research
scripts……
workflow
—————-
-create curve
-create curveflow
-create blood obj
-instance blood
-add Keller’s rotateMe codes for blood particle
-create 1 piece of shell
-create circle
-bake the shell around the circle
-scale the shell-circle
-duplicate the shell to proper size
-group shells
-attach to curve as motion path
-bake the shell to the curve
-attach camera to curve
-texture shell and blood cell onj
bakeanimation
—————
global proc bakeAnimation(int $step, int $startFrame, int $endFrame) {
if($step < 1) { error("bakeAnimation : the step argument must be at least higher than 1.n"); }
string $selection[] = `ls -sl`;
for($object in $selection) {
for($n = $startFrame; $n <= $endFrame; $n+=$step) {
currentTime -e $n;
duplicate $object;
}
print($object + ” animation baked.n”);
}
}
//call by using bakeAnimation(#,#,#)
//bakeAnimation(frame interval, being on frame, last frame
—————–

