summaryrefslogtreecommitdiff
path: root/src/testApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/testApp.cpp')
-rw-r--r--src/testApp.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/testApp.cpp b/src/testApp.cpp
index 2f822f4..e5685c2 100644
--- a/src/testApp.cpp
+++ b/src/testApp.cpp
@@ -39,8 +39,8 @@ void testApp::setup(){
transTime=0;
transition=false;
- whichClip=0; //0 is black
- switchClip=0; //0 is black
+ whichClip=1; //0 is black
+ switchClip=1; //0 is black
texture.loadMovie(clips[whichClip]);
texture.setLoopState(OF_LOOP_NORMAL);
texture.play();
@@ -237,15 +237,15 @@ void testApp::draw(){
case CALIBRATE:
glDisable(GL_LIGHTING);
//calibrator_label.getTextureReference().bind();
- drawBoard(0,225,0);
- bindTexture(calibrator_label); //texture); //
- drawCylinder(26.5,200,0,225,0);
+ drawBoard(0,225,0);
+ bindTexture(calibrator_label); //
+ drawCylinder(26.5,200,0,225,0);
ofPushMatrix();
ofRotate(90,0,1,0);
//calibrator_model.draw();
//calibrator_label.draw(0,0);
ofPopMatrix();
- unbindTexture(calibrator_label); //texture); //
+ unbindTexture(calibrator_label); //
//calibrator_label.getTextureReference().unbind();
break;
case DISPLAY:
@@ -254,6 +254,7 @@ void testApp::draw(){
glBlendFunc(GL_CONSTANT_ALPHA,GL_ZERO);
glBlendColor(1.0f,1.0f,1.0f, mixAmount);
}
+ drawBoard(0,225,0);
bindTexture(texture); //
ofPushMatrix();
ofRotate(90,0,1,0);