Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (540)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 / Java Sound & OpenAL / No windows binaries? on: 2010-05-29 21:04:33
There hasn't been any windows binaries being compiled lately, anybody care to shed light on why this is?

edit: Please disregard this thread.  I'm just going to find another 3d sound library to use Smiley.
2  Java Game APIs & Engines / JOGL Development / Re: Unable to initialize JAWT on: 2009-11-28 22:55:07
i too have this problem, and it seems to be an issue with the native method JAWT_GetAWT0(ByteBuffer).
3  Java Game APIs & Engines / JOGL Development / Re: Rendering java.awt.Graphics into a JOGL application example wanted on: 2009-11-20 17:49:37
wouldn't just overriding the paint() method in a canvas work?
4  Java Game APIs & Engines / JOGL Development / Re: jogl without a GLEventListener? on: 2009-11-20 02:05:10
Hi
The book "Pro Java 6 3D game development" shows how this could be done. You can probably google on "Active rendering" and find
some more information about this.
The code in the book is rather old, so i guess you have to replace the code that initialize the rendering canvas with something like this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
AWTGraphicsScreen screen = ( AWTGraphicsScreen)AWTGraphicsScreen.createDefault();
AWTGraphicsConfiguration config = ( AWTGraphicsConfiguration )GraphicsConfigurationFactory
    .getFactory( AWTGraphicsDevice.class ).chooseGraphicsConfiguration( caps, null, screen );

NativeWindow win = NativeWindowFactory.getNativeWindow( this, config );

GLProfile profile = GLProfile.get( GLProfile.GL2 );            
this.drawable = GLDrawableFactory.getFactory( profile ).createGLDrawable( win );
this.context = drawable.createContext( null );

thanks, i solved it before although this is basically what i had Smiley

but now for some reason java is throwing an exception:
1  
2  
3  
4  
5  
6  
7  
8  
9  
Exception in thread "Thread-3" java.lang.RuntimeException: Unable to initialize JAWT
   at com.sun.nativewindow.impl.jawt.JAWT$1.run(JAWT.java:100)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.nativewindow.impl.jawt.JAWT.getJAWT(JAWT.java:95)
   at com.sun.nativewindow.impl.jawt.windows.WindowsJAWTWindow.lockSurface(WindowsJAWTWindow.java:69)
   at com.sun.opengl.impl.GLDrawableImpl.lockSurface(GLDrawableImpl.java:130)
   at com.sun.opengl.impl.windows.wgl.WindowsWGLDrawable.setRealized(WindowsWGLDrawable.java:70)
   at org.peehpee.gl.ui.Canvas3D.run(Canvas3D.java:66)
   at java.lang.Thread.run(Unknown Source)

i've never had  this before, any ideas?
5  Java Game APIs & Engines / JOGL Development / jogl without a GLEventListener? on: 2009-11-17 22:27:23
Hey, I would like to use JOGL without an event listener, somewhere along the lines of obtaining the GLContext and invoking commands to its instance of GL, could anyone help me with this?
incase you need it made any clearer, here is an example:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
         int result = context.makeCurrent();
         switch (result) {
            case GLContext.CONTEXT_NOT_CURRENT:
               System.err.println("Couldn't obtain GLContext");
               break;
            default:
               // draw to context.getGL()
               break;
         }
         context.release();
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.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

rwatson462 (53 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (85 views)
2014-12-09 22:41:13

BurntPizza (110 views)
2014-12-08 04:46:31

JscottyBieshaar (79 views)
2014-12-05 12:39:02

SHC (89 views)
2014-12-03 16:27:13

CopyableCougar4 (97 views)
2014-11-29 21:32:03

toopeicgaming1999 (155 views)
2014-11-26 15:22:04

toopeicgaming1999 (152 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!