// selfSetup is called when the visual system is first instantiated // This will be called during a "loading" screen, so any big images or // geometry should be loaded here void CloudsVisualSystemFlocking::selfSetup() { debugGridSize = 4096; ps = new ofxBoidSystem(); pointSize = 5.0; redColor = 1.0; greenColor = 0.0; blueColor = 0.0; bUpdateVel = true; bUpdateAcc = true; bUpdatePos = true; resolution = 72; rows = resolution; cols = resolution; ofDisableArbTex(); ofLoadImage(glow, getVisualSystemDataPath()+"images/glow.png"); spriteSize = glow.getWidth(); cout << spriteSize << endl; ofEnableArbTex(); loadShaders(); setupFbos(); setupVbo(); }
void HodginDidItApp::setup() { setupIO(); setupCiCamera(); setupGraphics(); setupShaders(); setupFbos(); }