summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gaunt01/bin/data/GUI_instructions.pngbin102846 -> 112478 bytes
-rw-r--r--gaunt01/src/testApp.cpp9
2 files changed, 7 insertions, 2 deletions
diff --git a/gaunt01/bin/data/GUI_instructions.png b/gaunt01/bin/data/GUI_instructions.png
index 3ea1a4d..2d2f3dd 100644
--- a/gaunt01/bin/data/GUI_instructions.png
+++ b/gaunt01/bin/data/GUI_instructions.png
Binary files differ
diff --git a/gaunt01/src/testApp.cpp b/gaunt01/src/testApp.cpp
index 8e3487a..8fe42cc 100644
--- a/gaunt01/src/testApp.cpp
+++ b/gaunt01/src/testApp.cpp
@@ -971,8 +971,8 @@ void testApp::draw(){
if (drawStats||mode==CALIBRATE) {
ofSetHexColor(0xffffff);
char reportStr[1024];
- sprintf(reportStr, "threshold %i\nfps: %3.1f",threshold,ofGetFrameRate()); //\nnum blobs found %i, fps: %f", threshold, contourFinder.nBlobs, ofGetFrameRate());
- ofDrawBitmapString(reportStr, 10, windowHeight-30);
+ sprintf(reportStr, "threshold %i\nfps: %3.1f\n%s",threshold,ofGetFrameRate(),removeShadows?"Removing shadows":"NOT removing shadows"); //\nnum blobs found %i, fps: %f", threshold, contourFinder.nBlobs, ofGetFrameRate());
+ ofDrawBitmapString(reportStr, 10, windowHeight-35);
/*
char numStr[16];
for(int i=0;i<blobsManager.blobs.size();i++){
@@ -1134,6 +1134,11 @@ void testApp::keyPressed(int key){
drawingborder=true;
}
else drawingborder=false;
+ break;
+ case ' ':
+ ofSaveFrame();
+ printf("[%8.2f] saved an image\n",ofGetElapsedTimef());
+ break;
/*
case '>':
gameState=(gameState+1)%4;