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

Use phone as controller #158

Open
FluorescentHallucinogen opened this issue Nov 14, 2016 · 7 comments
Open

Use phone as controller #158

FluorescentHallucinogen opened this issue Nov 14, 2016 · 7 comments

Comments

@FluorescentHallucinogen

Is it possible to use smartphone that has a gyroscope as controller?

@Utopiah
Copy link
Contributor

Utopiah commented Nov 14, 2016

@FluorescentHallucinogen
Copy link
Author

Any progress?

@FluorescentHallucinogen
Copy link
Author

There also exist the newer APIs:

@Utopiah
Copy link
Contributor

Utopiah commented Jun 17, 2017

There probably won't be any progress except if you develop this since A-painter was done solely with roomscale and 6DoF controllers in mind.

@Utopiah
Copy link
Contributor

Utopiah commented Jun 17, 2017

Alternatively it would also be possible to use a Tango phone as a 6DoF controller, much easier to do now that https://github.com/googlevr/chromium-webar is public.

@Chovin
Copy link

Chovin commented Jul 31, 2019

I'd very much love to put work into this. Even if support for most phones isn't that great and we end up painting with the little sensors available on mobile browsers nowadays.
Maybe we could use https://github.com/jeromeetienne/AR.js or maybe https://trackingjs.com/ as a frame of reference for the phone's position since it seems phone rotation might be the most supported piece of information we can pull from it.

If anyone wants to work on this, please let me know. I would be glad to offer some manpower.
If nobody picks it up once I get some more time, I'd love to start on it myself.

Does anybody have any advice on where we could start looking to work on this?

@Utopiah
Copy link
Contributor

Utopiah commented Jul 31, 2019

@Chovin you might want to test A-painter XR first cf https://blog.mozvr.com/responsive-webxr-a-painter-xr/ because for iOS at least it seems to be doing roughly what you are suggesting.

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

3 participants