Open kashimAstro opened 6 years ago
can there be a correlation with the fact that now the update method of ofxAndroidApp is able to draw?
in the sense that, if i run this example:
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
}
//--------------------------------------------------------------
void ofApp::update(){
cam.begin();
ofEnableDepthTest();
ofFill();
ofSetColor(ofColor::red);
ofDrawBox(300);
ofNoFill();
ofSetColor(ofColor::black);
ofDrawBox(300);
ofDisableDepthTest();
cam.end();
}
//--------------------------------------------------------------
void ofApp::draw(){
}
i get the rendering on my surface. although actually ofxAndroidApp seems to inherit properties from ofBaseApp
if i run this example on my linux machine with OF v0.10.0 i do not get this result exactly as expected.
I'm testing this with my phone and it works just fine. so not sure what's going on.
Hi @arturoc, sorry for long delay.
maybe it's a specific problem for my device... now I'm on the travel, I check when I return to Italy.
you can close this if you prefer.
Ciao!
when i use a fbo on android without fbo.draw() do i still get the fbo render.
a simple example of code to reproduce the problem:
my device: Huawei p20 or Huawei P20 pro with android version 8.1.0 and openframeworks v0.10.0
Ciao Dario