Message-ID: <38637BBF.CC5A0C04@maths.unine.ch> Date: Fri, 24 Dec 1999 14:57:19 +0100 From: Gautier 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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