|
@@ -31,6 +31,9 @@ namespace bbiwarg.Graphics
|
|
|
GL.ClearColor(Color.Black);
|
|
|
|
|
|
initBuffers();
|
|
|
+
|
|
|
+ GL.Enable(EnableCap.Blend);
|
|
|
+ GL.BlendFunc(BlendingFactorSrc.SrcAlpha, BlendingFactorDest.OneMinusSrcAlpha);
|
|
|
}
|
|
|
|
|
|
protected override void OnRenderFrame(FrameEventArgs e)
|
|
@@ -73,7 +76,7 @@ namespace bbiwarg.Graphics
|
|
|
pointData = new float[(4 + 3) * (3 + numFingersDetected)];
|
|
|
Color y = Color.Yellow;
|
|
|
Vector palmPosition = videoHandle.getPalmPosition3D(1);
|
|
|
- Vector foreFingerPosition = videoHandle.getForeFingerPosition3D(1);
|
|
|
+ Vector foreFingerPosition = new DenseVector(new float[] { 0, 0, 0 }); //videoHandle.getForeFingerPosition3D(1);
|
|
|
Vector foreArmPosition = videoHandle.getForearmPosition3D(1);
|
|
|
|
|
|
pointData[0] = palmPosition[0];
|