[Rotating Cube PIC] Chapter 15.   Two JOGL Programming Frameworks

 

This chapter introduces JOGL, a Java wrapper for the 3D (and 2D) graphics library OpenGL. I'll implement a simple example, a rotating multi-colored cube, using two programming frameworks, one employing callbacks, the other utilizing active rendering. One way that I'll compare them is by seeing how well they handle different frame rates for the cube's animation.

The next chapter explores JOGL features in more detail when I develop an application containing many of the elements you've already seen coded in Java 3D, including a checkboard floor, a rotating textured sphere, a skybox, a billboard, overlays, and keyboard navigation. The third chapter examines how to load OBJ models, implement collision detection, and play 3D sound.

 

Downloads


Navigation:


Dr. Andrew Davison
E-mail: ad@coe.psu.ac.th
Back to my home page