I implemented a horizontal 360 degree panorama viewer using OpenGL ES on Android.
The idea is:
Draw a cylinder.
Bind the flat image on the cylinder as the texture;
Place the camera at the center of the cylinder.
Rotate the cylinder so we can see different orientation of the panorama view.
I have some ideas on improving performance (or maybe not necessary if the move is smooth?). Since I am new to OpenGL, and its version on Android, before working on it, want to ask for some insights from experts.
(a) Since the cylinder is always the same and the only change is with texture, I may use vertex buffer objects to draw the cylinder object.
From the tutorial on
http://www.learnopengles.com/android-lesson-seven-an-introduction-to-vertex-buffer-objects-vbos/, it seems it can improve performance.
(b) Will using Index Buffer Objects (IBOs) improve performance?