Monthly Archives: January 2012

Phil 1.31.12

8:30 – 4:00 FP

  • Good math library if I need it later:
  • Cleaning up the collision detection
  • And collisions work with multi-axis roatations. Cool.
  • Starting the OpenGL 4.0 Shading Language Cookbook.
    • Immediate mode has been deprecated! Going to get the GLEW (openGL Extension Wrangler) from sourceforge
    • Wow. No matrix mode either. Getting the GLM library
    • Code download is here:
    • Hmm. I need to understand how the camera is setup in OGL 4.0.

Tom DeVito 1.30.2012

Start: 12:00

#FUTURE: Inventory of what is needed for PCB of each finger module:

  1. 10 pin dip for rheostates
  2. two 8 pin dip for amplifiers
  3. voltage divider circuit for sensors(may or may not make sense to have this on the same board)
  4. Power in and ground for 5 volt power supply
  5. Signal in and shared ground for arduino serial input(I2C BUS)
  6. Audio in from Midi Shields
  7. Audio out to go to larger amplifier
  8. rgeostat needs two pins to have the option of being pulled high or low for addressing purposes
  9. Rheostat also has two voltage dividers,  one for each amplifier
  10. Amplifiers need a resistor on the rheostat signal line, capacitors on the power in pin, decoupling capacitors on the signal in and audio out lines.

I think thats everything for that


  • Fixed a problem with the toString method, it now is printing out the correct information
  • large data seems to be passing properly, Started tailoring the test to work with the data dictionary instead of arbitrary data that I set up.

End: 6:00

Mike 1.30.2012

  • Deployed a new version of Project Assistant with documentation
    • Sent a note to Tangie, she tested and approved the help buttons / documentation
  • Tangie also informed me that she “hoped” we would be testing at a TST site by “the end of February”

Phil 1.30.12

8:30 – 5:30 FP

  • Adding environment methods that will coordinate the interactions of the objects.
  • Cleaning up Arvo’s so that only 3D collisions between solid objects are calculated, with a resulting unit penetration value.
  • Collision detection and response are now working!
  • Adding a few more cubes to collide with. Then work on global to local mapping so that I can have the cubes at arbitrary angles.
    • Added the cubes, now I need to clear and sum the collision forces each time through. Done.
    • After spending the entire afternoon unrotating objects in my head, I got the projections onto the object in it’s coordinate frame working. So bounding boxes work at any arbitrary angle. Whee!

Tom DeVito 1.27.2012

Start: 11:00

  • I realized late last night, that using Visual Micro, the arduino might be able to use libraries files.  This can probably also be done manually with a .make file.
  • I was able to pass a string both directions on first pass
  • It was switching states too fast.
  • Slowed down the process with one second delays to make debugging easier
  • It wasn’t switching back to ready on the end of a recieve.

End: 6:00

Dong Shin 01.27.2012

  • got Tutorial/Help document from Kristi
  • created SVN Repo for the documentation and went it over with Kristi
  • updated PPM and PA for links to the documentation, uploaded to FGMDEV
  • burned a CD for site install

Kristi 01.27.2012 – Visibility

Visibility documentation for Program Assistant sent to Mike and Dong for Rollout.

Dong/Mike assisted me with TortoiseSVN – username/password.

Transferred all documentation documents to server.

Mike and Dong to work on uploading documentation to classified server for customer use.

Phil 1.27.12

8:00 – 10:30 FP

  • Working on collision detection. It just needs to be convex hull. At this point I’m thinking of doing the following:
    • For each polygon
    • calculate the shortest distance to the plane
    • If the square of the distance is less than the collision radius
      • See if the collision point is within the polygon (project the plane onto X, Y or Z, if it crosses an odd number of line segments, it’s outside – for convex polygons we can stop at one crossing)
      • If the distance from the “center” (average of all points) to the collision point on the plane is less than the distance from the “center” to the test point, then the collision is happening outside the hull, and the force can be calculated based on the difference between the collision radius and the surface. Otherwise, it’s within the hull, and the force is based on the collision radius + the distance from the polygon.
  • Well this is convenient – The Game Programming Wiki
  • Looks like we can use Arvo’s algorithm. Going to see how this works. Discovered Arvo here at Gamasutra.
  • Graphics Gems code repository
  • source code for real-time computer graphics and physics, mathematics, geometry, numerical analysis, and image analysis

10:30 – 12:30 Interview

  • Went well. The work would be entirely on site. Ah well.

1:30 – 5:00 – FP

  • Got Arvo’s in. I can clean it up so that the collision test is only for solid shapes, which will allow me to get penetration values out of the collision. There was one tricky bit – I had to get the viewpoint matrix multiplies out of the collision calculations. So now there is a render() pass which draws, and a calculateCollisionPoints() that is called at some other time without any glBegin()/glEnd() blocks, and starting with an Identity matrix. I then pull the result of all the calculations off the matrix stack and save for the collision calculations. This does need to be cleaned up, but it’s not bad.
  • Collisions!

Tom DeVito 1.26.2011

Start: 10:00

  • Fixed some issues where the states were changing before they needed to
  • Fixed a problem with the arduino send method
  • Fixed a problem with the arduino receive method
  • Handshaking seems to be working fine, data is not coming through properly though.

End: 6:00

Got distracted by Server stuff for a while.  I will hold off on migrating data til next week, when I am done with this communication stuff.

Phil 1.26.12

8:30 – 5:00 FP

  • Wire up the force sliders
    • Index finger is done
    • Thumb finger is done
    • Ring  finger is done
    • Middle finger is done
    • Pinky finger is done
  • Added text within the 3D environment, partially to show Dong how it’s done, but also because it could be quite useful. It’s in the DrawableObject base class.
  • Add collision detection
  • Add force output display (Small GL windows, drawing only 2D?, slider?)