Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ways to improve performance for horizontal 360 degree panorama viewer using OpenGL ES on Android?

100 views
Skip to first unread message

Linda Li

unread,
Feb 22, 2013, 3:19:37 PM2/22/13
to
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?

Nobody

unread,
Feb 23, 2013, 11:45:25 AM2/23/13
to
On Fri, 22 Feb 2013 12:19:37 -0800, Linda Li wrote:

> (b) Will using Index Buffer Objects (IBOs) improve performance?

It depends upon the size of the array(s).

0 new messages