Hi,
i've just ported jPCT to 2.0rc2. Everything works fine except for anti aliasing...it's gone. I'm doing this:
Display.create(new PixelFormat(bpp, 0, zbpp, 0, samples));
No matter which value i'm using for samples, it always gives me a
org.lwjgl.LWJGLException: Failed to find ARB pixel format 1 0
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:177)
at org.lwjgl.opengl.Display.createWindow(Display.java:300)
at org.lwjgl.opengl.Display.create(Display.java:816)
at org.lwjgl.opengl.Display.create(Display.java:744)
I don't know about 2.0rc1, but in 1.1.4, the exact same code was working fine and gave me some nice AA. Any ideas?
This is on a Radeon 4870, Catalyst 8.8, Windows Vista
please give 2.0rc1 a whirl - spasi changed some stuff around for OGL3.
Quote from: Matzon on September 16, 2008, 19:27:39
please give 2.0rc1 a whirl - spasi changed some stuff around for OGL3.
In 2.0rc1, everything works fine. AA is present as it should be.
strange - I'll poke spasi when I see him
On my work machine (Nvidia Quadro 290...unknown driver...), AA works fine. So i can now choose between home (no AA, but sound) and work (AA, but no sound) with rc2... :P
I committed a possible fix, let me know if it still isn't working.
Quote from: spasi on September 17, 2008, 11:29:51
I committed a possible fix, let me know if it still isn't working.
I have nothing installed to compile this native stuff myself. Is the modified dll already part of the rc2-distribution? If not, could you please provide me with a compiled version?
try this one:
http://matzon.dk/brian/lwjgl/lwjgl-new-for-olsen-banden.dll
Quote from: Matzon on September 17, 2008, 16:02:37
try this one:
http://matzon.dk/brian/lwjgl/lwjgl-new-for-olsen-banden.dll
Thank you, but it doesn't help... :'( Still no AA on ATI with this dll.
Do you get the same error if you set samples to 0 or 1?
Quote from: spasi on September 18, 2008, 10:53:51
Do you get the same error if you set samples to 0 or 1?
0 works fine...it always did. Everything else doesn't work. However, the exception has changed with the new dll to:
Failed to find ARB pixel format 0 0
(the 1 is a 0 now...everything else remains the same)
Note that the legacy wglChoosePixelFormat (not ARB) code path is probably selected when samples = 0.
- elias
I noticed the same issue (no multisampling) on NVidia Quadro FX 2500M, 177.98 (Vista 32bit)
RC1 worked fine.
Sorry for the delay, was busy at work.
It should be fixed now, try out this (http://www.zdimensions.gr/spasi/public/lwjgl.dll) new dll and let me know if it's working.
Thanks a lot!
It works now as it did with RC1.
Works fine for me too. Thank you for the fix.
An RC3 pending in the works then...?
Cas :)
yes, just waiting for a bit to pick up any issues
Quote from: Matzon on September 24, 2008, 21:21:17
yes, just waiting for a bit to pick up any issues
I'm not sure, but maybe this is another issue: http://www.javagaming.org/index.php/topic,19230.msg151695.html#msg151695 (http://www.javagaming.org/index.php/topic,19230.msg151695.html#msg151695)
All i'm doing is to display the modes that LWJGL returns to me. Sadly, i haven't got any feedback about how 1.1.4 behaves on this machine.