Hello Guest

LWJGL 0.92 released!

  • 26 Replies
  • 14759 Views
*

Offline Matzon

  • *****
  • 2242
LWJGL 0.92 released!
« on: September 06, 2004, 20:47:53 »
Go grap it!
http://sourceforge.net/project/showfiles.php?group_id=58488

Lots of stuff changed amongst other things:
 - No mac build. Mac still in progress (bloody paypal!)
 - Support for fmod3 (preview, still missing som functionality)
 - Linux: Support for _NET_WM_STATE window manager hints and X RandR extension. Fullscreen windows can be minimized and the keyboard input is not grabbed, allowing for proper alt-tab support.
 - Merging of Display/Window into org.lwjgl.opengl.Display. This makes for an even simpler game loop and the ability to switch modes and windowed state and still keep the context. You can begin deleting your fancy texture managers that automatically reloads textures right now icon_smile.gif
 - A new PixelFormat class for Display.create and Pbuffer.create instead of the ever growing list of arguments. PixelFormat includes support for accumulation buffer, aux buffers and stereo mode (untested).
 - Native stubs for GL and AL classes are now unloaded when no context is active. Avoids native crashes if you call gl/al functions after you've destroying the respective contexts.
 - Moved native stub loading into java. This should allow advanced users to simply include just those extensions you like and nothing else, saving LWJGL distribution size. For examples you could remove any other extension class than GL11, GL12, GL13 and ARBVertexBufferObject, ARBBufferObject.
 - More error checking and fixes
 - Clipboard functionality
 - Model loading (no renderer...)

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.92 released!
« Reply #1 on: September 06, 2004, 22:00:06 »
just remembered a thing - win32 dll's have been optimized for size using UPX. Please report any unexpected behaviour.

LWJGL 0.92 released!
« Reply #2 on: September 06, 2004, 22:55:24 »
Quote
Fullscreen windows can be minimized and the keyboard input is not grabbed, allowing for proper alt-tab support.


Very woot for me.

*

Offline mac

  • *
  • 37
    • http://www.mac-systems.de
bad class error
« Reply #3 on: September 07, 2004, 02:45:27 »
hi,

i get a
Quote

"bad class error GL11.class, file has wrong version 49, should be 48"

when compiling with java_1.4.2_01-b06 under WinXP. Someone else too ?

PS: Very interresting new addons :D

-jens
he Network is the Music
www.mac-systems.de

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.92 released!
« Reply #4 on: September 07, 2004, 05:15:06 »
aaaarrrggghhh - that might be because I compiled with 1.5beta and you're using 1.4 - perhaps I should have compiled with -target 1.4.

Can anybody else confirm?

LWJGL 0.92 released!
« Reply #5 on: September 07, 2004, 07:49:22 »
Confirm.
Trying to start the Space Invaders testcase given the command line from the README with JDK 1.4.2 gives a nice exception...
Code: [Select]

D:\Tommy\Java\lwjgl-win32-0.92>java -cp lwjgl.jar;lwjgl_media.jar;lwjgl_test.jar
;lwjgl_util.jar; org.lwjgl.examples.spaceinvaders.Game
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/lwjgl/exa
mples/spaceinvaders/Game (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


Regards,
Tommy

LWJGL 0.92 released!
« Reply #6 on: September 07, 2004, 10:18:57 »
I am getting an error when trying to compile using JCreator;

Code: [Select]
cannot access org.lwjgl.util.vector.Vector2f
bad class file: C:\lwjgl-win32-0.92\lwjgl_util.jar(org/lwjgl/util/vector/Vector2f.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import org.lwjgl.util.vector.Vector2f;


I am using Java 1.4.0. Do I need to use a different JDK?

*

Offline princec

  • *****
  • 1932
    • Puppygames
LWJGL 0.92 released!
« Reply #7 on: September 07, 2004, 11:13:07 »
That's the same problem. Matzon will rerelease it tonight targeted against 1.4. (Or you you could upgrade to 1.5RC :P)

Cas :)

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.92 released!
« Reply #8 on: September 07, 2004, 17:43:28 »
should be fixed

LWJGL 0.92 released!
« Reply #9 on: September 07, 2004, 20:24:23 »
Should sourceforge show a newer date on .92 build because it still looks like Sept. 5th to me...  :?

*

Offline mac

  • *
  • 37
    • http://www.mac-systems.de
LWJGL 0.92 released!
« Reply #10 on: September 08, 2004, 00:18:26 »
Yep, Good Work :D

I fixed refactored classes, compiled and it run without any
errors.

Using the PixelFormat is very handy, only the double Display.classes are at first a bit confusing.


- jens
he Network is the Music
www.mac-systems.de

*

Offline Matzon

  • *****
  • 2242
LWJGL 0.92 released!
« Reply #11 on: September 08, 2004, 05:18:47 »
You're thinking of the utility Display class ? - yeah it can be a bit confusing but if you don't use any stuff in the util package, just remove it from your package list

*

Offline spasi

  • *****
  • 2191
    • WebHotelier
LWJGL 0.92 released!
« Reply #12 on: September 08, 2004, 16:51:48 »
OpenGL 2.0 is out :wink:

*

Offline mac

  • *
  • 37
    • http://www.mac-systems.de
LWJGL 0.92 released!
« Reply #13 on: September 08, 2004, 17:51:13 »
Hi,

i try to get some basic FMOD example to run, but
it seems that i am unable to init it corretly.

I looked at the Sources & StreamTest.class how to init it:


Code: [Select]


try
{
FMOD.create();
}
catch(Exception e)
{
  e.printStackTrace():
}


Should do the thing, right ?

But even this throw an error that the FMOD.lib
can't be found. I located the fmod-3.dll in my classpath were also all other lwjgl dll's stored.

What i'm doing wrong ?

- jens
he Network is the Music
www.mac-systems.de

*

Offline mac

  • *
  • 37
    • http://www.mac-systems.de
LWJGL 0.92 released!
« Reply #14 on: September 08, 2004, 18:10:51 »
I am stupid,

i fixed the problem by myself.

Solution: Downloading the FMOD API Package
and put the fmod.dll into the classpath.

UUhh, sorry for that  :oops:

-  jens
he Network is the Music
www.mac-systems.de