From: qballlives AT aol DOT com (QBallLives) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: no_persp_project? Date: 13 Mar 1998 20:35:11 GMT Lines: 29 Message-ID: <19980313203500.PAA18626@ladder01.news.aol.com> NNTP-Posting-Host: ladder01.news.aol.com Organization: AOL http://www.aol.com References: <3508a0f5 DOT 52295465 AT isflak DOT arcticnet DOT no> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >Anthony Salter wrote: > >>I'm currently writing a 3D isometric engine a la Dungeon Keeper, >>Syndicate Wars, and Ultima IX (before it was turned into a 3D action >>game). Which means that I DON'T want to correct the perspective with >>respect to the Z axis. Anyone out there know a way to do this with >>Allegro's current functions, or am I going to have to come up with a >>no_persp_project? (Which, naturally, I'll share with everyone once it >>gets debugged). > >Debug? A function like this? > >void no_persp_project(fixed x,y,z,*xout,*yout) >{ > *xout=x; *yout=y; >} > >If necessary, add scaling, but that's basically it. > > if you're talking no perspective- you're talking parallel projection just strip the z off... Jim the loiterer aloiterer AT juno DOT com http://www.fortunecity.com/skyscraper/gigahertz/179/index.html