@Maedd wrote:
Hey,
I am stucked with the following problem:
I would like to fade a mesh in and out via alphaBlending or the overall brightness (?) of the mesh. Is there a way to do that without iterating through the whole mesh? Basically I would like to have the code below working for meshes. Any ideas/suggestions?void ofApp::draw(){ easyCam.begin(); ofPushMatrix(); ofTranslate(-ofGetWidth()/2, -ofGetHeight()/2); ofSetColor(255,255,255, alpha1); // so this doesnt work for meshes I guess mesh.draw(); ofPopMatrix(); easyCam.end(); }
Posts: 1
Participants: 1