Apply glitch effects with openFrameworks
Switch branches/tags
Nothing to show
Clone or download
maxillacult
maxillacult test push
Latest commit 08afc13 Jun 24, 2013
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Shaders some fix Feb 21, 2013
example some fix Feb 21, 2013
src test push Jun 24, 2013
README.md test commit Feb 21, 2013

README.md

ofxPostGlitch

This add-on applies a glitch effect to the FBO using openFrameworks.
We recommend using openFrameworks v0073 or later.

Usage :

You need at least two classes 'ofFbo' and 'ofxPostGlitch' to use it.

ofFbo myFbo;
ofxPostGlitch myGlitch;

In the Setup(), you should give FBO's pointer to ofxPostGlitch instance. Then allocate the FBO.

void testApp::setup(){
	myFbo.allocate(640,480);
	myGlitch.setup(&myFbo);
}

Choose wether to apply effect or not with the setFX function. After that use generateFX function and apply all enabled effects.

void testApp::update(){
	myGlitch.setFx(OFXPOSTGLITCH_CONVERGENCE,true);
}

void testApp::draw(){
	myGlitch.generateFx();
	myFbo.draw(0,0);
}

More details can be found in the example project file.

Glitch FXs

  • Convergence
  • Glow
  • Shaker
  • Cutslider
  • Twist
  • Outline
  • Noise
  • Slitscan
  • Swell
  • Invert

Color remap FXs

  • Highcontrast
  • Blueraise
  • Redraise
  • Greenraise
  • Blueinvert
  • Redinvert
  • Greeninvert

Developer info

maxilla inc. http://maxilla.jp

maxilla cult http://cult.maxilla.jp