This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| gl_FragColor = vec4(1.0, 0.0, 0.4, 1.0); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "testApp.h" | |
| void testApp::setup(){ | |
| ofBackground(33); | |
| ofSetVerticalSync(true); | |
| take_screenshot = false ; | |
| // create quad width size "s", centered | |
| float s = 1; | |
| float hs = s * 0.5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "testApp.h" | |
| void testApp::setup(){ | |
| ofBackground(33); | |
| ofSetVerticalSync(true); | |
| take_screenshot = false ; | |
| // create quad width size "s", centered | |
| float s = 1; | |
| float hs = s * 0.5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uniform sampler2D texture; | |
| uniform int mode; | |
| varying vec2 tex_v; | |
| void main() { | |
| if(mode == 1) { | |
| gl_FragColor = vec4(1.0, 0.0, 0.4, 1.0); | |
| } | |
| else if(mode == 2) { | |
| gl_FragColor = vec4(1.0, 0.6, 0.0, 1.0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uniform float exposure; | |
| uniform float decay; | |
| uniform float density; | |
| uniform float weight; | |
| uniform vec2 lightPositionOnScreen; | |
| uniform sampler2D firstPass; | |
| const int NUM_SAMPLES = 100 ; | |
| void main() { | |
| vec2 deltaTextCoord = vec2( gl_TexCoord[0].st - lightPositionOnScreen.xy ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 2a: now that we've got the scene in a texture we're going to apply an | |
| // effect on it. To apply an effect we need to draw it again now using the | |
| // mode = 3. | |
| // | |
| // note that we use a trick here to draw the rendered scene onto a plane | |
| // with a width and height of 2. (-1 to 1). which are the normalized | |
| // device coordinates. Basically what we do here is drawing the captured | |
| // scene (captured with fbo) onto a plane which is almost the same size | |
| // of the window. I say almost because we use 1.9 here (instead of 2). | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dewars = null; | |
| var Site = new Class({ | |
| initialize: function() { | |
| this.initListUpdater(); | |
| } | |
| ,initListUpdater:function() { | |
| var list = $('last'); | |
| var li = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "ofMain.h" | |
| #include "Roxlu.h" | |
| struct point { | |
| int i; | |
| int j; | |
| }; | |
| class testApp : public ofBaseApp{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ahole | |
| anus | |
| ash0le | |
| ash0les | |
| asholes | |
| ass | |
| Ass Monkey | |
| Assface | |
| assh0le | |
| assh0lez |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "TwitterSearchTermQueue.h" | |
| namespace roxlu { | |
| TwitterSearchTermQueue::TwitterSearchTermQueue() | |
| :filepath() | |
| { | |
| } | |
| TwitterSearchTermQueue::~TwitterSearchTermQueue() { |