JOGL?

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

JOGL?

Daniel
hey im new to this and i dont know where to get the classes and stuff i need to use JOGL. can some one help me?
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Demoscene Passivist
Administrator
Hi!
Got the same problem a while ago. Even after reading the wiki, userguide an browsing the forums u dont really know where to start. The information is there but a little "hidden". So heres what I have done (using Windows - for Linux its similar but other native libraries):

1. Download the JOGL autobuild from here: http://jogamp.org/deployment/autobuilds/
   (I used this one http://jogamp.org/deployment/autobuilds/jogl-2010-06-15_22-33-09/build/)
2. Extract ur platform .zip and add gluegen-rt.jar, jogl.all.jar and nativewindow.all.jar to ur classpath
3. Add the native libraries gluegen-rt.dll, jogl_desktop.dll and nativewindow_awt.dll to ur path
4. Copy/Paste this simple one class example http://github.com/sgothel/jogl-demos/blob/master/src/demos/gears/Gears.java
   ("Gears" example from the JOGL-Demos github repository)
5. Compile and enjoy Java OpenGL:)

Hope that helps to get started ...


Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
ok so i downloaded it but im not sure where on my Comp to put the files uhhh can you give me a file path kuz im not that familiar with some of these terms XD
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Demoscene Passivist
Administrator
Take a look here: http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/essential/environment/paths.html

... but if ur not familiar with the basic setup of java applications in general I wouldn't recommend starting with such a "complicated" task as OpenGL or JOGL. Anyway godspeed in ur undertaking :)
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
i know how to program i just dont know how to put this stuff in so i can use it :P
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
In reply to this post by Demoscene Passivist
also what program are u using to program things with this, kuz idk if that will make a difference
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Demoscene Passivist
Administrator
Personally I'm using "Eclipse" as my IDE. One of the JOGL maintainers is using "Netbeans" with the "OpenGL Pack" as far as I'm informed. Take a look here: http://michael-bien.com/mbien/category/NetBeans+OpenGL+Pack

... also I've heard some horror-stories of people using "VI" as their favorite development environment *scnr* :).

So in the end it doesnt really matter what editor/IDE u use. If u are asking for the most beginner friendly IDE I would recommend u Netbeans with the OpenGL Pack.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Michael Bien
however the OpenGL Pack isn't compatible with NetBeans 6.9 yet and ships with an older version of JOGL. But if you are using NB 6.8 its a nice way to get started (contains a lot of demos etc).

On 07/18/2010 09:31 PM, Demoscene Passivist [via jogamp] wrote:
Personally I'm using "Eclipse" as my IDE. One of the JOGL maintainers is using "Netbeans" with the "OpenGL Pack" as far as I'm informed. Take a look here: http://michael-bien.com/mbien/category/NetBeans+OpenGL+Pack

... also I've heard some horror-stories of people using "VI" as their favorite development environment *scnr* :).

So in the end it doesnt really matter what editor/IDE u use. If u are asking for most beginner friendly IDE I would recommend u Netbeans with the OpenGL Pack.


View message @ http://jogamp.762907.n3.nabble.com/JOGL-tp963769p976872.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
where can i get the 6.7 version?
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Michael Bien
http://kenai.com/projects/netbeans-opengl-pack/downloads/directory/releases

or even older releases:
https://netbeans-opengl-pack.dev.java.net/servlets/ProjectDocumentList?folderID=11496&expandFolder=11496&folderID=8522

On 07/18/2010 10:53 PM, Daniel [via jogamp] wrote:
where can i get the 6.7 version?


View message @ http://jogamp.762907.n3.nabble.com/JOGL-tp963769p976980.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
no i mean NetBeans 6.7 :P
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Michael Bien
on netbeans.org
download -> archive

On 07/18/2010 11:02 PM, Daniel [via jogamp] wrote:
no i mean NetBeans 6.7 :P


View message @ http://jogamp.762907.n3.nabble.com/JOGL-tp963769p976991.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
one last question, where do i put the files from the OpenGL rar?
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Demoscene Passivist
Administrator
opengl.rar ? U mean opengl.jar ? Are u using "Processing" ?

... when it comes to JOGL2 there is no opengl.jar!
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
sry if i confused u but i was just talking about the Netbeans OpanGL Pack that that guy linked
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Michael Bien
that guy recommends to take a look at
http://kenai.com/projects/netbeans-opengl-pack/pages/Home#Installation
you can even ignore step 3 :)

regards,
michael

On 07/20/2010 04:45 PM, Daniel [via jogamp] wrote:
sry if i confused u but i was just talking about the Netbeans OpanGL Pack that that guy linked


View message @ http://jogamp.762907.n3.nabble.com/JOGL-tp963769p981409.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
will it work with netbeans v 6.9? and when i try to install it a window pops up and says i need to install plugin Editor Library. and i dont know where to get this i've searched the netbeans plugin section. sry about all the questions
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Michael Bien
http://jogamp.762907.n3.nabble.com/JOGL-tp963769p976919.html
Daniel wrote
will it work with netbeans v 6.9? and when i try to install it a window pops up and says i need to install plugin Editor Library. and i dont know where to get this i've searched the netbeans plugin section. sry about all the questions
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Daniel
uhhhhhh that just sends me back to this topic
Reply | Threaded
Open this post in threaded view
|

Re: JOGL?

Unfrog
In reply to this post by Demoscene Passivist
Sorry, I seem to be having problems with installing JOGL too and I didn't understand point 3 ('Add the native libraries gluegen-rt.dll, jogl_desktop.dll and nativewindow_awt.dll to ur path') of your post. Where should I add them? PATH system variable?

thanks.
12