| delorie.com/archives/browse.cgi | search | 
| Message-ID: | <38637BBF.CC5A0C04@maths.unine.ch> | 
| Date: | Fri, 24 Dec 1999 14:57:19 +0100 | 
| From: | Gautier <Gautier DOT deMontmollin AT maths DOT unine DOT ch> | 
| X-Mailer: | Mozilla 4.51 (Macintosh; I; PPC) | 
| X-Accept-Language: | en | 
| MIME-Version: | 1.0 | 
| Newsgroups: | comp.os.msdos.djgpp | 
| Subject: | Re: 3D Problem | 
| References: | <ojK84.2278$W3 DOT 54472 AT news DOT tpnet DOT pl> | 
| NNTP-Posting-Host: | mac13-29.unine.ch | 
| X-Trace: | 24 Dec 1999 14:58:56 +0100, mac13-29.unine.ch | 
| Lines: | 10 | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
| Reply-To: | djgpp AT delorie DOT com | 
There is no 100% guarantee about a correct order with z-sorting. If your object is convex or has similar sizes for faces it is OK, otherwise there are surprises, whatever the criterion for z is... You can have a case where A visually overlaps B; B, C; C, A; so z-sorting always fails. You have to design you objects carefully... My own engine does (still...) use z-sorting, so I have suffered a bit with these problems... See http://members.xoom.com/gdemont/e3d.htm HTH -- Gautier
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |