How do I extract the 8 vertices of a frustum ?
I can calculate the 6 planes, and I have the result in
But how do I now extract the 8 frustum verts from that ???
Is there any opengl extension that extracts the frustum ?
Please log in or register to post a reply.
gluUnproject (or similar) could help.. just throw in the 8
then again, thats just a blind guess..
you could as well search for a point intersection_of(plane a,plane
b,plane c) code, and just intersect all combinations of planes for the
gluUnproject is too slow for getting the frustum.
I’m currently using the frustum plane extraction code by Mark Morley.
But this only gives me 6 planes.
But I also need the 8 verts for my project :(
I heard that there is an opengl extension for extracting the frustum?
Maybe that one could help me ?
Anyway, if you could direct me to a 3x plane intersection code example,
that would get me on my way :)
always a good starting point if you have mathprobs
never heard of such an extension…
gluUnproject is not slow to get called 8 times. not that its the most
efficient way. but something that gets called 8 times per frame never
hurts.. i call very expensive functions 100000 times per frame and have
get it working.
get it save working.
get it fast working.
first: get it WORKING
something is wrong with the posting screen, anway…
hehe, just the coding paradigm we talked about :)
whats wrong with it? i don’t see anything..
yes. always the same:D