New to JOGL - where to start?

First off, it took me quite a while to find an active community that was actually using/discussing anything JOGL-related.

Is there an updated guide on how to get JOGL, Java Webstart, etc up and running?

Also, how much OpenGL do you need to know? I’m a CS Major so I know a little Java and C.

Thanks in advance,

  • Anthony

Things I found invalulable when starting out:

How much OpenGL will you need to learn? A lot, to be honest because JOGL is simply giving you access to OpenGL calls via Java.
Eventually you’ll may start amassing a collection of books to do with A.I., physics and also the ‘Orange Book’ (shaders).

Good luck!
Pete

If you are using Netbeans, take a look at the Netbeans Opengl Pack (only functional for 6.5, a 6.7 version is in the works)

Since JOGL is a pure OpenGL binding, this question is a bit weird :wink:

I am also new

I am in a similar situation as the thread starter.

I am learning Java with “The Art and Science of Java” book and following Standfords’ Programming Methodology course which uses Java.

Where should a beginner start with JOGL, are there any books, tutorials, videos etc.

?

Awesome! Thanks for the heads up.

I didn’t know we had access to the entire OpenGL library - that is pretty incredible.

I’ve heard “the red book” passed around quite frequently - I’ll look for it at the bookstore today/tomorrow.

A couple of more questions:

  1. Is it better to write the OpenGL stuff first in C and then port it some how?
  2. How can I find out which OpenGL features go with which version? OpenGL 1.0, 1.5, 2.0, etc.

The reason for #2 is important. I’m doing some visualization stuff for Cloud Computing and it needs to work on a wide range of systems. I’ve tried some of the JOGL demos on a very old IBM Thinkpad with no dedicated gfx card and it was able to run all the demos that had “no requirements”.

Thanks again.

-Anthony

No, since if you start you project from scratch anyway you don’t need to port if you already wrote it in java :wink:

most fixed function pipeline features are very old (<=1.5). If you don’t start using shaders you are usually on the safe side (<=1.5).
If you are a NetBeans user and want to know more details about a specific feature or extension you can use the GL quicksearch gimmick of the GL pack to jump directly to the vendor specification.
here is a screenshot:

https://netbeans-opengl-pack.dev.java.net/resources/OpenGL_QuickSearch.png

(more details here)

older versions of the OpenGL Programming Guide (aka red book) are also available as pdf for download (at least this is how it worked in past).

Regarding which GL version to use for new projects,
I would say something GLSL based.

This means, no fixed functionality and stick to the ES2.x and/or GL3.1 profile,
in JOGL2 terms, this would be GL2ES2 … maybe GL3 (3.1) for enhanced desktop apps.

he has a [quote]very old IBM Thinkpad with no dedicated gfx card
[/quote]
:wink: