:-\ I just realized that the openGL camera can’t look directly downward (the XZ axis).
I understand why, it’s because how could OpenGl derive an angle/perspective with say the given commands
private Point3D Camera = new Point3D(0.0f, 16.0f, 0.0f);
private Point3D CameraLook = new Point3D(0.0f, 00.0f, 0.0f);
Well it couldn’t.
How can I work around this?
I don’t really need the perspective to change. I guess this is what I get for making 2-D esque games in 3-D.
Things I’ve tried so far:
- Offsetting the camera by miniscule ammounts (ex 0.1f, 0, 0), but that creates a shuddering effect and makes my quads all choppy.
- glOrtho, either I’m not setting the viewport up right or it’s not working for some reason?