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!
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!
Cant you iterate the planes and find intersections between three of the planes?
I.e solve the eqn system:
A1x + B1y + C1z + D1 = 0
A2x + B2y + C2z + D2 = 0
A3x + B3y + C3*z + D3 = 0
for x,y,z.
where An, Bn, Cn, Dn is the equation constants for plane n.
thank you very much
I try use the Gauss’s method in order to solve it.
Originally posted by julius:
[b]Cant you iterate the planes and find intersections between three of the planes?
I.e solve the eqn system:
A1x + B1y + C1z + D1 = 0
A2x + B2y + C2z + D2 = 0
A3x + B3y + C3*z + D3 = 0
for x,y,z.
where An, Bn, Cn, Dn is the equation constants for plane n.[/b]