I’m trying to set up my view so I can see two boxes I made in 3D. I created a box 100 units wide (x direction), 1 unit tall (y direction), and 80 units deep (z direction) at the origin (0,0,0), so the left side of the box is at -50 and the right side is at 50 units, same with the z direction. I made another box on top of this one and when I go to view them it doesn’t look 3D and I can’t see the entire box from left to right, it is cut off from my view. I’m using:
glFrustum( -1.0, 1.0, -1.0, 1.0, 1.0, 102.0 );
to view. Is there any way I can set up a view or camera so I would be able to see these boxes from a corner looking down from above? Please help, I am very new at this and I setting up the viewing is causing me grief. Anyone have code/suggestions/tips/tricks/etc/etc…?