delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/26/17:31:59

From: darn AT NOSPAM DOT vxl DOT imag DOT net (Darren Grant)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 3D Stuff in Allegro
Date: Fri, 26 Dec 1997 19:51:23 GMT
Organization: Cyberion Networking Corp.
Lines: 11
Message-ID: <34a409f9.80383587@news.imag.net>
References: <67vlel$lk0 AT nexus DOT nexus DOT edu DOT au>
NNTP-Posting-Host: turkey.imag.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 26 Dec 1997 16:27:40 +0930, "Tom Cook" <tcook AT nexus DOT edu DOT au>
wrote:

>then call line() to draw the line between these two projected points. this
>causes problems, though, when one of the points is behind the camera and the
>other is not. Now either I don't calculate one of the points and therefore


You should clip the line at z=zmin before performing the perspective
math.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019