aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.69k stars 3.98k forks source link

Increase resolution for Oculus Go #3571

Closed kevinsimper closed 6 years ago

kevinsimper commented 6 years ago

I have tested out Aframe with Oculus Go and the experience is not as great in terms of resolution compared to React 360. I am not sure what it can be?

https://github.com/facebook/react-360

It is pretty difficult to debug since you can't see the developer toolbar in the Oculus Go webbrowser.

I have searched the docs and the issues and it seems to be something with similar to mobile devices asking about the resolution, but I am creating a new issue because I have not seen it compared to React360 (prev. ReactVR) where the resolution is good.

dmarcos commented 6 years ago

Thanks for sharing the info with us. Can you share a bit more detail? Any specific examples you can point? Do you mean text resolution? Are you referring to 360 video or real time 3D? I tested the A-Frame examples yesterday on the Go and they looked good to me.

kevinsimper commented 6 years ago

@dmarcos Thanks for replying

It is the aframe example with the 3 red, yellow, blue objects, where the straight lines on particular the blue square is really rought.

There is no anti-alias on that line as you can see the line drop down as if the pixels where that huge, but they aren't they are just rendered double the pixels and with no anti-alias

Here is the image on my macbook pro. image

I can't record in full screen as it stops immediately after

image

kevinsimper commented 6 years ago

Also the grey background is suddenly white when VR is activated down in the corner, which makes it super bright and unconfortable to look at, compared to the grey color.

dmarcos commented 6 years ago

The examples in aframe.io have antialias disabled by default on mobile for increased performance. You can enable it in your experiences by doing <a-scene antialias="true">

kevinsimper commented 6 years ago

@dmarcos I could not see that in the documentation, therefore I thought it did not exist anymore.

Should it exist on this page? https://aframe.io/docs/0.8.0/core/scene.html

kevinsimper commented 6 years ago

Just tested it again and yeah that is what is needed.

dmarcos commented 6 years ago

Cool. Yeah it seems to be missing from docs. FYI, it will be replaced in next aframe version in favor of the renderer component:

https://github.com/aframevr/aframe/blob/master/docs/components/renderer.md

kevinsimper commented 6 years ago

@dmarcos Awesome, thanks for the help!