The function drawPointCloud () does not exist in Processing!

88 views
Skip to first unread message

creativen

unread,
Oct 17, 2012, 3:34:16 AM10/17/12
to simple-ope...@googlegroups.com
I am using Processing for my Kinect for Windows
I am using Simple OpenNI 0.27 library
When I use this code:

import processing.opengl.*;
import SimpleOpenNI.*;
import kinectOrbit.*;

KinectOrbit myOrbit;
SimpleOpenNI kinect;

void setup()
{
  size(800,600,OPENGL);
  myOrbit = new KinectOrbit (this,0);
  kinect = new SimpleOpenNI(this);
  
  //enable depthMap generation
  kinect.enableDepth();
}

void draw()
{
  kinect.update();
  background (0);
  
  myOrbit.pushOrbit(this);
  
  drawPointCloud();
 
  //draw the kinect cam and frustum
  kinect.drawCamFrustum();
  
  myOrbit.popOrbit(this);
}

It can not be compiled, then it appears: The function drawPointCloud () does not exist
I had been searching in google but no one ever face this, can anyone help me?

Thank you!

弼清

unread,
Sep 19, 2015, 8:54:21 AM9/19/15
to simple-openni-discuss
I got same problem (SimpleOpenNI 0.27, macos).
Did you solve it out? I would appreciate it if you let me know your solution.

在 2012年10月17日星期三 UTC+8下午3:34:16,creativen写道:
Reply all
Reply to author
Forward
0 new messages