Appendix D: The JARs, Sources and a Brick Texture – Learning Java Bindings for OpenGL (JOGL)

This book and the excerpts on this blog are from 2004. Obviously, the API has changed a bit since then. I provide the older information and book in the hope that it will be useful to some hobbyists.

Purchase Printed Book Learning Java Bindings for OpenGL (JOGL)

 

Table of Contents: Learning Java Bindings for OpenGL (JOGL)

This book describes JOGL which was approved as JSR 231 and will become the javax.media.opengl package.

-T. Gene Davis

 

 

copyright 2004 by Gene Davis of genedavissoftware.com

Appendix D: The JARs, Sources and a Brick Texture

Where is here?

I’m assembling the source and pre-compiled classes and/or JARs here that I made for the book. Also at the bottom is
the texture I made for chapter nine. Feel free to use or modify this code, but remember it is provided on an “as is” basis.

Examples for chapter 1

ch1.zip has some very basic JOGL apps with source and classes. Also, the ‘read_me.txt’
file contains instructions for running the compiled classes. If you want
code to help you determine if JOGL is installed properly, look at the HelloWorld class and java source file.
(‘ch1.zip’ updated June 2007)

Examples for chapter 2

ch2.zip contains samples of using trig with JOGL. Both classes and source code are
included.
(‘ch2.zip’ updated June 2007)

Examples for chapter 3

ch3.zip contains several loose class files as well as the bouncing example and the dial
example code and classes.
(‘ch3.zip’ updated June 2007)

Examples for chapter 4

ch4.zip contains the listener examples in source and classes. I give examples of
capturing mouse clicks, mouse movement, key presses and focusing as it relates to JOGL.
(‘ch4.zip’ updated June 2007)

Examples for chapter 5

ch5.zip gives the source and classes for the planes at different distances example.
(‘ch5.zip’ updated June 2007)

Examples for chapter 6

ch6.zip contains some GLUT object examples with source and classes.
(‘ch6.zip’ updated June 2007)

Examples for chapter 7

ch7.zip contains the coolest code in the book. It is the first person movement source and
classes.
(‘ch7.zip’ updated June 2007)

Examples for chapter 8

ch8.zip contains the lighting source and classes.
(‘ch8.zip’ updated June 2007)

Examples for chapter 9

First off, here is the the long awaited brick texture. You can use it for free for what ever you like, though I would appreciate credit where deserved.

an_img

 

ch9withimage.zip contains the source and compiled JAR for the texture example in this chapter.
(‘ch9withimage.zip’ created 2004)

 

Purchase Printed Book Learning Java Bindings for OpenGL (JOGL)

 

Table of Contents: Learning Java Bindings for OpenGL (JOGL)