Skip to content
Snippets Groups Projects
partiview-7.html 2.26 KiB
Newer Older
  • Learn to ignore specific revisions
  • teuben's avatar
    teuben committed
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    <HEAD>
     <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
    
     <TITLE> Partiview (PC-VirDir): Tips</TITLE>
    
    teuben's avatar
    teuben committed
     <LINK HREF="partiview-8.html" REL=next>
     <LINK HREF="partiview-6.html" REL=previous>
     <LINK HREF="partiview.html#toc7" REL=contents>
    </HEAD>
    <BODY>
    <A HREF="partiview-8.html">Next</A>
    <A HREF="partiview-6.html">Previous</A>
    <A HREF="partiview.html#toc7">Contents</A>
    <HR>
    
    <H2><A NAME="s7">7. Tips</A></H2>
    
    teuben's avatar
    teuben committed
    
    <P>
    
    <P>During animation the trip/back buttons can effectively be used to return to
    a point in time where you want to return back to if you wanted to 
    browse around some specific point in time.
    
    slevy's avatar
    slevy committed
    <P>You can spend most of the time moving in [o]rbit mode.  Left-button
    moves around chosen center; control-left pans around the sky.
    As opposed to switching to 't' mode to zoom and translate, 
    
    you can also use SHIFT-Mouse-1 and SHIFT-Mouse-3 to achieve the same from
    the other ('o', 'f') modes.
    
    <P>To make an animation, create an executable shell script <CODE>movie1</CODE> with 
    for example the following commands:
    <BLOCKQUOTE><CODE>
    <HR>
    <PRE>
      #! /bin/csh -f
      #
      echo step 0
      echo update
      echo snapshot
      echo step 0.01
      echo update
      echo snapshot
      echo step 0.02
      echo update
      echo snapshot
      echo step 0.03
      echo update
      echo snapshot
      ...
    </PRE>
    <HR>
    </CODE></BLOCKQUOTE>
    
    the Control Command <CODE>async movie1</CODE>, and it will create files
    <CODE>snap.000.sgi, snap.001.sgi, ....</CODE> and already with <CODE>xv</CODE> a movie
    can be shown:
    <BLOCKQUOTE><CODE>
    <HR>
    <PRE>
      xv -wait 0 snap.???.sgi
    </PRE>
    <HR>
    </CODE></BLOCKQUOTE>
    <P>To make animated GIFs, here are some examples with common software, 
    all with a default 0.1 sec delay between frames. Some animation
    software (e.g. xanim) can change these:
    <BLOCKQUOTE><CODE>
    <HR>
    <PRE>
      convert -delay 10 -loop 0 snap.???.sgi try1.gif
      gifsicle -d 10 snap.???.gif > try2.gif
    </PRE>
    <HR>
    </CODE></BLOCKQUOTE>
    <P>The script will run asynchronously within partiview, so if you then
    use the mouse to change orientation or zoom,
    these actions (minus the location of the mouse of course)
    will be nicely recorded in the snapshots.
    
    teuben's avatar
    teuben committed
    <P>
    <HR>
    <A HREF="partiview-8.html">Next</A>
    <A HREF="partiview-6.html">Previous</A>
    <A HREF="partiview.html#toc7">Contents</A>
    </BODY>
    </HTML>