← Back

ofxVideoDelay

github.com/2bbb/ofxVideoDelay · @2bbb
OF 0.12 Video/Camera Rendering

simple texture storing class

5 0 Last commit 2y ago Created 2y ago

README

ofxVideoDelay



How to use




include "ofxVideoDelay.h"

include "ofMain.h"

class ofApp : public ofBaseApp { ofxVideoDelay videoDelay; void setup() { videoDelay.setup(2.0f, 1.5f); // buffering texture for 2.0sec, using default texture of 1.5sec delay ... } void update() { videoDelay.update(); videoDelay.addTexture(tex/ ofTexture /); ... } void draw() { const auto &fbo = videoDelay.getFbo(); fbo.draw(0, 0, ofGetWidth(), ofGetHeight()); ... } }

Get this addon

HTTPS
SSH