new project
Posted: Thu Jan 28, 2010 9:44 am
Hello friends!!
I try to do a new project that is calculate the position in "my world" of objects (my world is is like a box). I put 2 cameras optitrack in the coner left and right, and both have a 45 degrees. And the object has a trackclip in a cap.
To do this I use the OptiTrack_sample_VC, and I try to change the values of x,y,z that the cameras return, because I want that the point (0,0,0) will be the center of "my world", and if I go to forward z increase and decrease if I go to behind, for example. I use, for do this, matrix rotation and translation, but the values of the results aren�t correct. First multiply the values of x,y and z by the matrix of rotation and then I add the translation.
can someone help?
Any idea how to do this differently?
thanks a lot!
I try to do a new project that is calculate the position in "my world" of objects (my world is is like a box). I put 2 cameras optitrack in the coner left and right, and both have a 45 degrees. And the object has a trackclip in a cap.
To do this I use the OptiTrack_sample_VC, and I try to change the values of x,y,z that the cameras return, because I want that the point (0,0,0) will be the center of "my world", and if I go to forward z increase and decrease if I go to behind, for example. I use, for do this, matrix rotation and translation, but the values of the results aren�t correct. First multiply the values of x,y and z by the matrix of rotation and then I add the translation.
can someone help?
Any idea how to do this differently?
thanks a lot!