LWJGL 0.5 Released

I think I’ll just wait for 0.5.1 (Since I’m not the one having the problem ;-). And I wasn’t very clear about the freezes - they’re of the kind “I wouldn’t know my computer was on if it wasn’t for the noise and the power led”. And yes, the Matrox drivers seem to be somewhere between totally useless and quite bad.

/M

I believe that you are able to get RGBA from RGB framebuffer (gl.readPixels, gl.copyTexImage2D, gl.copyTexSubImage2D) but you’re right: the pixels are opaque. To do the trick you need rendering to texture… 8)

Is it implemented in LWJGL 0.5 (I have not checked yet)?

I’m reasonably certain that render-to-texture won’t allow you to get framebuffer/destination alpha if its not avalible normally. Regardless of that, render-to-texture should be possible with LWJGL, but its a real pain even in ‘normal’ openGL, i gave up after a while and resorted to using gl.copyTexSubImage from the framebuffer instead.

Theres rumour that theres some ARB extensions in the works to standardise render to texture, but they could be a while (although the new vertex buffer extension seem to have just appeared ;D )

You don’t mean a standard way to do what NV_vertex_array_range, does, do you? If so, please link me :slight_smile: I really hate that ati and nvidia does the same in two completely different ways…

  • elias

Why yes i do :slight_smile:

http://www.opengl.org/discussion_boards/ubb/Forum3/HTML/009033.html

Okay folks, the Mac port is being worked on but is currently moving very slowly as I’m wrapped up with CNN stuff. As soon as things calm down a bit, I will be able to give more information about status.

As soon as things calm down a bit!!!
Our respective idiots-in-charge have started a war!
Ho hum.

Cas :slight_smile:

I’m trying to run the examples and everyone of them gives me an error similar to the one below. The machine I’m trying it on seems to only support 16 and 32 bit modes. Anyway I can get around this?

java.lang.Exception: Problem starting loop
at BaseWindow.start(Unknown Source)
at MovingStarBitmaps.main(Unknown Source)
Caused by: java.lang.Exception: Problem initialising Lesson
at BaseWindow.createGLWindow(Unknown Source)
… 2 more
Caused by: java.lang.Exception: Failed to set display mode to 640 x 480 x 24 @72Hz 8bit alpha, 24bit depth, 8bit stencil

    at org.lwjgl.Display.create(Unknown Source)
    ... 3 more

Some display mode fixes went into lwjgl 0.6 - you might want to wait for it. You aren’t by any chance use win9x?

  • elias

nope all of the systems I have access to are Win2K

zp, hack out the LWJGL classes from A.F. and use my .dll if you want most of 0.6.

Cas :slight_smile:

Okay I got it to run on my home machine, so that is good. However I am unable to locate the source code for the examples. I downloaded:

lwjgl-docs-0.5.zip
lwjgl-media.zip
lwjgl-source-0.5.zip
lwjgl-win32-0.5.zip

I’m I just blind? Where are the example .java files? Also are the examples supposed to be in windowed mode?

[quote]However I am unable to locate the source code for the examples
[/quote]
Argh - apparently the src drop didn’t include the examples dir :confused: - I’ll fix this later tonight.

Until then go to chmans excellent site:
http://chman-area.tuxfamily.org/

Thanks for the pointer, that site will help a lot.

What is A.F? Can I get hacked classes and .dll, please?

I have Matrox Millennium G400 and it tends to have problems with Java-based Opengl libraries. I could try a hacked version of v0.5.

I always get “stencil depth” error:
This application requires a greater stencil depth.
java.lang.Exception: Problem starting loop
at BaseWindow.start(Unknown Source)
at Blending.main(Unknown Source)
Caused by: java.lang.Exception: Problem initialising Lesson
at BaseWindow.createGLWindow(Unknown Source)
… 2 more
Caused by: java.lang.Exception: Failed to set display mode to 640 x 480 x 32 @75
Hz 0bit alpha, 0bit depth, 8bit stencil
at org.lwjgl.Display.create(Unknown Source)
… 3 more

[quote]zp, hack out the LWJGL classes from A.F. and use my .dll if you want most of 0.6.
Cas
[/quote]

A.F. == Alien Flux (a game by princec) look in the Your Games Here section for the latest Alpha release.

when is 0.6 coming out anyway?

Real Soon Now ™ (I hope)

  • elias

awesome… i hope it is more stable than b4

I made few test with the following test program. Don’t know whether it gives you gurus ideas about solving G400 problems.

http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=share;action=display;num=1036791657;start=0

Is it possible to force A.F to use given displaymode, so that I could testrun it with my machine. Command-line parameter to force settings or something…