Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-08-27 05:57:44
yeah true. i'll update when i get the chance.
2  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-08-25 20:50:00
yes that is true. my tute is meant mainnly for n00bs, and the installation section is included only as a courtesy
3  Java Game APIs & Engines / JOGL Development / How To: Up to date Intro to JOGL on: 2007-08-25 08:40:15
When I first started to use jogl I found that alot of the online resources were out dated so I created a new up to date one.

http://cgi.cse.unsw.edu.au/~ekjo014/index.php?n=Programming.JOGLTutorial
4  Java Game APIs & Engines / JOGL Development / Re: How to: Getting started with JOGL on: 2007-08-25 08:37:13
I have written a more up to date tutorial. introducing basically the same concepts.

http://cgi.cse.unsw.edu.au/~ekjo014/index.php?n=Programming.JOGLTutorial
5  Java Game APIs & Engines / JOGL Development / Re: glViewport doesnt set the window size on: 2007-07-30 05:42:07
I actually got the basis of this code from:

http://www.genedavissoftware.com/books/jogl/ljogl_ch1.html

and as i said, i am new to JOGL, and i figured that the GL object is a single instance used to call library (lib) functions to set state variables... i dunno it made sense to me.

so what exactly is glViewport supposed to do??
6  Java Game APIs & Engines / JOGL Development / glViewport doesnt set the window size on: 2007-07-29 13:20:38
Hi

I have only just begun to learn JOGL, i have written several basic programs, but they have all had the same problem. All the drawing works correctly, but when the window is first displayed it is a tiny little square in the top left corner. If the bottom right corner is dragged to expand the window then as I said the drawing is displayed correctly.

Here is the code that i thought was supposed to set the viewable size of the GLCanvas:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
public void init(GLAutoDrawable drawable)
{      
   GL lib = drawable.getGL();
   GLU glu = new GLU();
     
   lib.glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
   lib.glViewport(-500, -300, 500, 300);  // THIS LINE
  lib.glMatrixMode(GL.GL_PROJECTION);
   lib.glLoadIdentity();
     
   glu.gluOrtho2D(-500.0, 500.0, -300.0, 300.0);
}
7  Java Game APIs & Engines / JOGL Development / Good Tutorials For JOGL on: 2007-07-24 14:12:51
Hi

I am a student and am doing a subject where we use JOGL, I have been looking for a good online tutorial but all the ones I have found are out-dated... so I was hoping to be pointed in the direction of a current tutorial.

Thanks All.
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (119 views)
2013-05-17 21:29:12

alaslipknot (126 views)
2013-05-16 21:24:48

gouessej (157 views)
2013-05-16 00:53:38

gouessej (147 views)
2013-05-16 00:17:58

theagentd (162 views)
2013-05-15 15:01:13

theagentd (147 views)
2013-05-15 15:00:54

StreetDoggy (191 views)
2013-05-14 15:56:26

kutucuk (215 views)
2013-05-12 17:10:36

kutucuk (214 views)
2013-05-12 15:36:09

UnluckyDevil (217 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.103 seconds with 21 queries.