Nehe tutorials ported to jogl 2.0 (1-13 so far)

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

Nehe tutorials ported to jogl 2.0 (1-13 so far)

grandpoeba
Hi everyone,

Recently I decided to pick up on java and opengl again using JOGL.
I was only used to 1.1 version so I decided to port the Nehe tutorials to Jogl 2.0.
However I ran into some trouble with tutorial 9 and 13.

Tutorial 9: No matter what color I specify before drawing the squares/stars they are always white/grayish
Tutorial 13: I dont see the text appearing anywhere on my screen. Maybe i should not use the glut method to draw the string as bitmap on the screen

I have attached the code from all current Tutorials i have converted (first 13). I also made a selection menu so u can easy run each different tutorial.

If anyone has any idea I would like to hear em. Remarks on the current converted code are also welcome.
I will also try and convert eventualy all tutorials and if people are interested in all tutorialcode let me know and I might upload them

Thx

link to archive with source code for lessons 1-13 : Tutorials.zip (417.38 KB)
Reply | Threaded
Open this post in threaded view
|

Re: Nehe tutorials ported to jogl 2.0 (1-13 so far)

Wade Walker
Administrator
Are these adapted from the JOGL 1 versions that are on the NeHe site? If so, have you tested the JOGL 1 verison of tutorial 9 to see if it worked correctly? Maybe the original code was wrong :)

Have you thought of submitting your JOGL 2 ports to the NeHe guys directly? It looks like they've got links in each tutorial for lots of different languages/GL implementations, so your new versions would fit right in beside the old JOGL 1 versions. That way people wouldn't have to search in a different web site for your updated versions.

Reply | Threaded
Open this post in threaded view
|

Re: Nehe tutorials ported to jogl 2.0 (1-13 so far)

Sven Gothel
Administrator
On Wednesday, November 09, 2011 02:44:11 AM Wade Walker [via jogamp] wrote:

>
> Are these adapted from the JOGL 1 versions that are on the NeHe site? If so,
> have you tested the JOGL 1 verison of tutorial 9 to see if it worked
> correctly? Maybe the original code was wrong :)
>
> Have you thought of submitting your JOGL 2 ports to the NeHe guys directly?
> It looks like they've got links in each tutorial for lots of different
> languages/GL implementations, so your new versions would fit right in beside
> the old JOGL 1 versions. That way people wouldn't have to search in a
> different web site for your updated versions.

You are of course also very welcome to maintain them @ jogamp
and let the nehe team link to us.

At least we could have 'em avail via git and maybe host them as applets ?
Would be great if you like to do that.
Sure .. I like to assist .. look @ jogl-demos to see how you may setup
a git repo w/ source code and the web pages for the applets.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Nehe tutorials ported to jogl 2.0 (1-13 so far)

grandpoeba
In reply to this post by Wade Walker
Wade Walker wrote
Are these adapted from the JOGL 1 versions that are on the NeHe site? If so, have you tested the JOGL 1 verison of tutorial 9 to see if it worked correctly? Maybe the original code was wrong :)

Have you thought of submitting your JOGL 2 ports to the NeHe guys directly? It looks like they've got links in each tutorial for lots of different languages/GL implementations, so your new versions would fit right in beside the old JOGL 1 versions. That way people wouldn't have to search in a different web site for your updated versions.
They are not adaptions of the 1.x version. I started from scratch converting the original Nehe c++ code to jogl 2.x

I will look into it for submitting later