home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / graphics / 8319 < prev    next >
Encoding:
Text File  |  1992-07-31  |  2.6 KB  |  63 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!gatech!rpi!batcomputer!tasha.cheme.cornell.edu!elan
  3. From: elan@tasha.cheme.cornell.edu (Elan Feingold)
  4. Subject: Hidden surface removal (to Mathew Kaustinen)
  5. Message-ID: <1992Jul31.161407.8635@tc.cornell.edu>
  6. Lines: 50
  7. Sender: news@tc.cornell.edu
  8. Nntp-Posting-Host: tasha.cheme.cornell.edu
  9. Reply-To: elan@tasha.cheme.cornell.edu (Elan Feingold)
  10. Organization: Cornell University
  11. Date: Fri, 31 Jul 1992 16:14:07 GMT
  12.  
  13.  
  14. My e-mail to you bounced, so here's the letter:
  15.  
  16. > Just a thought (I lay awake half the night thinking about it!).
  17.  
  18. Sorry to interrupt your sleeping pattern :)
  19.  
  20. > Are the co-ordinates of your patches ordered in the same direction?
  21.  
  22. I think so - they're organized in 3 arrays for X, Y, and Z, and I have it set
  23. up so that I think every polygon would be considered the same way.
  24.  
  25. > If so, since the patches are non intersecting, I think that a algorithm
  26. > that checks the z-distance for the same point # on each patch should work.
  27.  
  28. Hum, I'm beginning to seriously wonder.  The problem was that for example,
  29. if I had a long polygon going up, and a little polygon visually in
  30. front, and the viewpoint was up above somewhere, the algorithm would draw
  31. the small polygon first, because the average Z value was smaller
  32. (since the large polygon protruded up towards the viewpoint), and the
  33. minimum z was a tie (since they were adjacent in the height field),
  34. so that wouldn't work either.
  35.                              
  36. >I used this method on a Bezier surface program I wrote and it
  37. >seemed to work for this application.
  38.  
  39. Was the program PD?  If so I'd like to have a look.  I always like a good
  40. graphics program.
  41.  
  42.  
  43. Thanks for your help,
  44.  
  45. Elan
  46.  
  47. --
  48. --------------------------------------------------------------------------|
  49. |  Elan Feingold       |  Chevy Chase after being asked by a Howard Stern |
  50. |  CS/EE Depts.        |  interviewer whether he still wore a toupee:     |
  51. |  Cornell University  |  "Ask him [Stern] if he wants me to put his      |
  52. |  Ithaca NY 14850     |   dentist in a higher tax bracket."              |
  53. --------------------------------------------------------------------------
  54.     
  55.  
  56. --
  57. --------------------------------------------------------------------------|
  58. |  Elan Feingold       |  Chevy Chase after being asked by a Howard Stern |
  59. |  CS/EE Depts.        |  interviewer whether he still wore a toupee:     |
  60. |  Cornell University  |  "Ask him [Stern] if he wants me to put his      |
  61. |  Ithaca NY 14850     |   dentist in a higher tax bracket."              |
  62. --------------------------------------------------------------------------
  63.