I have a MPU 6050 chip, from which I get the accelerometer (X, Y, Z) and gyroscope (Pitch, Roll, Yaw) reading. How to rotate a 3D image by using these accelerometer and gyroscope reading in Qt, any sample project or example? Please help
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess the best way would be the OpenGL widget from QT.
You can find good OpenGL tutorials here: NeHe.
An entry point for OpenGL in QT is here: QtOpenGL
The rest: reading the input from your device and loading the 3d-image is up to you. It greatly depends on the device & the format of your 3D-Image. Regarding the 3D-Image: check NeHe’s Tutorials.