View Full Version : getting vertex of current frustum

ahuarte

02-10-2002, 10:27 PM

Hi,

I have calculate the six bound planes of the current frustm, but I want to get the 8 vertices that define the bounding box around it ?

How I can calculate?

thanks in avance!

julius

02-11-2002, 02:56 AM

Cant you iterate the planes and find intersections between three of the planes?

I.e solve the eqn system:

A1*x + B1*y + C1*z + D1 = 0

A2*x + B2*y + C2*z + D2 = 0

A3*x + B3*y + C3*z + D3 = 0

for x,y,z.

where An, Bn, Cn, Dn is the equation constants for plane n.

ahuarte

02-11-2002, 10:12 PM

thank you very much

I try use the Gauss's method in order to solve it.

Originally posted by julius:

Cant you iterate the planes and find intersections between three of the planes?

I.e solve the eqn system:

A1*x + B1*y + C1*z + D1 = 0

A2*x + B2*y + C2*z + D2 = 0

A3*x + B3*y + C3*z + D3 = 0

for x,y,z.

where An, Bn, Cn, Dn is the equation constants for plane n.

Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.