Thread: 3D Distortion
View Single Post
Old 16th October 2002, 09:35   #3
Forum King
jheriko's Avatar
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,150
Send a message via ICQ to jheriko
The only easy way to fix this is to move the camera further away from the plane. The alternative is to split each line up into several pieces and then clip the bits which are distorted by checking if the next point is behind the clipping plane and then making the color black if it is. There is a fair amount of code involved in doing that so I'd recommend against it unless you really want to see your plane in close up in that fashion. It would be best to move the camera just far enough back that the circle described by the corners of the plane almost touches it when the rotation is at its lowest.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote