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
| // Kudos to armadilly | |
| fbo.begin(); | |
| { | |
| ///pre-multiply background color of the fbo for correct blending! | |
| ofClear(ofColor(fboBgColor * (fboBgColor.a / 255.) , fboBgColor.a)); | |
| //Set this blending mode for anything you draw INSIDE the fbo | |
| glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA); | |
| //your draw code here! | |
| } |
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
| Texture2D RayStart : PREVIOUS; | |
| Texture2D RayTransmit; | |
| Texture2D MirrorData; | |
| class Ray { | |
| bool valid; | |
| float3 s; | |
| float3 t; | |
| int mirrorIndex; |
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
| The C compiler identification is MSVC 19.0.23506.0 | |
| The CXX compiler identification is MSVC 19.0.23506.0 | |
| Check for working C compiler using: Visual Studio 14 2015 Win64 | |
| Check for working C compiler using: Visual Studio 14 2015 Win64 -- works | |
| Detecting C compiler ABI info | |
| Detecting C compiler ABI info - done | |
| Check for working CXX compiler using: Visual Studio 14 2015 Win64 | |
| Check for working CXX compiler using: Visual Studio 14 2015 Win64 -- works | |
| Detecting CXX compiler ABI info | |
| Detecting CXX compiler ABI info - done |
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 <stdint.h> | |
| namespace ofxSquashBuddies { | |
| struct Packet { | |
| enum { | |
| PacketSize = 4096, | |
| HeaderSize = 9, | |
| MaxPayloadSize = PacketSize - HeaderSize |
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
| #version 150 | |
| uniform sampler2DRect tex0; | |
| in vec2 texCoordVarying; | |
| out vec4 outputColor; | |
| uniform float minimum; | |
| uniform float maximum; |
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 "SoundEffects.h" | |
| //---------- | |
| void SoundEffects::audioOut(ofSoundBuffer & out) { | |
| auto numFrames = out.getNumFrames(); | |
| const auto interval = this->getInterval(); | |
| const auto intervalFrames = 44100 * interval; | |
| for(int i=0; i<numFrames; i++) { | |
| out[i * 2 + 0] = 0.0f; |
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
| #region usings | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.ComponentModel.Composition; | |
| using VVVV.PluginInterfaces.V1; | |
| using VVVV.PluginInterfaces.V2; |
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
| const int output = 13; | |
| const int highDuration = 50; | |
| const int lowDuration = 30; | |
| void setup() { | |
| pinMode(output, OUTPUT); | |
| Serial.begin(9600); | |
| } |
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
| 2>..\..\..\openFrameworks\3d\of3dPrimitives.cpp(149): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\of3dPrimitives.cpp(153): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMesh.cpp(757): warning C4267: 'initializing': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMesh.cpp(1049): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMesh.cpp(1064): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMesh.cpp(1071): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMesh.cpp(1084): warning C4267: 'argument': conversion from 'size_t' to 'ofIndexType', possible loss of data | |
| 2>..\..\..\openFrameworks\3d\ofMes |
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 "MyTestNode.h" | |
| #include "ofxDigitalEmulsion/Item/Board.h" | |
| using namespace ofxDigitalEmulsion; | |
| //---------- | |
| MyTestNode::MyTestNode() { | |
| OFXDIGITALEMULSION_NODE_INIT_LISTENER; | |
| } |