delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/24/13:22:56

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: clipping oddissey
Date: Fri, 20 Jun 1997 17:24:28 -0400
Organization: Communications Accesibles Montreal
Lines: 14
Message-ID: <33AAF50C.24A4@cam.org>
Reply-To: tudor AT cam DOT org
NNTP-Posting-Host: dynamicppp-174.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

well, I got the clipper to clip... But only that. Now what I need is to
find out how to get the new texture coords.
I'm doin it for allegro, so I got a routine that will get the
intersection of a line that goes through 2 V3D points and a plane of the
form AA,BB,CC and DD. I know how to get the intersection's X,Y and Z but
I don't know how to find the new coords for the texture (U and V).
Does anyone have any ideea?
TIA,
-- 
http://www.cam.org/~tudor
...you cut off all of your fingers
trade them in for dollar bills
cake on some more make-up to cover all those lines
wake up and stop shaking cause you're just wasting time...

- Raw text -


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