packages icon
Xgrid v0.01a                                            10/3/95

This directory contains Xgrid v0.01a, which reads in a heightfield file and
displays it as a wireframe or shaded surface in an X window. It can read
PGM, GIF, TGA, POT, and MAT formats.  I suggest a 16 or 32-bit precision
format (eg not GIF, binary PGM) for the best-looking results, especially at
higher resolutions.

If you supply a filename on the command line, it will attempt to read in
that file, othewise it tries to read in "output.tga".  You can adjust the
viewing angle and shading parameters interactively. This program is designed
as a quick previewer for the heightfields generated by "gforge", prior to
final rendering by a better-quality package such as POV-Ray.

gforge:   http://www-leland.stanford.edu/~beale/land/gforge/
          http://jumpjibe.stanford.edu/gforge/
          ftp://ftp.yggdrasil.com/mirrors/sunsite/apps/graphics/rays/
          ....and many other places.

POV-Ray:  http://www.povray.org/
          ftp://ftp.povray.org/pub/povray/
          ...and many other places.

=========================================================================
Legal Stuff:

This program is released under the GNU General Public License (GPL), version
2.  I used some X routines from Lab-3D 0.8 which requires this notice:

----------------------------------------------------------------------
 *   Lab-3D 0.8
 *   Authors: T.Hruz, I. Povazan - algorithms specification,
 *                                 hidden line, hidden surface algorithms
 *            R. Gosiorovsky     - Lab-3D interactive environment,
 *                                 implementation
 *
 * Copyright (C) 1994,1995 by authors
 *
 * This software may be freely copied, modified and redistributed
 * without fee provided that this copyright notice is preserved
 * intact on all copies and modified copies.
 *
 * There is no warranty or other guarantee of fitness of this software.
 * It is provided solely "as is". The authors disclaim all
 * responsibility and liability with respect to this software's usage
 * or its effect upon hardware or computer systems.
 *
 * Problems, suggestions, solutions, bugs report etc. with Lab-3D contact:
 *   lab-3d@vm.stuba.sk
 * the latest version is placed in anonymous ftp area   dec50.vm.stuba.sk
----------------------------------------------------------------------
I have used Tom Boutell's gd (gifdraw) library for GIF I/O, which requires
the following notices. GD is

        Written by Tom Boutell, 5/94.
        Copyright 1994, Cold Spring Harbor Labs.
        Permission granted to use this code in any fashion provided
        that this notice is retained and any alterations are
        labeled as such. It is requested, but not required, that
        you share extensions to this module with us so that we
        can incorporate them into new versions.

        Tom Boutell, boutell@netcom.com
        http://sunsite.unc.edu/boutell/index.html
        116 14th Ave E Apt 2
        Seattle, WA 98102
-------------

The GIF encoder used in GD contains the following additional notices:

   Code drawn from ppmtogif.c, from the pbmplus package
   Based on GIFENCOD by David Rowley <mgardi@watdscu.waterloo.edu>. A
   Lempel-Zim compression based on "compress".
   Modified by Marcel Wijkstra <wijkstra@fwi.uva.nl>

   Copyright (C) 1989 by Jef Poskanzer.

   Permission to use, copy, modify, and distribute this software and its
   documentation for any purpose and without fee is hereby granted, provided
   that the above copyright notice appear in all copies and that both that
   copyright notice and this permission notice appear in supporting
   documentation.  This software is provided "as is" without express or
   implied warranty.

   The Graphics Interchange Format(c) is the Copyright property of
   CompuServe Incorporated.  GIF(sm) is a Service Mark property of
   CompuServe Incorporated.

/* +-------------------------------------------------------------------+ */
/* | Copyright 1990, 1991, 1993, David Koblas.  (koblas@netcom.com)    | */
/* |   Permission to use, copy, modify, and distribute this software   | */
/* |   and its documentation for any purpose and without fee is hereby | */
/* |   granted, provided that the above copyright notice appear in all | */
/* |   copies and that both that copyright notice and this permission  | */
/* |   notice appear in supporting documentation.  This software is    | */
/* |   provided "as is" without express or implied warranty.           | */
/* +-------------------------------------------------------------------+ */

------------------------------------------------------------------

-John Beale 10/2/95  <beale@jump.stanford.edu>