Skip to content

Instantly share code, notes, and snippets.

@gaborpapp
gaborpapp / ThreadedImageApp.cpp
Last active January 9, 2016 12:59
RPI2 threaded image test app
#include <string>
#include "cinder/Log.h"
#include "cinder/Utilities.h"
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
@gaborpapp
gaborpapp / ThreadTestApp.cpp
Created January 7, 2016 08:49
Cinder thread test for Raspbian
#include "cinder/Utilities.h"
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
class ThreadTestApp : public App
{
@gaborpapp
gaborpapp / AravisTestApp.cpp
Last active September 7, 2015 09:07
Aravis stream freeze test
#include <cstdlib>
#include <thread>
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "arv.h"
using namespace ci;
@gaborpapp
gaborpapp / TfTexApp.cpp
Last active August 29, 2015 14:27
Transform feedback with unsigned int texture sampler
#include "cinder/Log.h"
#include "cinder/Rand.h"
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
class TfTexApp : public App
@gaborpapp
gaborpapp / DisappearingParamsApp.cpp
Created March 29, 2015 12:58
DisappearingParamsApp.cpp
/*
- open the Vector or Quaternion group in Params2
- click on Params1
- the contents of Params1 disappear
*/
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/params/Params.h"
@gaborpapp
gaborpapp / DialogContextApp.cpp
Created March 13, 2015 22:46
Cinder dialog gl::context test
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/Context.h"
#include "cinder/params/Params.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class DialogContextApp : public App
@gaborpapp
gaborpapp / ps4eye.log
Created March 11, 2015 22:26
ps4eye log
Initializing PS4 camera...
1 - 0000 - 40:a7:0000:0000:0040
2 - 0048 - 40:a5:0000:0000:0040
3 - 0090 - c0:a6:0000:0000:0040
diff @ 10 : ff / 97
4 - 00d8 - 40:a5:0000:0000:0040
5 - 0120 - c0:a6:0000:0000:0040
diff @ 10 : ff / 13
6 - 0168 - 40:a5:0000:0000:0040
7 - 01b0 - c0:a6:0000:0000:0040
@gaborpapp
gaborpapp / MultiParamsApp.cpp
Last active August 29, 2015 14:10
Multi-window params issue in glNext
#include "cinder/ImageIo.h"
#include "cinder/app/AppNative.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/Texture.h"
#include "cinder/params/Params.h"
using namespace ci;
using namespace ci::app;
using namespace std;
@gaborpapp
gaborpapp / AwesomiumMultiWindowApp.cpp
Created October 19, 2014 17:44
AwesomiumMultiWindow
#include "cinder/app/AppBasic.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Texture.h"
#include "CinderAwesomium.h"
using namespace ci;
using namespace ci::app;
using namespace std;
@gaborpapp
gaborpapp / MipmapFboTestApp.cpp
Created September 3, 2014 10:19
Mipmapped Fbo test
#include "cinder/ImageIo.h"
#include "cinder/app/AppBasic.h"
#include "cinder/gl/Fbo.h"
#include "cinder/gl/Texture.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
class MipmapFboTestApp : public AppBasic