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

Windows phone 10 #141

Open
RuiOrey opened this issue May 7, 2016 · 9 comments
Open

Windows phone 10 #141

RuiOrey opened this issue May 7, 2016 · 9 comments

Comments

@RuiOrey
Copy link

RuiOrey commented May 7, 2016

Hi,

my windows phone is not working with the actual webvr boilerplate
The problem is that the camera is always looking down and unresponsive of any phone movements and the camera is always looking down.
The application i'm using works on desktop and other mobiles (ios,android)
The sensors work on older versions of the boilerplate.

Lumia 640 windows phone 10

Thanks and great work!

@borismus
Copy link
Owner

borismus commented May 7, 2016

Haven't tested on win phone at all, don't have one readily available. Could
you try to dig in and figure out what the problem might be? Maybe lack of
DeviceMotion support?

On Sat, May 7, 2016 at 2:10 PM Rui [email protected] wrote:

Hi,

my windows phone is not working with the actual webvr boilerplate
The problem is that the camera is always looking down and unresponsive of
any phone movements and the camera is always looking down.
The application i'm using works on desktop and other mobiles (ios,android)
The sensors work on older versions of the boilerplate.

Lumia 640 windows phone 10

Thanks and great work!


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#141

@RuiOrey
Copy link
Author

RuiOrey commented May 7, 2016

I can try ...
Well it works in this old prototype.
The way the sensors are nowdays used/accessed is different from that old one?

@pindiespace
Copy link

I had a similar problem in Edge a few months ago - it seemed the camera was auto-rotated around 180 degrees by default.

@RuiOrey
Copy link
Author

RuiOrey commented May 8, 2016

Did a simple test using the following

and the Sensors seem to work... strange..

I will check again the basic webvr-boilerplate cube example (from where I derived the code of the application that is not working ONLY on my wp)...

@RuiOrey
Copy link
Author

RuiOrey commented May 8, 2016

Yes.. on the basic cube example that comes with the project it also does keeps looking down and only rotates a bit if using touch...

@RuiOrey
Copy link
Author

RuiOrey commented May 10, 2016

well I've been testing and seems at least my Lumia 640 does not support DeviceMotion's rotationRate (it supports timeStamp, accelerationIncludingGravity and acceleration).
It seemed to work with deviceorientation.

@borismus
Copy link
Owner

We use rotationRate for motion prediction and other things. You could try
hacking together a fix, and I'd accept a patch. Unfortunately win phone
support isn't high on my priority list.

On Mon, May 9, 2016 at 6:16 PM Rui [email protected] wrote:

well I've been testing and seems at least my Lumia 640 does not support
DeviceMotion's rotationRate (it supports timeStamp,
accelerationIncludingGravity and acceleration).
It seemed to work with deviceorientation.


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#141 (comment)

@RuiOrey
Copy link
Author

RuiOrey commented May 13, 2016

I can try.. will take a look...

@RuiOrey
Copy link
Author

RuiOrey commented May 29, 2016

For now only got to disable the rotationRate influence on windows phone. For having it probably the way to go is to re-use the device orientation old code..

Repository owner deleted a comment Nov 7, 2023
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

4 participants
@RuiOrey @pindiespace @borismus and others