• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How I can draw a sphere with opengl es in android?

Spheres are very complex objects. The two easiest ways I can think to do this are:

1) Create a sphere using a 3D modeling tool (Blender is a free one) and export it to an .obj file. Then, read the obj file into your application and render it.

2) look at the glut source code and copy the indicies into your application.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones