|
@@ -34,6 +34,10 @@ namespace bbiwarg.Graphics
|
|
|
GL.Enable(EnableCap.Blend);
|
|
|
GL.BlendEquation(BlendEquationMode.Max);
|
|
|
|
|
|
+ //Depth Test
|
|
|
+ GL.Enable(EnableCap.DepthTest);
|
|
|
+
|
|
|
+
|
|
|
initBuffers();
|
|
|
|
|
|
GL.Enable(EnableCap.Blend);
|
|
@@ -56,9 +60,9 @@ namespace bbiwarg.Graphics
|
|
|
drawDepthImage();
|
|
|
|
|
|
// palm (iisu)
|
|
|
- Vector palmPosition = videoHandle.getPalmPosition3D(1);
|
|
|
+ Vector palmPosition = videoHandle.getPalmPosition3D(1);
|
|
|
Point palmPoint = new Point(palmPosition, Color.Yellow, 0.005f);
|
|
|
- palmPoint.draw();
|
|
|
+ palmPoint.draw();
|
|
|
|
|
|
// foreFinger
|
|
|
Vector foreFingerPosition = videoHandle.getForeFingerPosition3D(1);
|