LWJGL 0.92 released!

Started by Matzon, September 06, 2004, 20:47:53

Previous topic - Next topic

Matzon

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...)

Matzon

just remembered a thing - win32 dll's have been optimized for size using UPX. Please report any unexpected behaviour.

cep21

QuoteFullscreen windows can be minimized and the keyboard input is not grabbed, allowing for proper alt-tab support.

Very woot for me.

mac

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

Matzon

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?

thaaks

Confirm.
Trying to start the Space Invaders testcase given the command line from the README with JDK 1.4.2 gives a nice exception...
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

amoeba

I am getting an error when trying to compile using JCreator;

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?

princec

That's the same problem. Matzon will rerelease it tonight targeted against 1.4. (Or you you could upgrade to 1.5RC :P)

Cas :)

Matzon


renanse

Should sourceforge show a newer date on .92 build because it still looks like Sept. 5th to me...  :?

mac

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

Matzon

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

spasi

OpenGL 2.0 is out :wink:

mac

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:


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

mac

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