Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Coordinate system mismatch #1

Open
Sognus opened this issue May 17, 2023 · 3 comments
Open

Coordinate system mismatch #1

Sognus opened this issue May 17, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Sognus
Copy link
Member

Sognus commented May 17, 2023

  • When creating panorama, it depends on how panorama texture is located
  • Particulary, for eye of the north calculation of arrow positions is correct but since camera location is considered Point [0, 0, 0], render of position is wrong.

Possible solution:

  • Move camera always to panorama location
  • Recalculate all vector operations to vector operations relative to panorama location instead assuming camera will always be in [0, 0, 0]
@Sognus Sognus added the bug Something isn't working label May 17, 2023
@Sognus Sognus self-assigned this May 17, 2023
@Sognus
Copy link
Member Author

Sognus commented May 17, 2023

@Sognus
Copy link
Member Author

Sognus commented May 21, 2023

Issue possibly fixed in 55f12c2 with some twists.

There is no way to determine what was texture offset from panorama renderer. For example offset of panorama with ID pano_queensdale_shaemoor is 29.5.

I added support for rotation. When rotation is not specified, zero offset is assumed. To correctly display panorama arrows, all misaligned panorama textures must either provide information about correct rotation offset or new texture with no offset needs to be created.

@DeltaxHunter

@DeltaGW2
Copy link
Member

I will try to add data to each (estimates within a few degrees) or recreate them. I might still have the source files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants