[Radiance-general] problems creating animation viewfile

Tarik Rahman tarik.rahman at ed.ac.uk
Mon Nov 8 15:22:55 CET 2004


Hi,
 I'm having a problem in generating my anim.vf file. I set my views by working
in rview doing
v keys.vf -t 2 etc. every time I change view.

Then I create key.fmt from the command line

./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} > key.fmt

Then I want to generate the  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

I'm animating 15 fps for 29 seconds so I do
./cnt 435 | 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

This is where I get my error

key.cal, line 1:
Px(x):select(1,);
                ^ unexpected character

 here is my key.cal as you specified
 more key.cal
 Px(x):select(1,);
 Py(x):select(1,);
 Pz(x):select(1,);
 Dx(x):select(1,);
 Dy(x):select(1,);
 Dz(x):select(1,);
 H(x):select(1,);
 V(x):select(1,);
 T(x):select(1,);
I don't know where I'm going wrong but think it has something to do with reading
from keys.vf into key.cal

I then want to use anim.vf in my ranimate file

Thanks for any help

Tarik


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



More information about the Radiance-general mailing list