I've managed to understand how to project 3d point to 2d screen.
Now, I would like to ask some guidelines on how to integrate phone rotation according to accelerometar data to change marker's screen coordinate.
I've managed to understand how to project 3d point to 2d screen.
Now, I would like to ask some guidelines on how to integrate phone rotation according to accelerometar data to change marker's screen coordinate.
You need the gyro data, not the accelerometer data.
The gyro mouse might work for your application, see between 37:00-38:25 in the Google Tech Talk.
If you need more than the gyro mouse then I highly recommend Direction Cosine Matrix IMU: Theory, it is basically a tutorial on how to implement orientation tracking.
Similar questions:
track small movements of iphone with no GPS
What is the real world accuracy of phone accelerometers when used for positioning?
how to calculate phone's movement in the vertical direction from rest?
iOS: Movement Precision in 3D Space
How to use Accelerometer to measure distance for Android Application Development
How can I find distance traveled with a gyroscope and accelerometer?