home *** CD-ROM | disk | FTP | other *** search
/ Avalon - 3D Objects & Resources / Avalon.iso / frmtspcs / nurbs.txt < prev    next >
Text File  |  1995-01-01  |  3KB  |  85 lines

  1. This directory contains six simple models described as NURBS.  Each file
  2. contains the following notice, followed by one or more spline surface
  3. descriptions:
  4.  
  5.     These models were created using the Alpha_1 geometric
  6.     modeling system at the Computer Science Department,
  7.     University of Utah.  We would appreciate your
  8.     acknowledging the source of the data in publication
  9.     of work utilizing these models, or portions of them.
  10.  
  11. The text format in which these models are distributed is intended to be mashed
  12. into whatever form you want in order to read the data into your own software.
  13. No parser or filters for this text form is (nor will be) provided by the
  14. University of Utah.
  15.  
  16. The spline surfaces are in the following format:
  17.  
  18.         object = srf_obj    /* { */
  19.         s_mesh = 
  20.         object = matrix_obj    /* { */
  21.         pt_tag = E3
  22.         total = 195
  23.         size[3] = 13 5 3
  24.         value[195] = -5.41795 .25 .733713
  25.                 ...
  26.                 3 -.25 0
  27.  
  28.         endobject     /* matrix_obj} */
  29.         s_knot_vector[2] =
  30.         object = matrix_obj    /* { */
  31.         pt_tag = SCALAR
  32.         total = 9
  33.         size[3] = 1 9 1 
  34.         value[9] = 0 0 0 0 .5
  35.                 1 1 1 1 
  36.         endobject     /* matrix_obj} */
  37.  
  38.  
  39.         object = matrix_obj    /* { */
  40.         pt_tag = SCALAR
  41.         total = 17
  42.         size[3] = 1 17 1 
  43.         value[17] = 0 0 0 0 .5
  44.                 1 1.5 2 2.5 3
  45.                 3.5 4 5 6 6
  46.                 6 6 
  47.         endobject     /* matrix_obj} */
  48.  
  49.  
  50.         s_order[2] = 4 4 
  51.         s_end_conditions[2] = EC_OPEN EC_OPEN
  52.         endobject     /* srf_obj} */
  53.  
  54. The surface control mesh ("s_mesh"), and two knot vectors ("s_knot_vector[2]")
  55. are described as sub-objects of a general type "matrix_obj".  The first knot
  56. vector is associated with the rows of the control mesh, the second with the
  57. columns.  Knot vectors are given explicitly, with duplicate values to indicate
  58. multiple knots.  The "s_order[2]" field indicates the polynomial order
  59. (degree+1) of the surface in the row and column direction respectively.  The
  60. "s_end_conditions[2]" field indicates the end condition type associated with
  61. the row and column direction of the surface respectively.  It may be one of
  62. EC_OPEN, EC_FLOATING, and EC_PERIODIC.
  63.  
  64. The "pt_tag" field of a matrix object describes the elements.  It is one of
  65. SCALAR for scalar values, E2 or E3 for euclidean 2- or 3-space points, P2 or
  66. P3 for projective 2- or 3-space points.  The "total" field indicates the total
  67. number of floating point numbers are in the matrix.  The "size[3]" field
  68. describes the dimensions of the matrix; the third dimension agrees with the
  69. dimensionality indicated by the "pt_tag" field.
  70.  
  71. ________________________________________________________________
  72.  
  73.  
  74. The Alpha_1 geometric modeling system is licensed to Universities for a small
  75. distribution fee.  For information about obtaining Alpha_1 (*not* about the
  76. data in this distribution) contact:
  77.  
  78.     Glenn McMinn
  79.     Engineering Geometry Systems
  80.     275 E. South Temple, Suite 305
  81.     Salt Lake City, UT  84111
  82.     (801) 575-6021
  83.     mcminn@cs.utah.edu
  84.  
  85.