Skip to content
Snippets Groups Projects
partiview.sgml 28.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • teuben's avatar
    teuben committed
    <!doctype linuxdoc system>
    
    <!-- 
         Changelog:
         2000-09-25   created the changelog after a week of initial editing    PJT
         2000-10-10   made consistent with VERSION 0.1 release                 PJT
    
    teuben's avatar
    teuben committed
         2000-11-07   election night changes                                   PJT
    
    teuben's avatar
    teuben committed
         2000-11-20   document some CVS and new configure stuff for 0.3        PJT
    
         2000-12-28   document new movie features for the new CVS version      
                      and lotsa more commands described now                    PJT
    
    teuben's avatar
    teuben committed
     -->
    
    <article>
    
    <!-- Title information -->
    
    <title> Partiview (PC-VirDir)
    <author> Peter Teuben
    
    <date> 28 February 2001
    
    teuben's avatar
    teuben committed
    <abstract>
    This document helps you installing and running the development version 
    
    teuben's avatar
    teuben committed
    of partiview.
    Quite a few things in this manual have not been fleshed
    
    teuben's avatar
    teuben committed
    out, in particular the detailed description of all the commands.
    </abstract>
    
    <!-- Table of contents -->
    <toc>
    
    <!-- Begin the document -->
    
    
    <!--------------------------------------------------------------------------- -->
    
    
    teuben's avatar
    teuben committed
    <sect> Installation
    <p>
    
    
    teuben's avatar
    teuben committed
    This assumes you have the October 2000 release (version 0.1 or later) of 
    
    teuben's avatar
    teuben committed
    <bf/partiview/, not the earlier "<bf/gview/" release that was described
    
    teuben's avatar
    teuben committed
    in earlier versions of this document. We keep copies of some support
    
    files (Mesa, FLTK) on our initial
    
    teuben's avatar
    teuben committed
    <htmlurl url="http://www.astro.umd.edu/nemo/amnh"
            name="http://www.astro.umd.edu/nemo/amnh"> website. Note that
    this current development release is only documented for work under Linux,
    although we expect it to work for at least SGI and maybe Solaris too.
    
    
    teuben's avatar
    teuben committed
    <sect1> MESA/OpenGL
    <p>
        First make sure <tt/Mesa/ is installed, for <tt/redhat6.2/
           there are rpm files
           available.  Check if you have the following:
    
    <tscreen><code>
           % rpm -qa | grep Mesa
           Mesa-3.2-2
           Mesa-devel-3.2-2
    
           % rpm -i Mesa-3.2-2.i686.rpm Mesa-devel-3.2-2.i686.rpm
    
    teuben's avatar
    teuben committed
    </code></tscreen>
    
    
           You should have both installed. Some packages will use <tt/libMesaGL/, others
    
           <tt/libGL/. The <tt/configure/ script (see below) 
           should take care of the two possible options.
    
    teuben's avatar
    teuben committed
    <p>
    	Homepage: <htmlurl url="http://mesa3d.sourceforge.org"
    			  name="http://mesa3d.sourceforge.org">
    <p>
    
    	Redhat packages: (part of powertools I believe)
    
    teuben's avatar
    teuben committed
    
    <sect1> FLTK
    <p>
        Also make sure <tt/fltk/ is installed.  If you got my version, do this (as
           root)
    
    
    teuben's avatar
    teuben committed
    <tscreen><code>
    
           % locate libfltk.a 
           % locate Fl_Slider.h
    
    
    teuben's avatar
    teuben committed
           % cd <where-ever>/fltk-1.0.9
           % make install
    
    teuben's avatar
    teuben committed
    </code></tscreen>
    
           (you only need it if you want to recompile the program at some point,
            not if you just want to run it)
    <p>
    	Homepage: <htmlurl url="http://www.fltk.org/"
    			   name="http://www.fltk.org/">
    <p>
    	Redhat packages: <htmlurl url="http://www.cs.cornell.edu/nogin/RPM/fltk-devel.html"
    			       name="http://www.cs.cornell.edu/nogin/RPM/fltk-devel.html">
    
    <sect1> partiview
    <p>
    
    
    Extract the tarball, and install the program from within the 
    <tt/src/ directory:
    
    teuben's avatar
    teuben committed
    
    <tscreen><code>
    
           % tar zxf partiview-0.5.tar.gz
    
    teuben's avatar
    teuben committed
    
    
    teuben's avatar
    teuben committed
           % make clean                (if you really must compile a new executable)
    
    teuben's avatar
    teuben committed
           % ./configure               (GNU autoconf toolset to ease installation)
    
           % make depend               (might need to make new local dependancies)
           % make partiview	           (should not have to edit Makefile anymore)
    
    teuben's avatar
    teuben committed
    </code></tscreen>
    
    
    teuben's avatar
    teuben committed
    <sect1> CVS
    <p>
    
    Since <tt/partiview-0.3/ is under CVS control, and occasionally we
    
    will stamp out a new release when we deem it stable. Anonymous CVS may also
    be offered, but this is not currently enabled. Currently the 
    CVS repository machine is
    <tt/grus.astro.umd.edu/ and you will need to setup your developers account with
    
    teuben's avatar
    teuben committed
    Peter (<tt/teuben@astro.umd.edu/). Here's a sample session with some commonly
    used CVS commands:
    
    <tscreen><code>
    
     setenv CVSROOT   :pserver:pteuben@grus.astro.umd.edu:/grus/cvsroot
    
    teuben's avatar
    teuben committed
     setenv CVSEDITOR emacs
    
     setenv CVS_RSH   ssh           (not needed for pserver access though)
    
    teuben's avatar
    teuben committed
    
    
     cvs login                      (only needed once, and only for pserver type access)
    
    
    teuben's avatar
    teuben committed
     mkdir ~/cvsstuff
     cd ~/cvsstuff
     cvs checkout partiview              # get a new local sandbox to work in, or
    
    teuben's avatar
    teuben committed
     cvs -n -q update partiview          # check if others had made any changes
    
     cvs update partiview                # if so, update your sandbox and/or resolve conflicts
    
    teuben's avatar
    teuben committed
     cd partiview/src
     ./configure
    
     emacs partibrains.c                 # edit some files
    
    teuben's avatar
    teuben committed
     make all                            # compile the program
    
     ./partiview                         # test the program
    
    teuben's avatar
    teuben committed
     emacs partipanel.cc                 # edit another file
     make all                            # check if it still compiles
    
    teuben's avatar
    teuben committed
     cvs -n -q update                    # check if anybody else made changes
    
     cvs update                          # if so, update your sandbox again, resolve conflicts
    
    
    teuben's avatar
    teuben committed
     cvs commit                          # and commit your changes
     cd ../..
    
    
     cvs release partiview               # if you want to release and remove this sandbox
    
    teuben's avatar
    teuben committed
    
    </code></tscreen>
    
    teuben's avatar
    teuben committed
    
    
    <!--------------------------------------------------------------------------- -->
    
    teuben's avatar
    teuben committed
    <sect> Directory structure
    <p>
    
    
    Here is the directory structure, as per version 0.1:
    
    teuben's avatar
    teuben committed
    
    <p>
    <tscreen><verb>
         partiview/             root directory
         partiview/src          source code
    
         partiview/data         sample datafiles (e.g. Hipparcos Bright Star Catalogue)
    
    teuben's avatar
    teuben committed
         partiview/doc          manual (sgml, and derived  html, txt, ps/dvi)
         partiview/nemo         NEMO specific converters/code
         partiview/starlab      STARLAB specific converters/code
    
    teuben's avatar
    teuben committed
         partiview/tutor        examples of tutorial type code (added in 0.2)
    
    teuben's avatar
    teuben committed
         partiview/windows      windows executables/support (old)
         
    </verb></tscreen>
    
    <sect> Running the program
    
    teuben's avatar
    teuben committed
    <p>
    First we describe a simple example how to run <tt/partiview/ with a supplied sample
    dataset. Then we describe the different windows that <tt/partiview/ is made up of, and
    the different commands and keystrokes it listens to.
    
    teuben's avatar
    teuben committed
    
    
    <sect1>  Example 1: Hipparcos Bright Star Catalogue 3-D viewing
    
    teuben's avatar
    teuben committed
    <p>
    
    
    Start the program using one of the sample  "speck" files in the
    
    teuben's avatar
    teuben committed
    <tt/data/ directory:
    
    <tscreen><code>
    
    teuben's avatar
    teuben committed
           % ./hipbright
    
    or
           % partiview
    
    teuben's avatar
    teuben committed
    </code></tscreen>
    
    
    and this should come up with a display. You should probably enlarge the
    
    teuben's avatar
    teuben committed
    window a bit. Mine comes up in roughly a 300 by 300 display window,
    which may be a bit small (certainly on my screen :-)
    
    
    
    Hit the TAB key to bring focus to the (one line) command window inbetween
    
    teuben's avatar
    teuben committed
    the log screen (top) and viewing screen (bottom). Type the commands
    
    <tscreen><code>
    	fov 50				(field of view 50 degrees)
    	jump 0 0 0 80 70 60		(put yourself in the origin
    
    					and look at euler angles
    
    teuben's avatar
    teuben committed
    					RxRyRz (80,70,60)
    
    teuben's avatar
    teuben committed
    
    </code></tscreen>
    
    
    and it should give a nice comfy view :-)  If you ever get lost, use
    the <tt/jump/ command to go back to a known position and/or viewing
    
    angle, or just the <tt/center/ command.
    
    teuben's avatar
    teuben committed
    
    <figure loc="tbp">
    <img src="pv1.gif">
    <caption>partiview view</caption>
    </figure>
    
    <p>
    
    teuben's avatar
    teuben committed
    [spatial units are parsecs, angle units are degrees]
    
    teuben's avatar
    teuben committed
    <p>
    
    teuben's avatar
    teuben committed
    Now play with the display, use the 't', 'r', 'f' and 'o' keys in the viewing
    window and use the
    
    teuben's avatar
    teuben committed
    left and mouse buttons down to (carefully) move around a bit, and make
    yourself comfortable with moving around. Using the 't' button you get
    some idea of the distance of the stars by moving back and forth a little
    (the parallax trick). In fact, if you 't' around a little bit, you may
    
    see a green line flashing through the display. This is one of the  RGB
    
    teuben's avatar
    teuben committed
    (xyz) axes attached to the (0,0,0) [our sun] position.  You should see
    
    teuben's avatar
    teuben committed
    Procyon and Sirius exhibit pretty large parallaxes, but Orion is pretty
    
    teuben's avatar
    teuben committed
    steady since it is several hundred parsecs away.
    If you move the right mouse button you will zoom in/out and 
    
    teuben's avatar
    teuben committed
    should see our Sun flash by with the red-green-blue axes.
    <p>
    
    The RGB axes represent the XYZ axes in a cartesian system. For the Hipparchos
    
    data the X (red) axis points to RA=0h, Y (green) axis to RA=6h, both in the equatorial
    plane, and the Z (blue) axis points to the equatorial north pole.
    
    teuben's avatar
    teuben committed
    Try and use the middle mouse button (or the 'p' key)  to click on Sirius
    or Procyon, and see if you can get it to view its properties.  Now use
    the 'P' key to switch center to rotation to that star. Sirius is
    probably a good choice. Move around a bit, and try and get the sun and orion
    in the same view :-)
    <p>
    [NOTE: these Hipparcos data do not have reliably distance above
    100-200 pc, so Orion's distances are probably uncertain to 30%]
    <p>
    
    A little bit on the types of motion, and what the mouse buttons do
    
    <tscreen><code>
    
                  |     left            middle          right
    
                  |     Button-1        Button-2        Button-3         Shift Button-1
    ------------------------------------------------------------------------------------
    
    teuben's avatar
    teuben committed
    f (fly)       |     fly             'pick'          zoom
    o (orbit)     |     orbit           'pick'          zoom
    
    r (rotate)    |     rotate X/Y      'pick'          rotate Z (+bug?)    translate
    
    teuben's avatar
    teuben committed
    t (translate) |     translate       'pick'          zoom
    
    </code></tscreen>
    
    The point of origin for rotations can be changed with the 'P' button.
    
    First you can try and pick ('p' or Button-2) a point, and if found,
    
    teuben's avatar
    teuben committed
    hit 'P' to make this point the new rotation center default.
    
    
    
    <tscreen><code>
    red   = X axis
    green = Y axis
    blue  = Z axis
    </code></tscreen>
    
    <sect1> Top Row
    <p>
    The top row, from left to right, shows the following buttons:
    <p>
    <descrip>
    
    <tag> More </tag>
    
    Nothting implemented here yet.
    
    teuben's avatar
    teuben committed
    
    <tag> [g1] </tag>
    
    Pulldown g1, g2, ... (or whichever group) 
    is the currently selected group. See  <tt/object/ command
    to make aliases which group is defined to what object. If multiple
    groups are defined, the next row below this contains a list of all
    the groups, and their aliases, so you can toggle them to be displayed.
    
    teuben's avatar
    teuben committed
    
    <tag> [f]ly </tag>
    
    Pulldown to select fly/orbit/rot/tran, which can also be activate
    
    teuben's avatar
    teuben committed
    by pressing the f/o/r/t keys inside the viewing window.
    
    <tag> point </tag>
    
    Toggle to turn the points on/off. See also the <tt/points/ command.
    
    teuben's avatar
    teuben committed
    
    <tag> poly </tag>
    
    Toggle to turn polygons on/off. See also the <tt/polygon/ command.
    
    teuben's avatar
    teuben committed
    
    <tag> lbl </tag>
    
    Toggle to turn labels on/off. See also the <tt/label/ command.
    
    teuben's avatar
    teuben committed
    
    <tag> tex </tag>
    
    Toggle to turn textures on/off. See also the <tt/texture/ command.
    
    teuben's avatar
    teuben committed
    
    <tag> box </tag>
    
    Toggle to turn boxes on/off. See also the <tt/boxes/ command.
    
    teuben's avatar
    teuben committed
    
    
    <tag> #.### </tag>
    The current displayed value of <tt/logslum lum/ (see below)
    
    
    teuben's avatar
    teuben committed
    <tag> logslum lum </tag>
    
    Slider controlling a <bf/datavar/ variable (the one selected as
    luminosity)
    
    </descrip>
    
    
    <sect1> Group row (optional)
    <p>
    When more than one group has been activated (groups of particles or objects 
    can have their own display properties, and be turned on and off at will),
    a new Group Row will appear as the 2nd row. You can then toggle the display
    of these groups.
    
    <sect1> Time Animation rows (Optional)
    
    
    
    The third and fourth row from the top control playing sequences
    
    of time, including a trip meter. This 
    time-control bar is only visible when the object has a nonzero
    
    time range. Of course when the group
    
    
    <descrip>
    
    <tag> T </tag>
    The current time (or offset from the tripmeter)
    
    <tag>trip </tag>
    
    <tag>back </tag>
    
    <tag> dial </tag>
    
    <tag> |< </tag>
    
    <tag> >| </tag>
    
    <tag> + </tag>
    Current last time where tripmeter was set. You can reset to
    the first frame with the command <tt/step 0/
    
    
    <tag> #.#### </tag>
    (Logarithmic) value denoting the speed of animation.
    
    <tag> << </tag>  toggle movie move backwards in time
    
    <tag> >> </tag>  toggle movie move forwards in time
    
    
    teuben's avatar
    teuben committed
    
    </descrip>
    
    
    
    <sect1> Camera (path) Animation row
    
    teuben's avatar
    teuben committed
    <p>
    
    The fifth (or 4th or 3rd, depending if Group and/or TIme rows are present)
    row from the top controls loading and playing sequences of moving through space
    
    teuben's avatar
    teuben committed
    <p>
    <descrip>
    
    <tag> Load... </tag>
    Brings up a filebrowser to load a <bf/.wf/ path file. This is a file with on each
    line 7 numbers: xyz location, RxRyRz viewing direction, and FOV (field of view).
    
    <tag> Play </tag>
    Play the currently loaded path
    
    <tag> << < [###] >>> </tag>
    Control individual path frames
    
    <tag> slider </tag>
    Slider
    
    </descrip>
    
    
    teuben's avatar
    teuben committed
    <sect1> Logfile window
    
    teuben's avatar
    teuben committed
    <p>
    
    teuben's avatar
    teuben committed
    The third window from the top contains a logfile of commands gives, and can be resized 
    by dragging the bar between command window and viewing window. The Logfile windows also
    
    has a scroll bar on the left. You can direct the mouse to any previous command, and it
    will show up in the command window. Using the arrow keys this command can then be edited.
    
    teuben's avatar
    teuben committed
    <p>
    
    
    teuben's avatar
    teuben committed
    <sect1> Command window
    <p>
    
    The Command window is a single line entry window, in which Control Commands can be given.
    
    teuben's avatar
    teuben committed
    Some commands show their result in the Logfile window, others on the originating console.
    
    (unlike Data Commands, which show no feedback). Up-arrow recalls previous commands, and can
    be edited using the arrow keys and a subset of the emacs control characters.
    
    teuben's avatar
    teuben committed
    <p>
    
    teuben's avatar
    teuben committed
    
    
    teuben's avatar
    teuben committed
    <sect1> Viewing window
    <p>
    
    The (OpenGL) Viewing window is where all the action occurs.
    Typically this is where you give
    
    teuben's avatar
    teuben committed
    single keystroke commands and/or move the mouse for an interactive view of the data.
    It can be resized two ways: either by resizing the master window, or by picking up
    the separator between Viewing window and Command window above.
    
    teuben's avatar
    teuben committed
    
    
    <sect1> Example 2: a (starlab) animation
    <p>
    Setting up a small animation in for example Starlab can be done quite simply as follows:
    
    <tscreen><code>
      mkplummer -i -n 20 | mkmass -l 0.5 -u 10.0 | scale -s | kira -d 2 -D x10 > run1
         (lots of output from kira will still appear on the screen)
      partiview run1.cf
      cat run1.cf
    
         datavar 0 id
         datavar 1 mass
         datavar 2 clump
         kira data2 1
         eval every
         eval lum mass 0 0.01
         eval psize 100
         eval cment 1   1 .7 .3
         eval color clump exact
           
    </code></tscreen>
    
    
    Alternatively, if you had started up partiview without any arguments, the following
    Control Command (see below) would have done the same
    
    <tscreen><code>
         add read run1.cf
    </code></tscreen>
    
    teuben's avatar
    teuben committed
    
    
    <sect1> Example 3: stereo viewing 
    <p>
    The 's' key within the viewing window toggles stereo viewing. By default each
    object is split in a blue and a red part, that should be viewed with a pair
    of red(left)/blue(right) glasses. Red/Green glasses are also popular in the
    industry, and you need the change the color 
    
    <!--------------------------------------------------------------------------- -->
    <sect> Commands
    <p>
    There are two types of commands in <tt/partiview/: 
    Control Commands and Data Commands.
    Probably the most important difference between the two is that Control
    Commands return feedback to the user, whereas Data Commands
    
    are interpreted "as is". Control Commands are entered in the command window.
    But once in Control Command mode,
    
    you can still let commands become Data Commands (using the 
    <tt/add/ Control Command, and in Data Command mode one can
    let a command be a Control Command by preceding it with the
    <tt/eval/ command. Before we explain the two types of Commands in
    
    more detail, a few other concepts are needed:
    
    
    <!--------------------------------------------------------------------------- -->
    <sect1> Textures
    <p>
    
    <!--------------------------------------------------------------------------- -->
    <sect1> Coordinates and Coordinate Transformations
    <p>
    
    
    <!--------------------------------------------------------------------------- -->
    <sect1> Grouping of objects
    <p>
    While the data are being read, particles can be grouped in different object
    groups, each of which can be manipulated and displayed on its own. The Group
    Row, if present, allows easy access to the different groups.
    
    
    <!--------------------------------------------------------------------------- -->
    <sect1> Control Commands
    
    teuben's avatar
    teuben committed
    <p>
    
    
    (see partibrains.c::specks_parse_args)
    <p>
    Most (all?) commands can be
    
    prefixed with a generic group designation, <tt/gN/, to which this command
    applies. See the <tt/object/ Data Command how to place different data in 
    different groups.
    
    <p>
    Data Commands can also be given, if prefixed with the <tt/add/ command.
    
    teuben's avatar
    teuben committed
    
    
    <descrip>
    
    <tag>
    
    read <it/specks-file/>
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    read a specks file
    
    teuben's avatar
    teuben committed
    
    <tag>
    include		
    </tag>
    NOTYET, does the same as the <bf/read/ command.
    
    <tag>
    on
    </tag>
    
    
    teuben's avatar
    teuben committed
    <tag>
    off
    </tag>
    
    <tag>
    enable
    </tag>
    
    teuben's avatar
    teuben committed
    
    <tag>
    disable
    </tag>
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    This should be a no-op, since it would normally allow you to
    give a Control Command in Data Command mode. 
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    This will enter a Data Command while in Control Command mode.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    async <it/unix-command/
    
    teuben's avatar
    teuben committed
    </tag>
    
    This will allow you to execute an arbitrary unix command, the subprocess
    
    of which  its <it/stdout/ will be taken as a stream of Control Commands.
    
    teuben's avatar
    teuben committed
    
    <tag>
    update		
    </tag>
    
    Ensures the screen is updated.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    hist <it/datavar/ [-l] [-c] [-t] [<it/minval/] [<it/maxval/]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Generates a histogram of values of the datafield named by <it/dataval/.
    <p>
    -l logarithmic, -c clipped, -t threshed.
    
    teuben's avatar
    teuben committed
    
    <tag>
    bound
    </tag>
    
    Reports 3D extent of the data
    
    teuben's avatar
    teuben committed
    
    <tag>
    speed
    </tag>
    
    (note that <tt/fspeed/ has been deprecated)
    
    teuben's avatar
    teuben committed
    
    <tag>
    run
    </tag>
    
    <tag>
    fade
    </tag>
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    Selects a 3D clipbox
        <descrip>
        <tag> <it/xmin ymin zmin  xmax ymax zmax/ </tag> <p>
        <tag> <it/xcen,ycen,zcen xrad,yrad,zrad/  </tag><p>
        <tag> <tt/on/  </tag><p>
        <tag> <tt/off/ </tag><p>
        </descrip>
    
    
    teuben's avatar
    teuben committed
    
    <tag>
    object
    </tag>
    
    <tag>
    tfm
    </tag>
    
    <tag>
    bgcolor
    </tag>
    
    
    <tag>
    kiractl 
    </tag>
    viewing control options for kira (starlab) 
    formatted data that have been read in with
    the <tt/kira/ Data Command.
        <descrip>
        <tag> {node|ring} {on|off|root} </tag> <p>
        <tag> tree {on|off|cross|tick} [<it/tickscale/]  </tag> <p>
        <tag> size <it/fac/  </tag> <p>
        <tag> span <it/minpix/ <it/maxpix/ </tag> <p>
        <tag> track <it/id/ </tag> <p>
        <tag> ??? scale  </tag> <p>
        </descrip>
    
    
    
    Generic prefix to any control command to act on the selected group <it/gN/ (N=1,2,3,....).
    
    teuben's avatar
    teuben committed
    <p>
    	BEGIN	!CAVEMENU	(virdir emulation)
    
    <tag>
    
    stereo <it/float/ <it/color/
    
    teuben's avatar
    teuben committed
    </tag>
    
    Add stereo separation. Numbers can be 0.02 to 0.1 or -0.02 to -0.1 to swap
    eyes.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    snapset FILESTEM [FRAMENO]
    
    teuben's avatar
    teuben committed
    </tag>
    
    set snapshot parameters
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    snapshot [FRAMENO]
    
    teuben's avatar
    teuben committed
    </tag>
    
    take a snapshot of the current viewport (uses convert(1))
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    move on|off
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    
    teuben's avatar
    teuben committed
    move-objects on|off
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    
    clip NEAR FAR
    </tag> 
    Set or get clipping distances
    
    teuben's avatar
    teuben committed
    
    <tag>
    ortho
    </tag>
    
    teuben's avatar
    teuben committed
    NOTYET
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    fov <it/float/
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Get or set field of view (in degrees)
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    fovy <it/float/
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Get or set field of view (in degrees)
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    focal <it/float/
    
    teuben's avatar
    teuben committed
    </tag>
    
    Get or set the focal length. Use the 's' key to toggle 
    
    stereo display. The focal length also determines the fly/tran speed.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    jump [<it/X Y Z/] [<it/Rx Ry Rz/]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Get or set the current position (XYZ) and/or viewing (RxRyRz) angle.
    
    <tag>
    center [<it/X Y Z/]
    </tag>
    Get or set the current rotation center (XYZ) for orbit/rotate
    
    teuben's avatar
    teuben committed
    
    <tag>
    rdata
    </tag>
    
    teuben's avatar
    teuben committed
    Read a (<tt/.wf/) file describing a path through space.
    
    teuben's avatar
    teuben committed
    
    <tag>
    readpath
    </tag>
    
    Read a Wavefront (<tt/.wf/) file describing a path through space.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    play <it/speed/[f]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Play the currently loaded path, at <it/speed/ times normal speed
    (with "f" suffice it would play every <it/speed/-th frame).
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    frame <it/frameno/
    
    teuben's avatar
    teuben committed
    </tag>
    
    Get, or set the current frame the <it/frameno/-th.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    int[erest] [X Y Z Radius]
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Get or set region of interest
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    cen[ter] [X Y Z Radius]
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Get or set region of interest
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    censize RADIUS
    
    teuben's avatar
    teuben committed
    </tag>
    
    Get or set size of marker / interest-marker size
    
    teuben's avatar
    teuben committed
    <p>
    	END	!CAVEMENU	(virdir emulation)
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    This either reports at which step you are, or changes the view
    to the selected step-number. If preceded with a plus or minus
    sign, the step is relative to the current frame.
    
    teuben's avatar
    teuben committed
    
    <tag>
    fwd
    </tag>
    
    <tag>
    gscale
    </tag>
    
    teuben's avatar
    teuben committed
    scaling particles
    
    teuben's avatar
    teuben committed
    
    <tag>
    clearobj
    </tag>
    
    <tag>
    
    teuben's avatar
    teuben committed
    every   N
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Get or set the value to display every N-th particle
    
    teuben's avatar
    teuben committed
    
    <tag>
    color
    </tag>
    
    <tag>
    datavar [dv]
    </tag>
    
    <tag>
    
    teuben's avatar
    teuben committed
    datawait   on|off
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    lum
    </tag>
    
    <tag>
    
    teuben's avatar
    teuben committed
    cmap    <it/filename/
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    Load (ascii) filename with RGB values 
    
    teuben's avatar
    teuben committed
    
    <tag>
    boxcmap
    </tag>
    
    <tag>
    cment
    </tag>
    
    <tag>
    boxcment
    </tag>
    
    <tag>
    only
    </tag>
    
    <tag>
    thresh
    </tag>
    
    <tag>
    rawdump
    </tag>
    
    <tag>
    slum
    </tag>
    
    <tag>
    scale-lum
    </tag>
    
    <tag>
    see
    </tag>
    
    <tag>
    show
    </tag>
    
    <tag>
    showbox
    </tag>
    
    <tag>
    hide
    </tag>
    
    <tag>
    hidebox
    </tag>
    
    <tag>
    
    box(es) [off|ON|ONLY]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle box display between 
    <tt/off/,  <tt/ON/, or <tt/ONLY/.  (notice case sensitivity)
    
    teuben's avatar
    teuben committed
    
    
    <tag>
    
    boxlabel [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle or set box label display mode.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    boxaxes [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle or set box axes display mode.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    boxscale [float] [on|off] 
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    go
    </tag>
    
    <tag>
    gobox
    </tag>
    
    <tag>
    goboxscale
    </tag>
    
    <tag>
    
    psize [float]
    
    teuben's avatar
    teuben committed
    </tag>
    
    
    (Note: pointsize is deprecated)
    
    
    teuben's avatar
    teuben committed
    <tag>
    
    pointsize 
    
    teuben's avatar
    teuben committed
    </tag>
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    polysize [on|off] [a|s|r]
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    polylum
    </tag>
    
    <tag>
    polyminpixels
    </tag>
    
    <tag>
    labelminpixels
    </tag>
    
    <tag>
    labelsize
    </tag>
    
    <tag>
    lsize
    </tag>
    
    <tag>
    
    point(s)   [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle the display status of points (the <tt/point/ status in the top row), or
    explicitely set point display <tt/on/ or <tt/off/.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    poly(gon)  [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle the display status of labels (the <tt/poly/ status in the top row), or
    explicitely set polygon display <tt/on/ or <tt/off/.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    texture [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle the display status of textures (the <tt/tex/ status in the top row), or
    explicitely set textures <tt/on/ or <tt/off/.
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    label(s) [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle the display status of labels (the <tt/lbl/ status in the top row), or
    explicitely set labels <tt/on/ or <tt/off/.
    
    teuben's avatar
    teuben committed
    
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    <tag>
    polyorivar
    </tag>
    
    <tag>
    texturevar
    </tag>
    
    <tag>
    
    laxes  [on|off]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Toggle ...
    
    teuben's avatar
    teuben committed
    
    <tag>
    
    teuben's avatar
    teuben committed
    </tag>
    
    Number of sides a polygon should have
    
    teuben's avatar
    teuben committed
    
    <tag>
    gamma
    </tag>
    
    <tag>
    
    alpha [float]
    
    teuben's avatar
    teuben committed
    </tag>
    
    Get or set the alpha value.
    
    teuben's avatar
    teuben committed
    
    <tag>
    fast
    </tag>
    
    see also <tt/ptsize/
    
    <tag>
    ptsize
    </tag>
    makes more sense than <tt/fast/.
    
    teuben's avatar
    teuben committed
    
    <tag>
    fog
    </tag>
    
    <tag>
    menu fmenu
    </tag>
    
    <p>
    
    			BEGIN CAVEMENU
    	pos P1 P2
    	wall P1
    	hid [P1]
    	show [P1]
    	h  [P1]
    	demandfps [P1]
    	font
    	help
    	?
    			END CAVEMENU	
    <p>
    
    <tag>
    datascale
    </tag>
    
    <tag>
    where  [w]
    </tag>
    
    </descrip>
    
    
    <!--------------------------------------------------------------------------- -->
    <sect1> Data commands
    
    teuben's avatar
    teuben committed
    <p>
    
    (see also partibrains.c::specks_read)
    <p>
    
    Lines starting with <tt/#/ will be skipped. The following Data Commands
    
    can be placed in a data file. 
    <p>
    Control Commands can be given, if prefixed with the <tt/eval/ command.
    
    
    teuben's avatar
    teuben committed
    
    <descrip>
    
    <tag> 
    read <it/file/ 
    </tag> 
    
    teuben's avatar
    teuben committed
    read a <tt/speck/ formatted file. Recursive, commands can nest. (strtok ok??)
    
    teuben's avatar
    teuben committed
    
    <tag> 
    include  <it/file/
    </tag>
    read a <tt/speck/ formatted file.