visgl / deck.gl

WebGL2 powered visualization framework
https://deck.gl
MIT License
12.13k stars 2.08k forks source link

Add VR example #1186

Open 1chandu opened 6 years ago

1chandu commented 6 years ago

Please add it to examples/experimental.

1chandu commented 6 years ago

@Pessimistress are you planning to add this example?

1chandu commented 6 years ago

Moving this to 6.0 , but if this can be done before release thats great.

sidx1024 commented 6 years ago

I've built a VR example for point-cloud-ply/point-cloud-laz (WebVR & multi-viewport), can I add one in examples/experimental? (Short clip of example) Also, does it need to have an EmulatedVRController like in the "vr" example in "vr" branch?

ibgreen commented 6 years ago

@sidx1024 That looks awesome, congrats!

can I add one in examples/experimental?

We're certainly open to including new examples. Why don't you open a PR and we can take a look at your code to see what makes sense.

Also, does it need to have an EmulatedVRController like in the "vr" example in "vr" branch?

Haven't looked closely but I don't think this is a hard requirement. Though it seems valuable to have some way to activate multi view mode even without VR hardware. Do you have any good ideas here?

sidx1024 commented 6 years ago

Hi, I've opened a pull request #1351.

A multi-view mode can be provided without VR hardware using an emulated VR Display, then we can navigate through the point cloud by manipulating VRPose values. The emulated VR Display can provide orientation and position values from a UI control which is only displayed when a VR Hardware is not present.

Right now I'm working to fix the existing Emulated VR Display.

sidx1024 commented 6 years ago

At this point, I've fixed the issue and it seems that the example works even without VR Hardware. New changes here.

not-lob commented 1 year ago

Hi, I was just wondering if there had been any further development on this since the issue was first opened? We're looking to use deck.gl with a WebXR immersive-ar session but have been running into some issues getting it setup.