Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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 / CMakelists.txt
Created March 29, 2016 07:54
ContextSharingTestApp
# ContextSharingTestApp
cmake_minimum_required( VERSION 2.8 FATAL_ERROR )
set( CMAKE_VERBOSE_MAKEFILE on )
get_filename_component( CINDER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../.." ABSOLUTE )
include( ${CINDER_DIR}/linux/cmake/Cinder.cmake )
project( ContextSharingTest )
get_filename_component( SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../src" ABSOLUTE )
@gaborpapp
gaborpapp / TwoWinParams.cpp
Created May 8, 2016 16:56
TwoWinParams.cpp
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/params/Params.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class TwoWinParams : public App
In file included from cinder_linux/blocks/Cinder-SdfText/src/cinder/gl/SdfText.cpp:59:
In file included from cinder_linux/include/boost/algorithm/string.hpp:19:
In file included from cinder_linux/include/boost/algorithm/string/trim.hpp:23:
In file included from cinder_linux/include/boost/algorithm/string/classification.hpp:18:
cinder_linux/include/boost/algorithm/string/detail/classification.hpp:45:73: error: implicit
instantiation of undefined template 'std::__1::ctype<char32_t>'
return std::use_facet< std::ctype<CharT> >(m_Locale).is( m_Type, Ch );
^
cinder_linux/include/boost/algorithm/string/detail/trim.hpp:53:27: note: in instantiation of
function template specialization 'boost::algorithm::detail::is_classifiedF::operator()<char32_t>' requested here
@gaborpapp
gaborpapp / AccentTestApp.cpp
Last active September 19, 2016 05:29
Cinder linux accent test
#include "cinder/Font.h"
#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class AccentTestApp : public App
@gaborpapp
gaborpapp / chrome console.log
Last active December 4, 2016 13:17
lightness build errors
bundle.js?v=0:1 ChristmasXP💥❄️
🎅Oh Oh Oh!🎄
2.bundle.js:1 travel to : Experiments
vendors.js:150 THREE.WebGLRenderer 82
vendors.js:74 THREE.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader 'uvs' not read by fragment shader
rf @ vendors.js:74
2vendors.js:58 THREE.WebGLShader: Shader couldn't compile.se @ vendors.js:58
vendors.js:74 THREE.WebGLProgram: shader error: 0 gl.VALIDATE_STATUS false gl.getProgramInfoLog rf @ vendors.js:74
vendors.js:137 WebGL: INVALID_OPERATION: useProgram: program not validt @ vendors.js:137
@gaborpapp
gaborpapp / cl-norgb.log
Created January 23, 2017 07:48
libfreenect2 logfiles for issue #783
[Info] [OpenCLDepthPacketProcessorImpl] devices:
[Info] [OpenCLDepthPacketProcessorImpl] 0: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (CPU)[Intel]
[Info] [OpenCLDepthPacketProcessorImpl] 1: Iris Pro (GPU)[Intel]
[Info] [OpenCLDepthPacketProcessorImpl] 2: GeForce GT 750M (GPU)[NVIDIA]
[Info] [OpenCLDepthPacketProcessorImpl] selected device: GeForce GT 750M (GPU)[NVIDIA]
[Info] [OpenCLDepthPacketProcessorImpl] building OpenCL program...
[Info] [OpenCLDepthPacketProcessorImpl] OpenCL program built successfully
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @20:17 with serial ...