www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/03/15:40:00

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.graphics.algorithms,comp.os.msdos.djgpp
References: <01bf3dc6$a4de1520$3a8243d4 AT online-100>
Subject: Re: [Q] Segmented line in 3D space
Lines: 22
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <AgV14.457$_j4.14073@dfiatx1-snr1.gtei.net>
X-Trace: /KtlGWKKeF5P1a2fMv1CxvuTTlqkRznft0FUDltYUzPAR7fhfo6cz4dRNLXtiyiA2Xg+HjAfUzdC!dAtlE82ovlMNP8AqxvxNCxyrQHzmH/Wx8wS2kLCweh+wT5RejmmYKMm6p50kY2bxsgQc0jo=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 03 Dec 1999 19:57:20 GMT
Distribution: world
Date: Fri, 03 Dec 1999 19:57:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

(question xposted to comp.graphics.algorithms)

"Alan McFarlane" <amcfarlane AT bigfoot DOT com> wrote in message
news:01bf3dc6$a4de1520$3a8243d4 AT online-100...
> Given a two points with the following structure:
>
> struct
> {
>   float fx, fy, fz; /* 3D coordinate */
>   int sx, sy;      /* projected 2D corrdinate */
> }
> P1, P2;
>
> How can I I draw a line between the the points, using multiple segments,
> each one colored according to the value of 'z' at that point?
>
>
> --
> Alan McFarlane
> amcfarlane AT bigfoot DOT com


- Raw text -


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