[Radiance-general] Camera Path help

Fitzsimmons, Rob Rob.Fitzsimmons at Summit.Fiserv.com
Tue Mar 30 21:18:57 CEST 2004


Howdy,

I'm attempting my first walk-through animation.. 

I've looked in the archive for advice and found this 
http://www.radiance-online.org/pipermail/radiance-general/2002-November/0004
96.html 

I have a key.vf file with several keyframes 
rview -vtv -vp -64.7853 -33.2456 12 -vd 0.844167 0.500454 -0.192164 -vu 0 0
1 -vh 50 -vv 50 -vo 0 -va 0 -vs 0 -vl 0 
rview -vtv -vp -29.3975 3.41763 14 -vd 0.844167 0.500454 -0.192164 -vu 0 0 1
-vh 50 -vv 50 -vo 0 -va 0 -vs 0 -vl 0 -t 4 
 .... continued 

Notice I do not have a -t at then end of my first view - correct? or should
it be -t 0 ? 
By adding up the -t #'s at then end of each view, I have a total of 36
seconds. 

I created a key.fmt file with this contents 
rview -vtv -vp ${px} ${py} ${pz} -vd ${dx} ${dy} ${dz} -vu 0 0 1 -vh ${vh}
-vv ${vv} -vs 0 -vl 0 -t ${t} 

Then I type this command - (one line) 
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' lobby1.vf |
tabfunc Px Py Pz Dx Dy Dz H V T > key.cal

My key.cal looks like this: 
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,); 

Is that correct? 

I have a 36 second animation that I want to render at 15 fps 
When I run 
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

I get an error: 

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

What am I missing? 

Thanks 
Rob F 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://radiance-online.org/pipermail/radiance-general/attachments/20040330/f8312443/attachment.html


More information about the Radiance-general mailing list