home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / avs / 1039 < prev    next >
Encoding:
Text File  |  1992-12-30  |  3.2 KB  |  61 lines

  1. Newsgroups: comp.graphics.avs
  2. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!usc!cs.utexas.edu!convex!convex!gardner
  3. From: gardner@convex.com (Steve Gardner)
  4. Subject: Re: Handling of "missing" or "special values"
  5. Sender: usenet@news.eng.convex.com (news access account)
  6. Message-ID: <1992Dec30.164201.10705@news.eng.convex.com>
  7. Date: Wed, 30 Dec 1992 16:42:01 GMT
  8. References: <1992Dec30.150955.18683@netnews.whoi.edu>
  9. Nntp-Posting-Host: imagine.convex.com
  10. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  11. X-Disclaimer: This message was written by a user at CONVEX Computer
  12.               Corp. The opinions expressed are those of the user and
  13.               not necessarily those of CONVEX.
  14. Lines: 45
  15.  
  16. In article <1992Dec30.150955.18683@netnews.whoi.edu> rsignell@crusty.er.usgs.gov (Richard P. Signell) writes:
  17. >Is there a way to tell isosurface to ignore missing or special
  18. >values in a 3D grid?  Setting missing values to zero or some
  19. >other value does *not* have the desired affect.
  20.     You might try putting your data into a UCD.  You will have to
  21.     partition your data space into 3-D cells ( hexahedrons,tetrahedrons,
  22.     pyramids, prisms) such that none of the nonexistent data points
  23.     is included in a cell. Note that it must be a partition---no
  24.     overlap is allowed.  The ucd iso module should then do the right thing.
  25.  
  26.     By the way, the problem you describe is rather common with the 
  27.     AVSfield data type and one of the reasons why the UCD type is needed.
  28.     Any time that the domain of definition of the function (the points 
  29.     at which functional values occur) is topologically "complex" it 
  30.     cannot be represented well with an AVSfield.  AVSfields assume that 
  31.     the domain of definition is 2N-fold connected (where N is the 
  32.     dimensionality of the space) and that linear interpolation can be done
  33.     between neighboring points.  To make this more concrete, AVS fields
  34.     in 3D assume that there are 6 neighbor points to point(i,j,k) 
  35.     {point(i,j,k+1),point(i,j,k-1), . . . point(i+1,j,k),point(i-1,j,k)}
  36.     It also assumes this same neighbor relation for functional values 
  37.     and assumes that linear interpolation can generate the values 
  38.     between two points (e.g. data(i,j,k) and data(i,j,k+1)).
  39.     Your functions do not fit this assumption.  As you pointed out some 
  40.     other packages take care of topological problems like yours by 
  41.     allowing a complex data domain to be "gridded over" by a nice 2N-fold 
  42.     grid where "illegal" values are used to indicate "holes".
  43.     This can be a problem since it is conceivable that any value you
  44.     may choose to be illegal may exist in some data sets and it can
  45.     also be wasteful of storage since the grid must be the bounding box 
  46.     of the data set.  In AVS the use of UCDs to model complex topologies
  47.     is the preferred method.
  48.  
  49.     I hope this answers your question.  Feel free to contact me via
  50.     email at the address below if you have any further questions.
  51.  
  52. ==============================================================================
  53. Steve Gardner                    Convex Computer Corporation
  54. Software Engineer                3000 Waterview Parkway
  55. Scientific Visualization Applications        P.O. Box 833851
  56. email: gardner@convex.com            Richardson, Texas 75083-3851
  57. Phone: 214-497-4539                  Fax: 214-497-4500
  58. ==============================================================================
  59.  
  60.  
  61.