|
|
Christian Froeschlin <chr### [at] chrfrde> wrote:
> ..
> Maybe try some gorilla poses as well? Found some action in
>
> http://www.youtube.com/watch?v=fKs9sjOQQCY&feature=related
>
> ;)
Hi Christian,
yes you're right. I just wanted to start with something simple.
Before I can start to make more complex animations, I like to solve a view
problems like motion blur, and render an animation free from frame numbers, so
that I can make time warps in PovRay, independent from any 3D-Aplikation, the
animation comes from.
Another thing is to make the concept working for different CAD and animation
programs. For that, a god friend in Germany of mine likes to help me. He likes
to write a script for Houdini to bring the matrix-data to PovRay.
Here is the concept for simple motion-blur, using the matrix of five frames,
combined with splines. The value in the "middle" is the current frame. It's
looking like this:
##################################
#declare Clk=clock;
// Object: 0 objobject238
#declare Bloc_0=spline{cubic_spline //Bloc: 0
0,<0.0006,-0.0306,-0.0102>
1,<0.0006,-0.0306,-0.0102>
2,<0.0007,-0.0303,-0.0110>
3,<0.0011,-0.0298,-0.0121>
4,<0.0021,-0.0295,-0.0129>
}
#declare Bloc_1=spline{cubic_spline //Bloc: 1
0,<0.0322,0.0000,0.0020>
1,<0.0322,0.0000,0.0020>
2,<0.0322,0.0000,0.0021>
3,<0.0321,0.0000,0.0029>
4,<0.0318,0.0000,0.0052>
}
#declare Bloc_2=spline{cubic_spline //Bloc: 2
0,<-0.0019,-0.0102,0.0305>
1,<-0.0019,-0.0102,0.0305>
2,<-0.0020,-0.0110,0.0302>
3,<-0.0027,-0.0121,0.0297>
4,<-0.0048,-0.0131,0.0291>
}
#declare Bloc_3=spline{cubic_spline //Bloc: 3
0,<-5.0288,-1.6247,84.2561>
1,<-5.0288,-1.6247,84.2561>
2,<-5.0492,-1.7536,84.2098>
3,<-5.1582,-1.9373,84.1306>
4,<-5.4991,-2.0876,84.0235>
}
motion_blur{object{objobject238 transform{scale <1,1,-1> rotate x*90 matrix<
Bloc_0(clock-Clk+2).x,Bloc_0(clock-Clk+2).y,Bloc_0(clock-Clk+2).z,
Bloc_1(clock-Clk+2).x,Bloc_1(clock-Clk+2).y,Bloc_1(clock-Clk+2).z,
Bloc_2(clock-Clk+2).x,Bloc_2(clock-Clk+2).y,Bloc_2(clock-Clk+2).z,
Bloc_3(clock-Clk+2).x,Bloc_3(clock-Clk+2).y,Bloc_3(clock-Clk+2).z
>rotate -x*90 scale <1,1,-1>}}}
############################
The clock is needed to trigger the motion-blur. Actually in _every_ frame, the
value "2" is needed, to get the middle count of the block. That fore I'm
subtracting the clock from it self, using the "Clk" variable. Funny, but's
working. the "scale <1,1,-1> rotate x*90" and it's inverse is used because of
animating with 3D-Max' coordinate-system.
btw: Thanx for the vid. It helps a lot!
Ps.: In this gif, the first frame is not blurred, but I didn't like to render it
again.
Holger :)
Post a reply to this message
Attachments:
Download 'run3.gif' (82 KB)
Preview of image 'run3.gif'
|
|