Registered: 14 years ago
I hacked the code for recursive subdivision of triangles from chapter 6 of the text book, and with minor modifications (and much frustration) it works. Yes, you have to write your own routines. No, glutWireSphere will never draw solid spheres. There is a glut routine called glutSolidSphere that takes the same arguments, but it also uses quads so it won't count if you use it.
A word of warning when doing recursive subdivision of triangles: do not recurse too deeply or you will hang up your processor Recursing about 7 times for the sun is fine. Recursing 15 times freezes my PC completely.
Re the Earth drawn with quads, it is indeed. However, it is calling the glut function glutWireSphere, which I think is going to pose a huge problem with the texture mapping. We may have to home brew a routine to draw a sphere with quads in order to get the texture mapping to work.