From 16cc03c435982383627dd01341656d0371ca1f2b Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 4 Jan 2012 23:03:45 +0000 Subject: tidied up --- src/testApp.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/testApp.cpp') diff --git a/src/testApp.cpp b/src/testApp.cpp index 5bd6f0a..42f7055 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -10,19 +10,14 @@ void testApp::setup(){ //some model / light stuff glEnable (GL_DEPTH_TEST); glShadeModel (GL_SMOOTH); - - //initialize lighting - //glEnable (GL_LIGHTING); glColorMaterial (GL_FRONT_AND_BACK, GL_DIFFUSE); glEnable (GL_COLOR_MATERIAL); - //load the bottle model - the 3ds and the texture file need to be in the same folder bottle.loadModel("bottle.3DS", 1); bottle.setRotation(0, 180, 1, 0, 0); bottle.setPosition(0, 112, 0); - //ofDisableArbTex(); texture.loadMovie("gradblend01.mov"); @@ -33,11 +28,8 @@ void testApp::setup(){ views=new viewpoint[1]; //todo: read this from xml - views[0].setup(GL_LIGHT0,ofGetWidth(),ofGetHeight(),0,0); + views[0].setup(ofGetWidth(),ofGetHeight(),0,0); activeView=0; - - - } //-------------------------------------------------------------- -- cgit v1.2.3