Example #1
0
//--------------------------------------------------------------
void testApp::draw(){

	ofBackground(100,100,105);

    renderer->draw();

    //why we have to do this, i have no idea!
    //if we don't do it, font drawing doesn't work!
    drohneOneImage.draw(0,0,-100,-100);

    ofSetColor(255,255,255);

    drawPreview();
    drawFinal();
}
Example #2
0
//--------------------------------------------------------------
void testApp::draw()
{
//	ofBackground( 20, 20, 20 );
	ofBackground( 40, 40, 40 );
	
	glPushMatrix();
	glTranslatef( imageRect.x, imageRect.y, 0 );
	
	glPushMatrix();
	glScalef( screenScale, screenScale, 0 );

	drawSourceImage();

	glPushMatrix();
//	glTranslatef( 0, imageColor.height + 30, 0 );
	glTranslatef( imageColor.width + 30, 0, 0 );

	drawHSV();
	
	glPushMatrix();
	glTranslatef( 0, hsvProcessedImg.height + 30, 0 );
	
	drawMotionImage();
	
	glPushMatrix();
	glTranslatef( 0, motionImg.height + 30, 0 );
	
	drawBlobs();

	glPushMatrix();
	glTranslatef( 0, blobImg.height + 30, 0 );
	
	drawFinal();
	
	glPopMatrix();
	glPopMatrix();
	glPopMatrix();
	glPopMatrix();
	glPopMatrix();
	
	drawTesseractText();
	
	glPopMatrix();
	
	gui.draw();
	
	screenGrab.save();
}