GearVRf | GearVR framework is an Open Source VR | Augmented Reality library
kandi X-RAY | GearVRf Summary
kandi X-RAY | GearVRf Summary
The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GearVRf
GearVRf Key Features
GearVRf Examples and Code Snippets
Community Discussions
Trending Discussions on GearVRf
QUESTION
I am trying to override the back and home buttons in my GearVR app. I actually trying to completely disable them. I have tried:
...ANSWER
Answered 2018-Jul-05 at 07:41Since Android version 4.0+, you are not able to override the home button this change was done for security purpose. You do have the option of possible disabling the home button using the screen pinning feature introduced in Android 5.0.
For disabling the back button you have two option:
Overriding the public void onBackPressed()
or onKeyDown(int keyCode, KeyEvent event)
. Since overriding onBackPressed
didn't work I would try onKeyDown
.
Also, it would be very helpful if you provided the segment of code that is not behaving as expected along with what the code you have tried.
QUESTION
im currently trying to run an app with daydream compatibility. Everything works fine except when im trying to switch to the cardboard mode, and i get the following error message "This Cardboard application is not compatible with the Daydream headsets"
According to some post ive found online, it could be a manifest issue ( https://github.com/Samsung/GearVRf/issues/1618 and https://github.com/googlevr/gvr-android-sdk/issues/295 ) but my app properly declare the DAYDREAM intent filters, here's my manifest ( my problem occurs while in the PlayerActivity )
...ANSWER
Answered 2018-Jul-03 at 04:19I am not a programmer, but I think I may know of a workaround. I have a zte blade max model number z982 from MetroPCS Awesome phone by the way. First thing I did was install CardBoard on it, was disappointed that it didn't want to use my bluetooth gamepad. So I tryed to get the DayDream app, but google wouldn't let me download it to my cheap phone so I don't know if it could use my bluetooth gamepad or not. but I did see that I could download Google VR Services app, I hoped that would let me use my bluetooth gamepad in cardboard, no luck. But I did find out that I could setup google cardboard to use ether it self or Google VR Services in the settings.
For your problem I think you need to go into cardboard, then demo games. When the screen comes up tap on the * button in the middle, bottom of the screen, that takes you to the settings screen you should see a popup that asks you which service you want to use. select cardboard and one time. I believe this workaround will work for you.
QUESTION
I am trying to understand how to enable sRGB profile for default frame buffers on Android.Android SDK is not clear about how to do it practically.For example,here a guy states that it is enough to set texture internal format to sRGB. But he is clearly wrong,because I tried that and it changes nothing.
Khronos provides this extension as a part of EGL.I have tried to add these flags to surface configs:
...ANSWER
Answered 2018-Jun-13 at 00:15No, there is unfortunately no other way to create an sRGB default framebuffer.
What you could do is use a workaround: render to a texture with internal format GL_SRGB8_ALPHA8
and treat that as your framebuffer, then at the end draw a full-screen quad to the default framebuffer, using the aforementioned texture and a gamma correction shader. (You will get values in linear RGB when reading from the texture, so you need to compress them back to sRGB when writing out to the default framebuffer; the framebuffer is ostensibly linear, but the values in it will be interpreted as sRGB by the display.)
"The other guy" was entirely correct, but the default framebuffer is not a texture and you can't directly set its internal format.
QUESTION
I have a 360 video player like https://github.com/gearvrf/GearVRf-Demos/tree/master/gvr-360video.
I want to instantiate this video player from a GVRScene, is it possible?
Thank!
...ANSWER
Answered 2017-Feb-22 at 06:55It is possible. Can be done via calling an Intent. But it is not encouraged. You should convert the 360video code to another GVRScene. In case you still want to try it out, you can pass along the activity to the GVRScene and from there fire an intent. Hope that helps.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GearVRf
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page