IanPhilips / UnityOculusAndroidVRBrowser

3D browser based on GeckoView and Oculus SDK for Unity projects built on Android (Oculus Go/Quest, maybe GearVR)
MIT License
225 stars 63 forks source link

Decouple from Oculus SDK #8

Open elblogbruno opened 4 years ago

elblogbruno commented 4 years ago

Can I use it without the oculus sdk? I'm planning to use it on android not oculus, and I'll really love to use it, maybe even showing the result if you want. Nice work!

IanPhilips commented 4 years ago

unfortunately you need the sdk as it relies on the oculus plugin and OVRSurfaceOverlay

IanPhilips commented 4 years ago

Can you not include the oculus sdk in your android app anyways, though?

elblogbruno commented 4 years ago

I'm using my own raycaster and camera rig. Removing them makes the project doesn't work. And now i'm having an issue that says OVRPlugin not found.

IanPhilips commented 4 years ago

yes, you need OVRPlugin, but I don't see anything wrong with using your own raycaster and camera rig as long as you include the plugin

elblogbruno commented 4 years ago

well the thing is I haven't removed the ovrplugin. just the camera prefab.

gtk2k commented 4 years ago

+1 I want without the oculus sdk.

ThatOtherVRGuy commented 4 years ago

+1 also would like no Oculus sdk. Can the parts that truly require it be extracted from the Oculus SDK like the surface overlay?

IanPhilips commented 4 years ago

This library uses OVROverlay and this will only change if someone submits a PR with an alternative method. I doubt you can use this without the Oculus SDK, but if you're curious you should ask here: https://developer.oculus.com/support/

Jamesfleming1 commented 3 years ago

Would it be able to work will the deprecated Oculus package? I am using the old one for a project but would like to include this in my project.

wei-kris commented 2 years ago

+1 I want without the oculus sdk. I hope it can run on PicoVR

RoxDevvv commented 2 years ago

+1 i also want without oculus sdk

RoxDevvv commented 2 years ago

well can you explain at least the purpose of OVROverlay so i could try to remove it by my self any hints will be appreciated thank you

IanPhilips commented 2 years ago

It's been a while so I can't really accurately describe what it does but from what I remember It's the opengl surface that the gecko engine writes to. I tried to make my own opengl surface but I failed! I ended up having to use the overlay instead. You can read more about it here: https://developer.oculus.com/documentation/unity/unity-ovroverlay/

xinczhang commented 2 years ago

+1 I want without the oculus sdk. I hope it can run on PicoVR

I successfully run it in pico vr. Very much thx to Ianphilips!