Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

What is the space model for positioning infospots [ e.g. in .setposition(x,y,z)] #414

Open
2 of 12 tasks
8712staefa opened this issue Nov 18, 2022 · 1 comment
Open
2 of 12 tasks
Assignees

Comments

@8712staefa
Copy link

Description

I managed to place infospots or links on my pano in the (0,0,-5000) position.
What values do I set for x y z to move the infospot e.g. 90 degrees to the left?
Are the values pixels?
where is the origin in the xyz-space?
The values in examples seem to be random, and trying out changing only one of x, y or z does move the infospot by few degrees or makes it smaller (= farther away?).
I just don't get it.
How is the rectangular pano image x,y-space mapped to the vector3-space?
Thanks in advance

Panolens version

latest stable, downloaded as .zip

  • Master
  • Dev
Browser
  • All of them
  • Chrome
  • Firefox on MacOS Monterey
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux Server Ubuntu, Apache 2.4.41
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)
@jdesbonnet
Copy link

jdesbonnet commented Dec 22, 2022

Same question. I've been trying it for a hour and saw the CTRL-mouse hack to get coordinates in browser console, but after reading the documentation (which is very sparse) I'm none the wiser about the co-ordinate space.

What I was hoping for was to be able to set the camera point of the panorama in x,y,z space (meters derived from GPS latitude,longitude,altitude), and then put info points at other x,y,z points on a meter grid derived from their lat,lng from a map. It's not clear if this is possible without substantial work.

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

No branches or pull requests

3 participants