so here is where I went.
I have that huge jit.gen (finally not that big)
It takes also cam parameters like:
it processes the whole parameters to render the 8 points of the view frustum.
The calculation is there:
Now, I have my eight point defining my view.
I have to “test” all my object according to those planes in order to have a list of objects I have to inactivate and activate, according to the position & orientation of my cam.
That part is done in the second codebox and has to be done for the 6 planes.
Knowing I have a matrix with all my objects' positions, how can I test each one against those 6 planes ??
any help would be appreciate.
Jun 16, 2012 at 11:43pm #167778