Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
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]
 

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 (15 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (184 views)
2014-04-01 02:16:10
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

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