googlevr / cardboard

Open source Cardboard SDK and samples
Other
1.48k stars 252 forks source link

is it possible to add 6dof support? #7

Open wisockijunior opened 4 years ago

jballoffet commented 4 years ago

To get a 6DOF pose, I suggest using ARCore or ARKit to get a device pose instead of calling the functions in the Cardboard SDK. There are two key things to be aware of:

wisockijunior commented 4 years ago

To get a 6DOF pose, I suggest using ARCore or ARKit to get a device pose instead of calling the functions in the Cardboard SDK. There are two key things to be aware of:

  • ARCore's and ARKit's zero rotation has the device in portrait mode, but Cardboard's zero rotation is in landscape mode.
  • ARCore and ARKit tell you the position of the camera, but Cardboard uses the center between two eyes.

Sure, we are aware of this possibility, but it would be much better if, as Google Cardboard SDK for Unity is being developed, please release it with 6dof using ARCore/ARKit already embedded on the new Cardboard SDK... it will be awesome if we can get it simple

jballoffet commented 4 years ago

Thanks for requesting the feature, but we will not be able to prioritize this feature at this time. Do give ARCore a try.

tmueller78 commented 4 years ago

We combined Cardboard with ARKit on iOS within unity, in a demo project. It's supposed to work with Android, too, but we didn't want to spend the testing effort to support multiple Android devices. Here's some more info and a link about a public example from someone else: https://www.next-reality.de/room-scale-vr-with-cardboard-arkit-mushrooms-xr/

Can native support in the Cardboard SDK only be implemented by Google, or can we also support this out of the open source community?

jballoffet commented 4 years ago

@tmueller78, please consult the README.md and LICENSE files in the repository for the version you're using, where you'll find a link to the applicable terms of service and/or open source licenses that apply to the files included in that release.

johnfriedrich commented 2 years ago

Hello @maartenslaa I just came across your PR #210 during research and we really could make use of this feature. The PR and your project repo seems kinda abandoned though. Are you planning to merge latest SDK changes or even take the time to get it into the official Cardboard SDK?

maartenslaa commented 2 years ago

Hi @johnfriedrich sorry about the late reply, my focus is elsewhere at the moment. There will be a moment this year where I will merge to the latest SDK however I cannot tell you when that will be precisely..

Edit: I think (nearly) all the changes I made are in this commit: https://github.com/googlevr/cardboard/commit/6a4f0337a798714130d72367773e95a4beea4c7d