Author Topic: Equations?  (Read 3785 times)

Offline Seán McT

  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
on: December 18, 2009, 08:54:41 AM
Not too sure if this is the right part of the board to post this but, Does anybody know what the Equations are that are added to the targets in the head-tracking program? I am building system at the moment and am thinking of using the Euclidean Distance Metric on the Z axis along with Motion Parallax on the X and Y, Is this a correct approach? Thanks in advance,



Offline shakespeare1212

  • *
  • Posts: 97
  • Karma: +0/-0
  • The soul of Dr. Nuclear
    • View Profile
    • Whalebone IR and Software
Reply #1 on: December 18, 2009, 09:11:36 PM
I don't know but I want you on my Scholastic Olypiad team.   :D Could you post the equations that you mentioned  to the board, and maybe go into a little more detail about how you plan to use them?

James Mclain
Owner and Creator of
Whalebone IR and Software

http://whaleboneir.com

or view and buy our products on ebay:

http://ebay.com   Search for IR pen or products by shakespeare1212.


Offline Seán McT

  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Reply #2 on: December 27, 2009, 06:04:08 AM


This equation for the Euclidean distance metric

For X and Y, say the system had two objects on screen (A+B), If A was closest to the screen and B was further, then relative to the users position from the screen the speed of move moment of the objects would the would be inversely proportional from the distance to the user. Of B was twice as far as A it would move at half the speed. This is the formula for motion parallax.

I plan to input the values using OSCulator, sending the data stream through port 9999 and into and open source software called PD extended. IN this software there is a section called GEM, In gem I will simply put the data stream through the equations above and feed these new values into a rotate camera object that comes with the software. However I am unsure if the equations work or are necessary!