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

Fix camera orientation for scenepointer #151

Merged
merged 3 commits into from
Dec 16, 2023
Merged

Fix camera orientation for scenepointer #151

merged 3 commits into from
Dec 16, 2023

Conversation

chungmin99
Copy link
Collaborator

It seems that the ray origin/direction is incorrect with the current transformation -- not sure when this happened, or how. This PR should make the ScenePointerEvents behave as expected.

@brentyi do you know more about why this might have happened?

Copy link
Collaborator

@brentyi brentyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, looks like I broke this in #145 / #150...

thanks for "pointing" it out!

@brentyi brentyi marked this pull request as ready for review December 16, 2023 08:27
@brentyi brentyi enabled auto-merge (squash) December 16, 2023 08:27
@brentyi brentyi merged commit 00d095c into main Dec 16, 2023
@brentyi brentyi deleted the cmk/scenepointer-fix branch December 16, 2023 08:29
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
* Fix camera orientation for scenepointer

* Fix raycast coordinate frame

* Fix raycast coordinate frame

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants