Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (778)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  New to JOGL - where to start?  (Read 2542 times)
0 Members and 1 Guest are viewing this topic.
Offline EpicNerd

Junior Newbie





« Posted 2009-06-10 19:47:34 »

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

Offline PeterB

Junior Devvie


Exp: 15 years



« Reply #1 - Posted 2009-06-10 23:02:58 »


Things I found invalulable when starting out:
 
 - This forum (1st on the list, obviously)  Wink

 - The OpenGL 'Red Book' http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321481003/ref=sr_1_1?ie=UTF8&s=books&qid=1244674379&sr=8-1

 - NeHe tutorials http://nehe.gamedev.net/

 - OpenGL.org http://www.opengl.org/

 - A good book on geometry (hope you like mathematics) http://www.amazon.com/Geometry-Demystified-Stan-Gibilisco/dp/0071416501/ref=sr_1_1?ie=UTF8&s=books&qid=1244674587&sr=1-1

 - General Java / Game Programming books such as these may be of use, but not specific to OpenGL/JOGL:
   http://www.amazon.com/Java-Cookbook-Second-Ian-Darwin/dp/0596007019/ref=sr_1_1?ie=UTF8&s=books&qid=1244674706&sr=1-1
  http://www.amazon.com/Killer-Game-Programming-Andrew-Davison/dp/0596007302/ref=sr_1_2?ie=UTF8&s=books&qid=1244674731&sr=1-2

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

Offline cylab

JGO Kernel


Medals: 188



« Reply #2 - Posted 2009-06-11 10:00:04 »

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

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)

Also, how much OpenGL do you need to know?

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

Mathias - I Know What [you] Did Last Summer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ibn Saeed

Innocent Bystander





« Reply #3 - Posted 2009-06-11 11:25:04 »

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.

?
Offline EpicNerd

Junior Newbie





« Reply #4 - Posted 2009-06-11 14:49:42 »

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
Offline bienator

Senior Devvie




OutOfCoffeeException


« Reply #5 - Posted 2009-06-11 15:55:59 »

1)  Is it better to write the OpenGL stuff first in C and then port it some how?
No, since if you start you project from scratch anyway you don't need to port if you already wrote it in java Wink

2)  How can I find out which OpenGL features go with which version?  OpenGL 1.0, 1.5, 2.0, etc.
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:

(more details here)

I've heard "the red book" passed around quite frequently - I'll look for it at the bookstore today/tomorrow.
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).

Offline sgoethel

Junior Devvie




keep the source alive


« Reply #6 - Posted 2009-06-12 00:19:36 »

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.

JogAmp [ GlueGen, JOAL, JOGL, JOCL, ..]
http://www.jogamp.org
Offline bienator

Senior Devvie




OutOfCoffeeException


« Reply #7 - Posted 2009-06-12 00:32:08 »

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
Wink

Pages: [1]
  ignore  |  Print  
 
 

 
hadezbladez (377 views)
2018-11-16 13:46:03

hadezbladez (198 views)
2018-11-16 13:41:33

hadezbladez (380 views)
2018-11-16 13:35:35

hadezbladez (93 views)
2018-11-16 13:32:03

EgonOlsen (2195 views)
2018-06-10 19:43:48

EgonOlsen (2245 views)
2018-06-10 19:43:44

EgonOlsen (1387 views)
2018-06-10 19:43:20

DesertCoockie (2025 views)
2018-05-13 18:23:11

nelsongames (1691 views)
2018-04-24 18:15:36

nelsongames (2337 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!