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

Big offset when rendering the corresponding models #3

Open
nocardio opened this issue Aug 23, 2022 · 0 comments
Open

Big offset when rendering the corresponding models #3

nocardio opened this issue Aug 23, 2022 · 0 comments

Comments

@nocardio
Copy link

Hi @cgsaxner,

Thank you for sharing your code.
Instead of using the sphere markers, I used a flat retro-reflective markers. And then, I tried to integrate your code with unity to visualize the corresponding models. Using the returned toolPosition, I updated the models in unity using the conversion of right-handed to left-hand coordinate system.
However, I got a really strange result with big offset and wrong orientation. When I put the marker in vertical plane, the virtual models appeared close to the markers but with a wrong orientation.
Meanwhile, when I put the markers in horizontal plane, the models appeared far from the markers. They appeared far-up above the marker. Furthermore, the models seem to render w.r.t. head position. Even though the markers were still in the same position, but with a different height position (higher/lower), the models were rendered far above from the marker.

Do you have any idea what's the problem? Thank you in advance.

-Nova

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant