Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ swap(6t) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     SWAP(6T)                                                 SWAP(6T)



     NAME
          swap - demonstrates swapping buffers to display smooth
          animation.

     SYNOPSIS
          /usr/people/tutorial/c.graphics/online/swap

     DESCRIPTION
          swap simulates drawing an object  to  both  front  and  back
          buffers,  and  also swapping those buffers.  You can experi-
          ment with the frontbuffer, backbuffer and swapbuffers Graph-
          ics  Library  routines.  There are four main sections of the
          window:  a help area, an onscreen menu, a representation  of
          the  front  buffer,  and the contents of both front and back
          buffers.

        Display Windows
          swap has four different  windows.   The  information  window
          displays  instructions  for using this program.  The console
          window contains three menus.  Use the top menu to  clear  or
          draw  to  all  enabled  buffers, to swap the contents of the
          front and back buffers, and to exit from the  program.   Use
          the  middle  menu to enable and disable the front buffer for
          drawing (by default, the front buffer is disabled).  Use the
          third  menu  to  enable  and disable the back buffer (by de-
          fault, drawing takes place in the back buffer).  Always  use
          the left mouse button to select items from these menus.  The
          screen view window is actually an enlargement  of  the  con-
          tents of the front buffer, that is, the buffer that contains
          the image that you see.  The buffers window shows  the  con-
          tents  of  both  front  and back buffers.  When you enable a
          buffer, it is highlighted with a contrasting color.

     WINDOW MANAGER
          swap runs only in the window manager.

     HARDWARE REQUIREMENTS
          Your IRIS needs 12 bitplanes of image  memory  to  run  this
          program.

     AUTHOR
          Mason Woo

     ORIGIN
          Silicon Graphics, Inc.










     Page 1                                        (last mod. 8/20/87)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026