I think I'm experiencing the same problem. I'm trying to use the iPhone 6's full resolution to set the size of a video grabber and later draw it. When using ofGetWidth()/ofGetHeight(), I consistently get widths and heights of 375 and 667, respectively. When I set retina=true in main.mm, I get the correct resolution (w: 750 | h: 1334) but my grabber is scaled down.I have set up a launch image for every resolution as well. Am I missing something? Any pointers would be appreciated!
Example code (not much different from the videoGrabber example)
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
//ofSetOrientation(OF_ORIENTATION_90_RIGHT);//Set iOS to Orientation Landscape Right
ofSetFrameRate(30);
ofBackground(255, 0, 0);
cout << "w: " << ofGetWidth() << " | h: " << ofGetHeight() << endl;
grabber.setup(ofGetWindowWidth(), ofGetWindowHeight(), OF_PIXELS_BGRA);
}
//--------------------------------------------------------------
void ofApp::update(){
grabber.update();
}
//--------------------------------------------------------------
void ofApp::draw(){
grabber.draw(0, 0);
}
Without Retina:
With Retina: