Hello,
Has anyone tried to use ofVideoGrabber fullscreen on retina display phones?
I tried stetting the draw to
grabber.draw(0,0, ofGetWidth(), ofGetHeight());
But that only seems to stretch the ratio.
My full code…
void ofApp::setup(){
ofSetOrientation(OF_ORIENTATION_DEFAULT);//Set iOS Orientation
ofSetFrameRate(30);
grabber.setVerbose(true);
grabber.initGrabber(360, 480, OF_PIXELS_RGB);
}
//--------------------------------------------------------------
void ofApp::update(){
ofBackground(255,80,255);
grabber.update();
}
//--------------------------------------------------------------
void ofApp::draw(){
grabber.draw(0,0, ofGetWidth(), ofGetHeight());
}
Thank you so much.