Exemple #1
0
/*
 * Sets up the Fenster manager and runs the wall class.
 * Fenster allows us to split the app up into separate 
 * windows.
 */
int main( ){
	ofSetupOpenGL(ofxFensterManager::get(), 1024, 768, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunFensterApp(new wall());
}
Exemple #2
0
//========================================================================
int main( ){
//	ofSetupOpenGL(ofxFensterManager::get(), 1280, 800, OF_FULLSCREEN);			
	ofSetupOpenGL(ofxFensterManager::get(), 1280, 800, OF_WINDOW);			
    
	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunFensterApp(new testApp());
    
}
//========================================================================
int main( ) {

    //ofAppGlutWindow window;
    //window.setGlutDisplayString("rgba double samples>=6 depth");
    //ofSetupOpenGL(&window, 1024,768, OF_WINDOW);
    //ofRunApp(new testApp);

    ofSetupOpenGL(ofxFensterManager::get(), 1280, 800, OF_WINDOW);

    ofRunFensterApp(new testApp());
}
void ofRunFensterApp(ofBaseApp* app){
	ofxFensterToOfBaseApp* appWrapper = new ofxFensterToOfBaseApp(app);
	ofRunFensterApp(appWrapper);
}