Late on the Kinect train, fresh in coding.
I am using Thomas Sanchez Lengelings KinectPV2 library which can put the complete pointcloud of each frame in a float buffer. It is called with FloatBuffer = kinect.getPointCloudDepthPos().
Now i would like to thin out the dataset before writing it to a .obj file but i know nothing about the data structure in the buffer and how to start here.
I am able to do what i want to achieve (show only every nth point) with a pgl.vertexAttribPointer just for the display output - can i maybe use this as new source data for a buffer?
But i would need to know a little more about the data structure in a .obj file, or does the saveOBJFrame() function in the library do that for me? There is not much in depth documentation so i’m pulling straws here, maybe you can help me see the light …