From: "Snowman" Newsgroups: comp.os.msdos.djgpp Subject: 3D Problem Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Fri, 24 Dec 1999 13:12:52 GMT NNTP-Posting-Host: 212.160.57.179 X-Complaints-To: abuse AT tpsa DOT pl X-Trace: news.tpnet.pl 946041172 212.160.57.179 (Fri, 24 Dec 1999 14:12:52 MET) NNTP-Posting-Date: Fri, 24 Dec 1999 14:12:52 MET Organization: TPNET - http://www.tpnet.pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com HELP HELP ! I'm programming a simple 3d-Engine using DJGPP AND ALLEGRO. Unfortunatelly I have a big problem ! I dont know how to sort the faces (I'm using qsort( )) in the correct order. I use quad3d() to display them. I don't know how to check, in which order the faces should be placed. First I tried to check just the z coordinates, but it didn't work 100% properly, when I wanted to turn and move the objects. Please Help me soon .