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


Last Updated:

  1. hfdjw

    hfdjw Member

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

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    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.

Share This Page