Selection mode works in all views it seems. To test: can we control all EasyCams in each view? Render mode is not functioning properly yet. The labeled points don't seem to listen to the viewport settings, and the calibration results gets a strangely large FOV.
Can now manipulate the EasyCam in each viewport individually. Improvement in calibration code: don't use viewport[2] and viewport[3] in update calibration (these still have the screen size at this point), but viewport.width and .height from the viewport defined in ProjectorView.
It seems the hardest nuts to get multi-projector mapamok running have been cracked. Now we can select, calibrate and render in multiple viewports.
Some code is probably redundant now. It turns out that a function in ofxCv called ofViewport -> this caused the 3D model to not appear in Render mode, and may have caused other problems, so this needs to be checked. For now, I'm just pushing this to the server for safe keeping. Many performance optimizations can (and should.. setup mode is really slow now.. in fact everything is slow with four viewports) still be made. Not to mention GUI addons/improvements. For example the ability to select the 3D points on the main screen, and only select the 2D points on the projectors.