# What's the best way to compute the intersection between Plane and ViewFrustum?

This topic is 3806 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, guys, If a infinite plane and a view frustum is given, what's the best way to compute there intersection points or lines? Thanks!

##### Share on other sites
Maybe we could first compute the side of the view frustum vertex.
There are 8 vertex of view frustum.
viewFrustum[2][4];

Then put the vertex in to the plane equation. Then, these vertex could be separated into three groups.

Positive Group, where a.x + b.y +c.z +d > 0
Negative Group, where a.x + b.y +c.z +d < 0
Zero Group, where a.x + b.y +c.z +d = 0

Then, we can find the intersection points between the edges and the plane.

If there is one vertex in the different group, but one the same edge, then we can assert that the plane must intersect with that edge. Then, we can compute the intersection point.

[Edited by - coolhelix on July 14, 2008 5:55:01 AM]

1. 1
2. 2
3. 3
Rutin
16
4. 4
5. 5

• 13
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633723
• Total Posts
3013546
×