-
Notifications
You must be signed in to change notification settings - Fork 3
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
PCVR (Rift) implementation (Initialize + Age Category API) #12
Comments
Hi, indeed! I have tried to implement Rift/PC support before, but I just don't have the knowledge unfortunately... There is a portion of the code that comes with the SDK that finds some files on windows, but I just don't know how to integrate it (which means the platform doesn't actually start). If someone could figure out that part, the rest would be really easy actually since both versions share most of the code. The user age category is already implemented (on android): https://decacis.github.io/godot_oculus_platform/functions/user-age-category/#useragecategory_get To add to the first part, when you download the SDK from https://developers.meta.com/horizon/downloads/package/oculus-platform-sdk/ inside the Windows folder there is a file called |
Hi.... I added in the SConstruct for windows this part and copied the OVR_PlatformLoader.cpp into src directory (excluded in the android part):
In godot_oculus_platform_editor.cpp I added in initialize_android for testing:
The DLL can be used in Godot and the initialize call is successful but if I try to call e.g. ovr_Entitlement_GetIsViewerEntitled, the DLL cannot be used in Godot anymore (Identifier "GDOculusPlatform" not declared in the current scope.). Any idea? BTW: I sent you an email. |
If you create a new branch and I could get access to it, I would check in a first version there. |
Feature description
It would be great if the addon also support PCVR (Rift). A first version which supports the initialize_windows_async and the useragecategory_get (Age Category API) would be very helpful. I would also try to help with the other feature implementattion, if you like.
The text was updated successfully, but these errors were encountered: