@cuinjune wrote:
I’m trying to use orthographic mode so I can draw the 3d shapes identically.
Here’s my code without enabling the orthographic mode.
void ofApp::draw(){ camera.setNearClip(0.001); camera.begin(); ofNoFill(); ofDrawSphere(0.0, 0.0, -1.0, 0.2); ofDrawSphere(-0.5, 0.4, -1.0, 0.2); ofDrawSphere(0.5, 0.4, -1.0, 0.2); ofDrawSphere(-0.5, -0.4, -1, 0.2); ofDrawSphere(0.5, -0.4, -1, 0.2); camera.end(); }
And here’s the resulting screenshot:
And as I said, I would like to draw all five spheres to look identical just like the one in the center.
So I added
camera.enableOrtho();
but here’s the resulting screenshot:
Why they look so different and how can I fix this?
Posts: 1
Participants: 1