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

Implement floating anchors #619

Open
usefulthink opened this issue Feb 6, 2023 · 3 comments
Open

Implement floating anchors #619

usefulthink opened this issue Feb 6, 2023 · 3 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@usefulthink
Copy link
Contributor

This is a follow-up to #618.

Is your feature request related to a problem? Please describe.

When handling globally distributed 3d-objects in a single overlay, one of the problems is that a single anchor-point isn't enough to maintain acceptable precision in all locations.

Describe the solution you'd like

To solve this, we could add a feature I would call "floating anchor". With this, users would provide the geo-reference of an object in a property object.userData.geoPosition (see three.js documentation) and the overlay would automatically calculate the anchored world-space position for those geo-coordinates.

The anchor-point could then be automatically updated from map-movement. With every update, the scene is traversed and world-space coordinates are recomputed from the specified geo-reference.

@usefulthink usefulthink added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Feb 6, 2023
@anorakdepluie
Copy link

I go through the same issue, any updates ?

@wangela wangela added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Jul 19, 2023
@wangela wangela assigned usefulthink and unassigned amuramoto Jul 19, 2023
@usefulthink
Copy link
Contributor Author

usefulthink commented Jul 19, 2023

@anorakdepluie we want to move forward with this and wanted to ask if you could maybe add some more details on what issues you are currently having that could be solved by implementing floating anchors.

That way we can make sure that the solution we end up with actually helps to solve those problems.

@crunchwrap89
Copy link

crunchwrap89 commented Jul 20, 2023

Hi,
This solution would solve some problems of mine aswell. I am building an app that allows users to add objects anywhere on the world map.

Currently the objects are blurry / distorted if the objects are placed too far from the current anchor. (If the objects are real world scale such as cars/buildings etc)

Having multiple anchors would solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants