Clipping .map planes
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement