home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / avs / 912 next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.6 KB

  1. Xref: sparky comp.graphics.avs:912 comp.graphics.visualization:1770
  2. Newsgroups: comp.graphics.avs,comp.graphics.visualization
  3. Path: sparky!uunet!caen!sol.ctr.columbia.edu!aurora!larryg
  4. From: larryg@avs.com (Larry Gelberg)
  5. Subject: Re: Wanted: Information on the ASCII-geometry format from AVS
  6. References: <1992Nov11.183619.18397@news.tu-graz.ac.at>
  7. Sender: nobody@ctr.columbia.edu
  8. Organization: Advanced Visual Systems Inc.
  9. Date: Mon, 16 Nov 1992 15:34:05 GMT
  10. X-Newsreader: Tin 1.1 PL4
  11. Message-ID: <1992Nov16.153405.23334@sol.ctr.columbia.edu>
  12. X-Posted-From: aurora.avs.com
  13. NNTP-Posting-Host: sol.ctr.columbia.edu
  14. Lines: 23
  15.  
  16. The example you posted seems to be two squares, not one.  One square
  17. is at [[1,1,1], [1,1,-1], [1,-1,-1], [1,-1,1]], and the other is the
  18. same but with X=-1.  
  19.  
  20. The secret to understanding polytriangle strips is to realize that
  21. vertices are doubled on either side of a "break" in the strip. This
  22. creates two zero-area triangles (we call them "cobwebs") which are
  23. culled in our renderer and ignored by many others.  If you wanted to
  24. convert a polytriangle strip to disjoint triangles, you probably
  25. want to skip over these zero-area triangles (easily identified by having
  26. two of the vertices being identical).  Other than that, if the indexes
  27. of the strip are [1,2,3,4,5,6], then the triangles are: [1,2,3], [2,3,4],
  28. [3,4,5], [4,5,6]. I.e., there are N-2 triangles for a polytri strip 
  29. of N vertices.
  30.  
  31. Does this help?
  32. larryg
  33.  
  34. --
  35. === Larry Gelberg ============================ larryg@avs.com =======
  36.       Advanced Visual Systems Inc. (AVS Inc.)
  37.       300 Fifth Ave, Waltham, MA 02154
  38. ===== Tel: 617-890-4300 = Fax: 617-890-8287 =========================
  39.