Using OpenGL to add a frame buffer object(FBO) in an Android app

First go here(https://github.com/googlevr/gvr-android-sdk) to download the source code and import it into Android studio. After debugging, make the video360 example can run normally.

Then modify Mesh.java, its role is to render a layer of mesh grid on the generated yellow sphere.

You only need to create an FBO and insert it into Mesh.java, It also reduces the mesh rendered on the sphere by half and continues rendering on the sphere(The mesh map will only be rendered if there is no user input). That is to say, after rendering, you will see that half of the sphere has Half of the mesh is missing.(The created FBO should be used as a separate java file, which is called when required by mesh.java)

This question has been answered.

Get Answer