Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mdisp(6d) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     MDISP(6D)                                               MDISP(6D)



     NAME
          mdisp - Extending zdisp by adding a motion path for the
          object to follow

     SYNOPSIS
          mdisp <objectfile> <pathfile>

     DESCRIPTION
          mdisp displays a rotating 3D gouraud shaded model with  hid-
          den  surfaces  removed and moves it through a pre-calculated
          motion path.  All lighting is calculated  prior  to  display
          and does not change with orientation.  The hidden surface is
          performed by the 24 bit hardware z-buffer.

          Manipulate the model by holding down the left  mouse  button
          and  dragging it across the screen. The program goes into an
          automatic rotation cycle when you  release  the  left  mouse
          button.  Be careful as you move the object around because it
          compounds the pre-calculated motion path.

          By holding down the right mouse button, you get a  menu  for
          the  background.   Your  choices  are blue, stars, or a box.
          For the fastest display use the blue background, for the ni-
          cest display, choose the stars.

     INPUT FILE FORMAT
          The input file is normally created by the  conman  renderer.
          The format is as follows:

          First is a floating point number denoting the overall  scal-
          ing  factor.  Next comes a list of separate surface patches.
          Each patch description starts with  a  line  containing  the
          name  of  the patch.  The information includes the color in-
          dex, RG and B components of  the  color,  and  its  lighting
          characteristics - proportion of ambient, diffuse, and specu-
          lar components.

          The next line contains two integers representing the  number
          of  rows  and  columns  in  the patch.  Following this are n
          lines  (n  =  rows*columns)  containing  the  numbers   that
          describe  location, vector normal, and lighting variables at
          each sampled point on the patch.  Each line has the  follow-
          ing  eight  values  for its corresponding point: x, y, and z
          coordinates in model space, the x, y, and z values  for  the
          vector  normal  to  the  patch at the point, and diffuse and
          specular shading values ranging from 0.0 to  1.0.   You  can
          have as many surface patches as you like.

          The available object files include:

enter (spaceship Enterprise built of 290 polygons)
martini (glass built of 1696 polygons)
robot (built of 118 polygons)
Page 1 (last mod. 8/20/87)


     MDISP(6D)                                               MDISP(6D)



          without specular highlights:

enter.nospec
martini.nospec
robot.nospec
The available pathfile is: enter.p (use with spaceship En- terprise - enter) WINDOW MANAGER This program only runs in the window manager. AUTHOR Eric Brechner ORIGIN Silicon Graphics, Inc. Page 2 (last mod. 8/20/87)

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