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

Click? #3

Open
Aldo111 opened this issue Jan 22, 2016 · 0 comments
Open

Click? #3

Aldo111 opened this issue Jan 22, 2016 · 0 comments

Comments

@Aldo111
Copy link

Aldo111 commented Jan 22, 2016

Hi, I just started using this (and am a beginner to three.js as well) and I basically wanted to be able to "attach" an image (or possibly a text box - whatever's easier) to a point on this photosphere and it should be able to move with the photosphere and be out of view when not in the photosphere's fov.

What would be the best way to go about this? There is no click event right off the bat and I'm not too sure how I should tackle this in a clean way that would work across different resolutions. My main issue is what positional values should I be using for such attachable elements - and how can I get them upon a click? (Since photospheres use an equirectangular projection, what would be a nice way to convert it to a meaning x/y that could be use to attach elements within the browser window to a specific point on the photosphere image)

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