Setup ofCamera mimicking normal 2D drawing mode

I need to draw some meshes both in 3D and 2D in different parts of the same app, so I’d like to know how to setup the ofCamera so it starts as closely as the 2D drawing mode as possible.

Now I’m matching the 2D coordinates like this (without being 100% accurate):

cam.setPosition(ofGetWidth()/2, ofGetHeight()/2, -260);  
cam.lookAt(ofVec3f(ofGetWidth()/2, ofGetHeight()/2, 0));  
cam.rotate(180, 0, 0, 1);  

Is there any standard way or values to do it?

you can use camera.setupPerspective() which will set the camera exactly as the perspective is set by default in OF. it’s kind of a weird setup for a camera since the 0,0 will be at top left though