The OpenGL Red Book in Java

Hello everyone!
I have completed porting of the red book first edition.
The examples are available here:
http://ak.kiet.le.googlepages.com/theredbookinjava.html

The examples requires java runtime 1.4.2+.

Please let me know if there is any fault in the examples or links.
The examples links are JNLP files and they do require that
you “Save target as” onto your desktop and run it. All jnlp, sources,
and classes are archive in glredbook10.jar. See the README for
more info.

All right nOObs. Cheers to OpenGL! And happy coding!

This is great work! Definitely a valuable resource for learning OpenGL with JOGL.

We should perhaps change where the JNLP files are hosted to get the right MIME type served up for them. We’ve discussed this already briefly via email; let’s continue the conversation offline.

@Ka-El
I am in the process of creating netbeans projects for the JOGL demos that can be autogenerated from a netbeans plugin (discussed here), so new users can start from a demo/example and play around.

Would you mind, if I incorporate your examples, too?

thank you for your efforts,

bernie

I don’t mind at all. Lemme know when you have a working sample. I wasn’t able to get your plug-in to work earlier. I’ll try another time. good luck.

Hi,

I use netbeans too, but I think that supplying a simple build.xml file per example would be fine, since both Eclipse and Netbeans (and many other IDEs out there) are able to load them up and setup their own projects for it.

Normally I would say you are right, but this netbeans plugin is kind of a pet project for me, so in this case I am not really interested in providing a generic solution. (I don’t like eclipse very much, also ;))

However, a generic build-file should be easy to write, since there are plenty of templates out there and you just have to add a to the task.

Sure, I use ant to build my JOGL game, and that’s why I suggested that - it’s easy enough to setup a project in netbeans using a build.xml file. Looks like we both agree on how great this IDE is :wink:

I suggested so because it would take you no work at all, and you would make lots of people happy with it, not just the ones using Netbeans / Eclipse =D

Anyway, nice work! Looking forward to it.

Son Of Cain

good work, this is really helping me with my jogling!

fedda

I have just uploaded more examples for the third edition of the book. I am not getting any visible results for multitex and texture3d, so these are not available. Please test them. many fixes were made also. happy coding, noobs. and please report bugs.

oh, just fixed file reading from the jar problem that give me a blank window. enjoy.