diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-01-04 23:03:45 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-01-04 23:03:45 +0000 |
| commit | 16cc03c435982383627dd01341656d0371ca1f2b (patch) | |
| tree | b4faad19f0c6b28da72a2050e49c22bb2322a3ce /src/testApp.cpp | |
| parent | 64a4a42ee6826584c38c09a2b5976356e4488993 (diff) | |
tidied up
Diffstat (limited to 'src/testApp.cpp')
| -rw-r--r-- | src/testApp.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
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; - - - } //-------------------------------------------------------------- |
