I am developing depth processing (Xbox Kinect, Asus Xtion, etc.) using OpenNI.
I need a very simple and quick way to draw a Windows shape when new depth data is available from the sensor (30 or 60 frames per second depending on resolution).
Currently, I am invalidating a double-buffered panel from a separate stream when the data becomes available and then sets the pixels of the bitmap in the panel draw method, which gives a predictably terrible 5 frames per second.
System.Drawing.Graphics does not seem to have a quick way to set individual pixels, unless someone else can specify.
I just need to set the pixel colors, so if possible, avoid using third-party high-performance rendering APIs, and ideally use something as native as possible.
Does anyone have any suggestions?
Toby wilson
source share