Pro OpenGL ES for iOS

(singke) #1

284 CHAPTER 8: Putting It All Together^


Figure 8-8. Our one-planet solar system

Cool, eh? And of course, if you don’t see the above, recheck all of your code, and feel
free to cheat by just getting the entire project from Apress. Of course it’s missing the
clouds, but those will be handled a little later.
At this stage, a small problem arises as OpenGL ES shows off a slightly uglier side of
things. Examine the lines closely on your emulator or on a non-Retina device. They don’t
look particularly good, do they? Anti-aliasing of lines was something the OpenGL ES
standards committee apparently felt they could leave out, even though it is standard in
the desktop libraries.

Note The simulator can generate anti-aliased lines, but not so when run on real hardware.
Free download pdf