Phil 1.13.12

8:30 – 4:30 FP

  • Interview
  • Spent some time with Tom talking about sending data between two data dictionaries
  • Building a Finger on my way to building a RightHand
  • Hand graphics are done, now working on getting the fingertip positions in word coordinates.
  • Think I found it here: http://lwjgl.org/forum/index.php?action=printpage;topic=1866.0 My version of the code follows:
	protected float[] getGlMatrix4x4(int matrixId){
		float minv[]=new float[16];
		ByteBuffer temp = ByteBuffer.allocateDirect(64);
		temp.order(ByteOrder.nativeOrder());
		GL11.glGetFloat(matrixId, (FloatBuffer)temp.asFloatBuffer());
		temp.asFloatBuffer().get(minv);
		return minv;
	}
  • Need to test this on Monday
  • Cute thing for the day: