Clipping .map planes
1 reply to this topic
Members - Reputation: 122
Posted 07 January 2000 - 12:03 PM
I''ve been trying to decypher the .map brush format. I understand 3 points define an unclipped plane: 1-------------->2 / infinity-> / / / 3 and that to calculate the 4th point, I have to clip the infinite plane, with another plane on the brush. Could someone give me some code to do this, or an explanation, because i''m not really sure how. I''ve got it working for unrotated boxes, by taking some guesstimates but it sux. I tried the tutorial on flipcode.com, but it doesn''t include the source on how to clip the planes. Thanks alot for any help.