home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!gatech!rpi!batcomputer!tasha.cheme.cornell.edu!elan
- From: elan@tasha.cheme.cornell.edu (Elan Feingold)
- Subject: Hidden surface removal (to Mathew Kaustinen)
- Message-ID: <1992Jul31.161407.8635@tc.cornell.edu>
- Lines: 50
- Sender: news@tc.cornell.edu
- Nntp-Posting-Host: tasha.cheme.cornell.edu
- Reply-To: elan@tasha.cheme.cornell.edu (Elan Feingold)
- Organization: Cornell University
- Date: Fri, 31 Jul 1992 16:14:07 GMT
-
-
- My e-mail to you bounced, so here's the letter:
-
- > Just a thought (I lay awake half the night thinking about it!).
-
- Sorry to interrupt your sleeping pattern :)
-
- > Are the co-ordinates of your patches ordered in the same direction?
-
- I think so - they're organized in 3 arrays for X, Y, and Z, and I have it set
- up so that I think every polygon would be considered the same way.
-
- > If so, since the patches are non intersecting, I think that a algorithm
- > that checks the z-distance for the same point # on each patch should work.
-
- Hum, I'm beginning to seriously wonder. The problem was that for example,
- if I had a long polygon going up, and a little polygon visually in
- front, and the viewpoint was up above somewhere, the algorithm would draw
- the small polygon first, because the average Z value was smaller
- (since the large polygon protruded up towards the viewpoint), and the
- minimum z was a tie (since they were adjacent in the height field),
- so that wouldn't work either.
-
- >I used this method on a Bezier surface program I wrote and it
- >seemed to work for this application.
-
- Was the program PD? If so I'd like to have a look. I always like a good
- graphics program.
-
-
- Thanks for your help,
-
- Elan
-
- --
- --------------------------------------------------------------------------|
- | Elan Feingold | Chevy Chase after being asked by a Howard Stern |
- | CS/EE Depts. | interviewer whether he still wore a toupee: |
- | Cornell University | "Ask him [Stern] if he wants me to put his |
- | Ithaca NY 14850 | dentist in a higher tax bracket." |
- --------------------------------------------------------------------------
-
-
- --
- --------------------------------------------------------------------------|
- | Elan Feingold | Chevy Chase after being asked by a Howard Stern |
- | CS/EE Depts. | interviewer whether he still wore a toupee: |
- | Cornell University | "Ask him [Stern] if he wants me to put his |
- | Ithaca NY 14850 | dentist in a higher tax bracket." |
- --------------------------------------------------------------------------
-