September 11th, 2012, 11:28 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Jul 2010
Gender: Male
Posts: 1,925
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT
Thanks: 235
Thanked 463 Times in 286 Posts
|
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.
|
|
|