From: "Ike" Newsgroups: comp.os.msdos.djgpp Subject: Another 3D question. Date: Sat, 1 May 1999 13:04:07 -0700 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: tc2-16.ismi.net Message-ID: <372b346c@news.ismi.net> X-Trace: 1 May 1999 13:05:48 -0400, tc2-16.ismi.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've recently started testing out some of the cool 3D functions in the Allegro library, and this is my first time doing anything constructive in 3D. Well using the matrix routines and V3D_f structure I can get a four-faced pyrmid to roate around the Z-axis, but Im having some trouble. The faces on the back of the triangle show through the faces on the front becase they are drawn first and I can't figure out how to Zsort them so the ones on top get blitted first. Is there a function in the Allegro libarary that will do this for me? How exactly is it done? Any help would be greatly appreciated. Thanks!