LWJGL 2.0 Alpha 3

Started by Matzon, April 07, 2008, 20:59:33

Previous topic - Next topic

Matzon

Time for a new update!

LWJGL 2.0 changes
* glu moved to lwjgl_util
* no more processMessages at isCloseRequested, isVisible, isDirty and isActive
* glu now uses buffers instead of arrays
* fmod and devil removed
* dropped support for windows 9x

New in alpha 3
* Removed 2D OpenGL initialization code from Display. It messes with the implicit, but well-defined, opengl default state and doesn't fit well with multiple context types (gl3 and d3d)
* New EXPERIMENTAL Display.setParent() feature allows you to embed the Display into an existing AWT canvas. For example, this allows for an existing LWJGL based application to be used in an applet without porting to AWTGLCanvas. If this is a success, it should mean the death of AWTInputAdapter.
* Fixed applet loader issues where downloads failed
* Mac OS X: Added support for x86_64
* Linux: Using openal-soft instead of the creative (was more or less broken anyway)

Get it here

Please test the new setParent feature A LOT - example usage (really simple!).

NOTICE: Due to a packaging error, jinput-64bit didn't make it into the distribution. Get it here

Remember to donate ;)

kappa

great job ppl (as usual) :)

Fool Running

QuoteNew EXPERIMENTAL Display.setParent() feature allows you to embed the Display into an existing AWT canvas. For example, this allows for an existing LWJGL based application to be used in an applet without porting to AWTGLCanvas. If this is a success, it should mean the death of AWTInputAdapter.
This sounds interesting.

Keep up the good work, guys ;D
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

jarome

On OS-X, I got an error when I tried the test program:

jarmac:lwjgl-2.0a4 jar$ java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.WindowCreationTest
The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version is '15', native libary version is '13'
        at org.lwjgl.Sys.<clinit>(Sys.java:105)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:128)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:80)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)

kappa

look like the native files are not matching the lwjgl.jar, got mixed with older version?