Coder Social home page Coder Social logo

Comments (9)

Mugen87 avatar Mugen87 commented on June 14, 2024 1

One option to avoid this is to remove hand-tracking from the optionalFeatures list, and instead provide a way to pass in additional features, similar to XRButton's createButton method.

I vote for that. We could apply the changes of #27030 to VRButton as well and then update the hand-tracking examples. ARButton.createButton() also has a sessionInit parameter.

from three.js.

m-blix avatar m-blix commented on June 14, 2024 1

@Mugen87 Yes #27699 looks good 👍

One other consideration, maybe for later or not at all as optionalFeatures is probably fine, but for examples that really require hand-tracking could have hand-tracking as part of session's requiredFeatures list.

from three.js.

Mugen87 avatar Mugen87 commented on June 14, 2024

@m-blix Does #27699 look good to you?

from three.js.

danrossi avatar danrossi commented on June 14, 2024

These sessions don't work in the visionOS simulator. How is it advised to detect for hand tracking support now it's trying to force it ?

from three.js.

mrdoob avatar mrdoob commented on June 14, 2024

How is it advised to detect for hand tracking support now it's trying to force it ?

Can you rephrase the question? I don't understand it.

from three.js.

danrossi avatar danrossi commented on June 14, 2024

These demos won't launch XR on VisionOS simulator as it seems there is no hand tracking to check controls and it requires it. I'll check again but it says "XR Not Allowed" So to support every device keep these properties optional is the advised method ? Making them required seems to only work on anything that supports it and there doesn't seem to be a method to detect what it supports. I'll do more digging. I figured out the visionOS video playback work around for others for now. Standard. I've done it before.

from three.js.

mrdoob avatar mrdoob commented on June 14, 2024

I'm Vision OS 1.1 beta they have started using transient pointers like the ones in Android WebXR. No need for hand tracking.

from three.js.

Ledzz avatar Ledzz commented on June 14, 2024

@mrdoob but these pointers exist only when clicking, so there's no way to make "hover" effects, am I right?

from three.js.

mrdoob avatar mrdoob commented on June 14, 2024

That's correct yeah...

from three.js.

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.