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 (406)
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 / HP-UX support on: 2005-06-16 14:32:46
Has anyone tried JOGL on HP-UX?

I guess just building the native part (X11) and running should work?
Or does anyone anticipate problems on HP-UX?


Any info appreciated,

Frank.

2  Java Game APIs & Engines / JOGL Development / Re: JOGL + XiG Summit Accelerated X server on: 2004-05-06 09:45:43

It could be a problem with the default capabilities chooser,
choosing a mode with indirect rendering.
You could try your own chooser and try to select a
HW accelerated mode.

See also topic: hardware acceleration breaks with new version.

I'd be interested to know whether you get HW acceleration working on the XIG server. Keep us posted.

Frank Suykens.
3  Java Game APIs & Engines / JOGL Development / Why JRE 1.4.2 needed? on: 2003-12-11 09:25:23
We've started using JOGL in a project, and I need to motivate why a customer needs to upgrade from 1.4.1 to 1.4.2 (on Solaris).  It would be nice if I could reference a number of specific bugs fixed in 1.4.2 that affect JOGL.

Anyone know any? Or any other reason?


Thanks,

Frank.
4  Java Game APIs & Engines / JOGL Development / Creating a GLCanvas from the AWT thread on: 2003-11-19 15:00:31
Hi,

I have a problem (and some workaround)  when creating a GLCanvas from the AWT thread: I open a JFrame with a JButton inside that, when pressed, triggers the creation of a GLCanvas that is added to the frame's content pane.
When the creation of the GLCanvas triggers a reshape (I call setSize), I get the following exception:

net.java.games.jogl.GLException: Unable to lock surface
(stack trace at end).

A workaround that I found is to create a new thread in the actionPerformed of the button-listener (AWT thread) and
create the GLCanvas in the new thread. The button
code is as follows:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
JButton button = new JButton( "Activate Gears" );
button.addActionListener( new ActionListener() {
      public void actionPerformed( ActionEvent e ) {
          Thread init_3d_thread = new Thread() {
            public void run() {
               // create GLCanvas
             startGears( pane );
            }
          };

          init_3d_thread.start();

          try {
            init_3d_thread.join();
          } catch ( InterruptedException ex ) {
            ex.printStackTrace();
          }


The AWT thread just waits until the creation of the GLCanvas finishes (in startGears), but it works.
Anybody know what is going wrong (or what I am doing wrong) and why the workaround works?

I'm running under windows. I've got a modified gears demo that demonstrates the problem if needed.

Thanks,

Frank.


PS. Stack trace:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
net.java.games.jogl.GLException: Unable to lock surface
      at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.lockSurface(WindowsOnscreenGLContext.java:155)
      at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(WindowsOnscreenGLContext.java:107)
      at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:199)
      at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:105)
      at java.awt.Component.setBounds(Component.java:1664)
      at java.awt.Component.resize(Component.java:1601)
      at java.awt.Component.setSize(Component.java:1593)
      at Gears.startGears(Gears.java:93)
      at Gears$1.actionPerformed(Gears.java:61)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
...
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks 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 (84 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (187 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.145 seconds with 21 queries.