![]() ![]() What I find problematic, is that in Android, glViewport() must be called in the onSurfaceChanged() method once, and that’s it. ![]() In those forums and tutorials I can see that glViewport() is called more than once, and that they can have different views in the same GLSurfaceView. ![]() I’ve seen tutorials and posts solving this problem, but it is for OpenGL in C++ or C, which is totally different. My problem is that I don´t know how to implement the glViewport() in Android (using JAVA) twice in the same GLSurfaceView. The app is for the ODG R7 glasses, and I want to render an object twice, in order to have the left view and the right view for stereoscopy rendering. Hey, I am new with OpenGL and I am trying to make an app for Android.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |