소스 검색

Merge branch 'master' of https://git.tk.informatik.tu-darmstadt.de/etri-smartspaces

jost_vincent.schultz 10 년 전
부모
커밋
5b9775f773
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      bbiwarg/Graphics/Output.cs

+ 6 - 2
bbiwarg/Graphics/Output.cs

@@ -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);