I’d like to draw the view frustum (as when the modelview matrix is the identity), like they do in most papers when explaining frustums - using lines.
In other words, if i zoom out on the scene or rotate the entire scene, the view frustum ‘cuboid’ should rotate and zoom as well.
How would I go about this?
Thanks.