Clipping planes in ortho()

TimTim
edited August 2017 in Questions about Code

If you rotate the cube at the link to vertical, then it gets clipped out of the scene - can anyone help me understand why? I can't seem to find much in the help documentation.

https://www.openprocessing.org/sketch/442987

I am thinking perhaps I need to update the clipping planes when the camera moves?

camera(eye.x,eye.y,eye.z,focus.x,focus.y,focus.z,0,0,-1);
scale(zoom);

Thank you :)

Sign In or Register to comment.