diff options
Diffstat (limited to 'src/testApp.cpp')
| -rw-r--r-- | src/testApp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testApp.cpp b/src/testApp.cpp index e9ae5ee..5bd6f0a 100644 --- a/src/testApp.cpp +++ b/src/testApp.cpp @@ -4,16 +4,18 @@ void testApp::setup(){ ofBackground(0,0,0); + ///ofSetVerticalSync(true); //some model / light stuff glEnable (GL_DEPTH_TEST); glShadeModel (GL_SMOOTH); - // initialize lighting + //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); |
