GithubHelp home page GithubHelp logo

how to use with a-frame? about alvaar HOT 8 OPEN

alanross avatar alanross commented on August 19, 2024
how to use with a-frame?

from alvaar.

Comments (8)

alanross avatar alanross commented on August 19, 2024 1

Hi @marcusx2, Thanks for asking. I plan on adding support for different 3d engines in the future once the core implementation is more stable. The slam algorithm returns a camera pose array/matrix which contains the rotation and translation of the camera. This should work for any 3d engine.

Have a look the example and conversion.

from alvaar.

akbartus avatar akbartus commented on August 19, 2024 1

Hi! Started working on simplified, A-Frame version of this wonderful library. Please check it here: https://github.com/akbartus/A-Frame-World-Tracking

from alvaar.

marcusx2 avatar marcusx2 commented on August 19, 2024

@akbartus very nice! The robot is laid down though, shouldn't it be upstanding? It would be nice some features

  1. Tap to place
  2. Ability to hide small dots
  3. Fire event when floor is detected/when it's lost

Though I don't know if these features would better belong to AlvaAR itself.

from alvaar.

akbartus avatar akbartus commented on August 19, 2024

@marcusx2 thanks for suggestions. Yes, I can implement these features. Will include in my updated list of tasks.

from alvaar.

marcusx2 avatar marcusx2 commented on August 19, 2024

I think more specifically, a function to place/unplace. Then the coder would use that to implement a tap to place functionality. This gives more control.

@alanross @akbartus Ideally, it would be nice if we could have an indicator of where the object will be placed once the user taps. This is usually done by having the object be semi-transparent following the phone, or a reticle. See this video for reference (first 10 seconds). Can this already be done, or can it be implemented? The api would return the current position at all times, then the user could use that to make a reticle follow it.

from alvaar.

nicolocarpignoli avatar nicolocarpignoli commented on August 19, 2024

@akbartus very nice! The robot is laid down though, shouldn't it be upstanding? It would be nice some features

  1. Tap to place
  2. Ability to hide small dots
  3. Fire event when floor is detected/when it's lost

Though I don't know if these features would better belong to AlvaAR itself.

On index.html we have <a-entity gltf-model="url(3d/Xbot2.glb)" ></a-entity> if you use "Xbot" instead, it uses the other included GLB file - which is the upstanding model.

Try replacing with <a-entity gltf-model="url(3d/Xbot.glb)" ></a-entity>.

Anyway, I still have a bit of difficulty on detecting plane. It seems to depend a lot on lightning of the room.

from alvaar.

akbartus avatar akbartus commented on August 19, 2024

@nicolocarpignoli thank you for the support. I will come back to this project soon and then will try to implement the features requested.

from alvaar.

marcusx2 avatar marcusx2 commented on August 19, 2024

@alanross @akbartus Was the project abandoned? I hope these features get implemented soon T_T.

from alvaar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.