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

hit-test sample used as indoor navigation #183

Open
micfio opened this issue Mar 21, 2024 · 5 comments
Open

hit-test sample used as indoor navigation #183

micfio opened this issue Mar 21, 2024 · 5 comments

Comments

@micfio
Copy link

micfio commented Mar 21, 2024

Hello, there is a project on github that use augmented reality for indoor navigation:

https://github.com/Gebort/FESTU.Navigator/tree/master

Is possible to use a modified version of hit-test sample in order to define a path (non necessary long) to a emergency exit and save the scene that will be retrieve pointing a qr-code for illustrate the path to an user. If yes can someone provide me sample code ?

@AdaRoseCannon
Copy link
Member

You could save a path and access it later using persistent anchors but you cannot share anchors yet, so you couldn't define a path and have another user view it from another device.

@micfio
Copy link
Author

micfio commented Mar 21, 2024

Also if i get realworld place position and maybe save it in a json file ?

@micfio
Copy link
Author

micfio commented Mar 21, 2024

from a-frame:
t requires a browser supporting the WebXR Anchors module.

Fix any entity to a position and rotation in the real world. Apply the anchored component to an entity and call the method el.components.createAnchor(position, quaternion) to anchor it to a position and rotation corresponding to real world coordinates. If creatorAnchor is not called the entity is anchored to its initial position and rotation. The anchoring only applies when in immersive mode.
Is possible to access this method and save position,quaternion ?

@AdaRoseCannon
Copy link
Member

The position and rotation will be relative to the space of your current session when a new session is started those coordinates will no longer correspond to the same location.

@micfio
Copy link
Author

micfio commented Mar 21, 2024

I have found this:
https://github.com/MozillaReality/webxr-geospatial
for create geospatial anchor aligment
is also impossible with the aligment of the anchor to Geo And Orientation position ?
Will be implemented in near future the possibility to share anchor across device ? Thank in advanced and sorry for the time.

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

2 participants