home *** CD-ROM | disk | FTP | other *** search
/ gondwana.ecr.mu.oz.au/pub/ / Graphics.tar / Graphics / spline-patch.tar.gz / spline-patch.tar / patch / README < prev    next >
Text File  |  1991-11-18  |  2KB  |  38 lines

  1. Contents - 
  2.  
  3. A set of routines for creating and raytracing bicubic surface
  4. patches.  These routines can work with any bicubic patch such as a bezier, 
  5. b-spline, cardinal, beta-spline, etc.  They are based on a paper by:
  6.  
  7. Levner G, Tassinari P, Marini D (1987) A simple method for ray tracing bicubic
  8. surfaces.  In: Kunii TL (ed) "Theoretical Foundations of Computer Graphics and
  9. CAD", 1987, Springer, Tokyo, pp 805-814.
  10.  
  11.   User Routines:
  12.     NewPatch - Allocates the patch data structures and returns a pointer.
  13.     DefPatch - Defines a patch, given a patch pointer.
  14.     IsectPatch - Intersects a ray and a patch. Returns u, v, t, pnt.
  15.     NormalPatch - Given a patch and a u, v position, returns the normal.
  16.     FreePatch - Deallocates a patch.
  17.  
  18.   Additionally, there is one useful routine not specific to patches:
  19.     BoxIntersect - Given a ray and a box, returns the intersection point.
  20.  
  21. The file patch.h contains function prototypes for the routines.
  22.  
  23. The demos/ directory contains some demo programs that illustrate the use
  24. of the routines.  These programs are intended to be run on a Silicon
  25. Graphics IRIS. The makefile in this directory may also be instructive.
  26.  
  27. The man/ directory contains troff man pages for all routines.
  28.  
  29. -----------
  30.  
  31. Copyright (c) 1990, by Sean Graves and Texas A&M University
  32.  
  33. Permission is hereby granted for non-commercial reproduction and use of
  34. this program, provided that this notice is included in any material copied
  35. from it. The author assumes no responsibility for damages resulting from
  36. the use of this software, however caused.
  37.  
  38.