[Radiance-general] creating a good animation view file

Fitzsimmons, Rob Rob.Fitzsimmons at Summit.Fiserv.com
Wed Nov 3 18:34:21 CET 2004


I use rview to do it...
Start with you initial view, then use a series of move, pivot, aim commands
to go to another view
Then set that view.
 v keys.vf -t 2
move, aim, pivot  to another view
v keys.vf -t 3
the -t  indicates how many seconds after the previous view
You end up with a keys.vf with several keyframes
create a text file called key.fmt
rview -vtv -vp ${px} ${py} ${pz} -vd ${dx} ${dy} ${dz} -vu 0 0 1 \
-vh ${vh} -vv ${vv} -vo 0 -va 0 -vs 0 -vl 0 -t ${t}
generate a key.cal file
rcalc -i key.fmt -e '$1=recno;$2=px;$3=py;$4=pz;$5=dx;$6=dy;$7=dz; \
$8=vh;$9=vv;$10=t' keys.vf | tabfunc Px Py Pz Dx Dy Dz H V T > key.cal
then add up all your -t numbers from keys.vf and muliply that by your frames
per second (I use an excel spreadsheet)
In this case, I'm animating 15 fps for 36 seconds
cnt 540 | rcalc -o key.fmt -f key.cal -f spline.cal -e 't=$1/15' -e \
'px=s(Px);py=s(Py);pz=s(Pz);dx=s(Dx);dy=s(Dy);dz=s(Dz);vh=s(H);vv=s(V)' >
anim.vf

If I were to animate at 30 fps,
 it'd be
cnt 1080 | rcalc -o key.fmt -f key.cal -f spline.cal -e 't=$1/30' -e \
'px=s(Px);py=s(Py);pz=s(Pz);dx=s(Dx);dy=s(Dy);dz=s(Dz);vh=s(H);vv=s(V)' >
anim.vf

Use anim.vf in a ranimate file

Good luck!
Rob

BTW thanks to Rob G and Alexa for the help with my Source 4 spotlight

-----Original Message-----
From: Tarik Rahman
To: Radiance general discussion
Sent: 11/3/2004 7:53 AM
Subject: [Radiance-general] creating a good animation view file


Hi
For creating animation viewfiles such as the massive anim.vf used in
Paul
Debevec's Rendering with Natural Light, is there a simple or easy way to
come
up with appropriate frame viewpoints and directions for say moving
through a
room and looking at different objects in the room? Or should I just stop
being
lazy and try work out some nice views?!

Tarik
--
Tarik Rahman
PhD student, Institue of Perception, Action and Behaviour
School of Informatics
University of Edinburgh

_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general



More information about the Radiance-general mailing list