Frustum intersections
Hi,
I know how to find if a point is inside or outside the frustum but now I have following problem:
What if point 1 and 2 are outside the frustum but the line they form goes through the frustum ?
I am checking squares against the frustum and thought it might be enough to test each individual point but obviously it isn't.
Is there a way to handle this elegantly ?
I don't know what you mean by "elegantly". Persumably you're comparing the points to the planes. If all points are on the same side of a certain plane, then there won't be an intersection. Otherwise you can do a clipping test, but you can probably treat this case as a render case for simplicity.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement