Skip to content

Instantly share code, notes, and snippets.

@jvcleave
Created September 10, 2013 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jvcleave/6512123 to your computer and use it in GitHub Desktop.
Save jvcleave/6512123 to your computer and use it in GitHub Desktop.
asus
void testApp::setup(){
context.setupUsingXMLFile(ofToDataPath("openni/config/asus.xml", true));
//contents of bin/data/openni/config/asus.xml
<OpenNI>
<Licenses>
<License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdY4="/>
</Licenses>
<Log writeToConsole="true" writeToFile="true">
<!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
<LogLevel value="3"/>
<Masks>
<Mask name="ALL" on="true"/>
</Masks>
<Dumps>
</Dumps>
</Log>
<ProductionNodes startGenerating="false">
<!-- ofxImageGenerator -->
<!--
<Node type="Image" name="Image1">
<Configuration>
<MapOutputMode xRes="640" yRes="480" FPS="30"/>
<Mirror on="true"/>
</Configuration>
</Node>
-->
<!-- ofxDepthGenerator -->
<Node type="Depth" name="Depth1" startGenerating="true">
<Configuration>
<MapOutputMode xRes="640" yRes="480" FPS="30"/>
<Mirror on="true"/>
</Configuration>
</Node>
<!-- ofxUserGenerator -->
<Node type="User" />
<!-- ofxGestureGenerator -->
<Node type="Gesture" />
<Node type="Hands" />
</ProductionNodes>
</OpenNI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment