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
;; example of using an ffgl plugin on a pixel primitive | |
(clear) | |
(scale #(20 15 1)) | |
; pixel primitive with 2 textures and an active renderer | |
(define p (build-pixels 512 512 #t 2)) | |
(define plugin (ffgl-load "cibloom" 512 512)) |
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
(clear) | |
; pixels primitive with 2 textures and active renderer | |
(define p (build-pixels 1024 1024 #t 2)) | |
(with-primitive p ; hide it | |
(scale 0)) | |
; extra camera | |
(define cam1 (with-pixels-renderer p | |
(build-camera))) |
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
diff --git a/Source/OpenNI/Linux/XnUSBLinux.cpp b/Source/OpenNI/Linux/XnUSBLinux.cpp | |
index 7f663c0..82a3c80 100644 | |
--- a/Source/OpenNI/Linux/XnUSBLinux.cpp | |
+++ b/Source/OpenNI/Linux/XnUSBLinux.cpp | |
@@ -350,10 +350,52 @@ XN_C_API XnStatus xnUSBOpenDeviceImpl(libusb_device* pDevice, XN_USB_DEV_HANDLE* | |
return (XN_STATUS_USB_SET_CONFIG_FAILED); | |
} | |
*/ |
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 "cinder/app/AppBasic.h" | |
#include "cinder/Camera.h" | |
#include "cinder/Cinder.h" | |
#include "cinder/CinderMath.h" | |
#include "cinder/gl/gl.h" | |
#include "cinder/gl/GlslProg.h" | |
#include "cinder/gl/Vbo.h" | |
#include "cinder/TriMesh.h" | |
using namespace ci; |
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 "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 |
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 "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; |
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 "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; |
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
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 |
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 "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 |
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
/* | |
- 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" |
OlderNewer