This file contains 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 "ofMain.h" | |
#include "ofApp.h" | |
//======================================================================== | |
int main(){ | |
ofGLESWindowSettings settings; | |
settings.setGLESVersion(2); | |
ofCreateWindow(settings); | |
ofRunApp(new ofApp); |
This file contains 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
- channel from ofLog | |
- padding from ofLog | |
- nanosThen from ofFpsCounter | |
- secsThen from ofFpsCounter | |
- _mutexBlocks from ofThread | |
- _threadRunning from ofThread | |
- threadBeingWaitedFor from ofThread | |
- prevValue from ofParameter::Value | |
- document from ofXml | |
- element from ofXml |
This file contains 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
- line to ofBuffer::RLine | |
- _current to ofBuffer::RLine | |
- _rbegin to ofBuffer::RLine | |
- _rend to ofBuffer::RLine | |
- _rbegin to ofBuffer::RLines | |
- _rend to ofBuffer::RLines | |
- token to ofEventListener | |
- listeners to ofEventListeners | |
- seconds to ofTime | |
- nanoseconds to ofTime |
This file contains 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
- ofBuffer(const string &text) from ofBuffer | |
- void setReadOnly(bool readable=true) from ofFile | |
- void setReadOnly(bool readable=true) from ofDirectory | |
- ~ofThread() from ofThread | |
- Poco::Thread * getCurrentPocoThread() from ofThread | |
- Poco::Thread & getPocoThread() from ofThread | |
- const Poco::Thread & getPocoThread() from ofThread | |
- bool isMainThread() from ofThread | |
- ostream & operator<<(size_t n) from ofColor_ | |
- istream & operator>>(size_t n) from ofColor_ |
This file contains 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
- RLine(vector< char >::reverse_iterator _begin, vector< char >::reverse_iterator _end) to ofBuffer::RLine | |
- const string & operator*() to ofBuffer::RLine | |
- const string * operator->() to ofBuffer::RLine | |
- const string & asString() to ofBuffer::RLine | |
- ofBuffer::RLine & operator++() to ofBuffer::RLine | |
- ofBuffer::RLine operator++(int ) to ofBuffer::RLine | |
- bool operator!=(const ofBuffer::RLine &rhs) to ofBuffer::RLine | |
- bool operator==(const ofBuffer::RLine &rhs) to ofBuffer::RLine | |
- bool empty() to ofBuffer::RLine | |
- ofBuffer::RLine rbegin() to ofBuffer::Lines |
This file contains 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
matrix: | |
#VisualStudio 2017 64 bit Building | |
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | |
platform: x64 | |
TARGET: vs | |
VS_VER: 15 | |
VS_NAME: 2017 | |
ARCH: 64 | |
#VisualStudio 2017 32 bit Building | |
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 |
This file contains 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 "ofMain.h" | |
#include "ofApp.h" | |
//======================================================================== | |
int main(){ | |
ofGLFWWindowSettings settings; | |
settings.setGLVersion(3,3); | |
ofCreateWindow(settings); | |
ofRunApp(new ofApp); | |
} |
This file contains 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
float m = 0; | |
float Q = 1.; | |
float a = 1.12; | |
vFragColor = asinh(a * Q * (color - m)) / Q; |
This file contains 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
int main(){ | |
ofGLFWWindowSettings settings; | |
settings.decorated = false; | |
ofCreateWindow(settings); | |
ofRunApp(new ofApp); | |
} |
This file contains 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
listeners.push_back(m_bExportFrames.newListener([this](bool & record){ | |
if(record){ | |
auto path = ofSystemLoadDialog("Record to images:", true); | |
if(path.bSuccess){ | |
auto folderPath = path.getPath(); | |
ofxTextureRecorder::Settings settings(fbo.getTexture()); | |
settings.imageFormat = OF_IMAGE_FORMAT_JPEG; | |
settings.folderPath = folderPath; | |
recorder.setup(settings); | |
}else{ |
NewerOlder