Code Monkey home page Code Monkey logo

Comments (20)

brianchirls avatar brianchirls commented on July 20, 2024

Thanks for filing. Any idea how to replicate?

from webvr-starter-kit.

skompc avatar skompc commented on July 20, 2024

I got the same issue when I grouped an object and the camera together into a new object then moved the new object

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

Can you share some code?

Did you move the camera out of its existing parent? Or did you just add something on to the camera as a child?

from webvr-starter-kit.

skompc avatar skompc commented on July 20, 2024

I can't share code since I'm not able to use my computer atm... But I know that I created a VR.empty object then a VR.box, I then put the box and the camera as the child of the empty object.. So I guess I moved the camera out of its existing parent (didn't know the camera had a parent)

from webvr-starter-kit.

skompc avatar skompc commented on July 20, 2024

I was trying to make a collision system but guess I failed... I managed tho... Used some three.js mesh related stuff to make due

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

Thanks. I tried that, but it's not enough to replicate the problem, and there are a number of potential pitfalls that you may have run into. So I need to see exactly how you did it. Please paste a link or some code when you're back online and have a moment.

from webvr-starter-kit.

skompc avatar skompc commented on July 20, 2024

Forgot to mention I made a movement system... It works fine until u actually move the camera, not just looking around

from webvr-starter-kit.

skompc avatar skompc commented on July 20, 2024

Unfortunately I can't use my computer until I unpack it (I'm about to move so yea)

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

We are just using panorama in our html:

VR.panorama('src');

I've tried two Macbook Pro's (13") running the same version of Chrome and OSX and get the same error.

It works perfectly on my own Macbook Pro (15" retina Late 2013), same version of Chrome, but I have OSX 10.9.5.

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

This error is occurring on all of the demos when using the same configuration. Its seem to be related to the threejs audio library.

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

@Senths02 I still can't replicate the error. Since you're using Chrome, I'm assuming you're not using an Oculus headset, right?

I just upgraded three.js to the released version 72. See if that helps.

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

No, just the browser and laptop. Unfortunately the upgrade hasn't had an effect. Did you try it out on OSX 10.8.5?

Screenshot from 13" Macbook Pro:
webvr-error

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

Okay, I see what's going on here. It has nothing to do with the OSX version. I'm guessing your MBP is a couple years old and has a hard drive, not an SSD, right?

These MBPs have accelerometers in them so they can detect when you drop them and lock up the hard drive before you hit the ground. Chrome uses this info to generate "deviceorientation" events, which are usually only helpful in mobile devices. My machine has an SSD, so I have to think about where I can get my hands on one like yours so I can debug this and write a workaround.

In the meantime, can you see if this one has the same problem?
http://borismus.github.io/webvr-boilerplate/

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

That makes sense. Thanks a lot for looking into this. The link you supplied works fine on the machine with hard drive, no errors.

I'm working on a project for the BBC and wanted to use your library. Is there an email address I could contact you at?

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

@Senths02 Can you see if that last commit helped?

Yeah, drop me a line. brian at chirls dot com

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

@skompc: I advise against moving the camera off the "body" object. It will cause problems when the HMD moves or rotates to change the view. You can try moving VR.body.object under a parent object, but the safest way is to update VR.body.position whenever you want to move the viewer around.

In any VR experience, you want to be very careful about how you move the viewer so you don't make them sick.

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

Thanks Brian!

I'm not getting any errors and the image comes up, but it still wants to use compass. I get the mobile device icons in the bottom left and you can't pan.

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

Okay, how about now? I (with hesitation) added UA parsing to turn off orientation by default on non-mobile devices. You can still turn it back on if you want by clicking the compass icon.

from webvr-starter-kit.

Senths02 avatar Senths02 commented on July 20, 2024

That seems to have done the trick! Thanks a lot!

from webvr-starter-kit.

brianchirls avatar brianchirls commented on July 20, 2024

Great! Looking forward to hearing about what you're working on via email.

from webvr-starter-kit.

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.