Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (429)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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  
  Nehe tutorials ported to jogl 2.0 (1-13 so far)  (Read 3026 times)
0 Members and 1 Guest are viewing this topic.
Offline Grand Poeba

Junior Member





« Posted 2011-11-02 10:52:07 »

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 10.

Tutorial 9: No matter what color I specify before drawing the squares/stars they are always white/grayish

I have attached the code from all current Tutorials i have converted (first 10). 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

EDIT updated link to lessons 13 : File name: tutorials.zip File size: 417.38 KB
Offline gouessej

« In padded room »



TUER


« Reply #1 - Posted 2011-11-02 11:16:34 »

Hi

Can you tell me which version of JOGL 2.0 you use? Which build exactly? Can you rather put a ZIP? I cannot open RAR files. Some tutorials for JOGL are always welcome. Thanks.

Offline Grand Poeba

Junior Member





« Reply #2 - Posted 2011-11-02 12:32:48 »

Hi

Can you tell me which version of JOGL 2.0 you use? Which build exactly? Can you rather put a ZIP? I cannot open RAR files. Some tutorials for JOGL are always welcome. Thanks.

I used version 2.0-b41-20110916 and I uploaded the archive as zip now
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Reply #3 - Posted 2011-11-03 22:33:52 »

Hi

Can you tell me which version of JOGL 2.0 you use? Which build exactly? Can you rather put a ZIP? I cannot open RAR files. Some tutorials for JOGL are always welcome. Thanks.
Why can't you open RAR files? There are lots of excellent free open source programs that can open RAR files, like 7-zip Smiley

Offline gouessej

« In padded room »



TUER


« Reply #4 - Posted 2011-11-04 15:54:23 »

Hi

Can you tell me which version of JOGL 2.0 you use? Which build exactly? Can you rather put a ZIP? I cannot open RAR files. Some tutorials for JOGL are always welcome. Thanks.
Why can't you open RAR files? There are lots of excellent free open source programs that can open RAR files, like 7-zip Smiley
I was at work when I wrote that. I have a root access only on my machines at home. I know 7-zip and I already use it.

@Sebastiaan Rather use GLProfile.getMaxFixedFunc() because the default profile might be the highest forward compatible programmable profile in the future on some graphics cards. I haven't found why your tutorial 9 was not working.

Offline Grand Poeba

Junior Member





« Reply #5 - Posted 2011-11-07 14:23:19 »

I uploaded the new code to include tutorials 11 to 13.

I solved the problem in tutorial 10 with the textures by adjusting the original nehe world.txt to something more suitable
In tutorial 13 however i dont see the text being printed on the screen.
Offline gouessej

« In padded room »



TUER


« Reply #6 - Posted 2011-11-07 15:04:08 »

I uploaded the new code to include tutorials 11 to 13.

I solved the problem in tutorial 10 with the textures by adjusting the original nehe world.txt to something more suitable
In tutorial 13 however i dont see the text being printed on the screen.

Maybe ask some help on the official JOGL forum (JogAmp.org). You should ask Michael Bien (bienator here) to add your tutorials to our wiki.

Offline Grand Poeba

Junior Member





« Reply #7 - Posted 2011-11-08 10:03:26 »

I uploaded the new code to include tutorials 11 to 13.

I solved the problem in tutorial 10 with the textures by adjusting the original nehe world.txt to something more suitable
In tutorial 13 however i dont see the text being printed on the screen.

Maybe ask some help on the official JOGL forum (JogAmp.org). You should ask Michael Bien (bienator here) to add your tutorials to our wiki.

I made topic there too, I solved the tutorial 13 problem by adjusting the translate position
In tutorial 12 however it seems for every triangle it draws and extra black sqaure/triangle that interferes with the cubes rendered thus making it look like corners of the cubes are missing
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (81 views)
2014-04-15 18:08:23

BurntPizza (73 views)
2014-04-15 03:46:01

UprightPath (84 views)
2014-04-14 17:39:50

UprightPath (67 views)
2014-04-14 17:35:47

Porlus (83 views)
2014-04-14 15:48:38

tom_mai78101 (107 views)
2014-04-10 04:04:31

BurntPizza (167 views)
2014-04-08 23:06:04

tom_mai78101 (263 views)
2014-04-05 13:34:39

trollwarrior1 (213 views)
2014-04-04 12:06:45

CJLetsGame (223 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!