Flypaths in Partiview can be used to make an executable file with lots of "echo where" statements. For example, if you say

   perl myrec 2000

Then myrec will 2000 "echo where" calls. If you now open partiview, making sure that your output is redirected to a file, e.g.

  partiview > tmpfile &

Then pressing tab and typing "async myrec" will start a bunch of where calls being made. Note that you can keep your screensize small and later play your path with a large screen.

When recording is complete, process tmpfile with, using

  perl tmpfile mypath

This creates

Other useful utilities removes duplicate lines from files. So if you say

   perl file1 file2

Then every time a line in file1 is the same as that as the line before it, it doesnt appear in file2. Note that file1 and file2 should be different.

Why do we need this? Because often when you're recording flypaths, even when moving quickly, the same point gets recorded twice by Partiview. Even when using the update command while recording. Use "perl removeduplines" to fix this. : picks part of a file. If you say

   perl k n infile outfile

Then every n-th line, starting with the k-th, of infile goes into outfile. produces a distance file corresponding to a flypath file.

   perl wffile distfile factor

The k-th line of distfile has the distance, multiplied by factor, of the camera in the k-th line of wffile to the origin. takes and produces blah_jump, a file that (once made executable) can be asynced to go through the flypath in the same way as blah_snap does. blah_snap takes pictures at each step, blah_jump does not. can be used to interpolate commands in a blah_snap and blah_jump file. For example, I wanted to increase the slum value at each stage of snapping through zoomout_snap and place this in zoomout_snap_incslum, so I called

  perl zoomout_snap zoomout_snap_incslum min\(0.5,0.1+0.05\*log\(1+DIST\)\) g8 slum DISTDEPVALUE

For every line of the form "echo snap x y z ..." in zoomout_snap, the distance DIST = (x*x + y*y + z*z)^0.5 was computed and then DISTDEPVALUE = min(0.5,0.1+0.05*log(1+DIST)) was computed, and then the line "echo g8 slum DISTDEPVALUE" (with the appropriate numerical substitution) was inserted after the "echo snap..." command in zoomout_snap_incslum. Note that the min command doesnt come with Perl, there's a function in that defines it. The exact definition of DISTDEPVALUE is completely dependent on the situation. Here I wanted the slum value for the objects in g8 to increase quite quickly from 0.1, but not to be more than 0.5.