Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example to visualize only rotation for a selected device. #196

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lubosz
Copy link
Contributor

@lubosz lubosz commented Feb 4, 2019

For debugging rotational tracking, this example is quite handy since it does not render VR graphics, but just visualizes the IMU with 3 axes. I wrote it to debug the VIVE controller IMU. It uses the model matrix patch from @ChristophHaag opengl3 branch and is written in GL3 as well, but is very minimalistic.
It uses the MIT licensed math_3d.h header to do the linear algebra required for GL3. This is also on @ChristophHaag's GL3 branch, but I created a ext_deps folder in examples, so multiple examples can share it.
I added it to meson and CMake. For meson it builds as soon the dependencies are available, for CMake it builds when the SDL examples are enabled.

@Wallbraker
Copy link
Member

This looks good to me.

@lubosz lubosz force-pushed the dev/imu_viewer branch 2 times, most recently from e400e31 to cd92605 Compare February 4, 2019 17:02
@TheOnlyJoey TheOnlyJoey added this to In Progress - Functional in OpenHMD Features Mar 26, 2019
@TheOnlyJoey TheOnlyJoey moved this from In Progress - Functional to Pending Merge in OpenHMD Features Mar 26, 2019
@TheOnlyJoey
Copy link
Member

@lubosz fix meson plx

@lubosz lubosz force-pushed the dev/imu_viewer branch 2 times, most recently from c98e484 to ae3ee48 Compare May 1, 2021 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
OpenHMD Features
  
Pending Merge
Development

Successfully merging this pull request may close these issues.

None yet

4 participants