Pointed there by Robert R., i'm trying to implement view-frustum culling into my system.
I'm currently into the Geometric Approach and, for sure, I need some generous hands to help me.
I understood the demo there : http://www.lighthouse3d.com/tutorials/view-frustum-culling/geometric-approach-extracting-the-planes/
This is the global description.
Implementation is a bit more tricky (for me)
As attached, I'm okay (I guess) with the setCamInternals.
I'm stuck in implementing the setCamDef which has to compute 3 vectors and to render the 8 points of the frustum (=the 6 planes used for checking which object has to be sent to the openGL pipeline)
I'm stuck because I don't know how to grab those 3 vectors required.
The first one is ok, this is the position of the cam.
The second one is "a point to where the camera is pointing" ... How can I find/calculate it ?
The third is the up vector, same .. . how can I grab it ??
ANY help would be amazing for me.