I have a scene consisting of some cubes.I want to interactively view it by changing viewpoint(And camera orientation).I had found similar opengl program and understand the program to a large extent.I am slightly confused about choosing parameters of glFrustum for my purpose.
My all cubes are lying in the xy plane .My all cubes are lying within the rectangular box with opposite coordinates as follows (-500,-500,250)and(500,500,250) .Plz suggest me some appropriate value of parameters for glfrustum.Thanks in advance.