LWJGL
May 22, 2012, 03:28:53 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1] 2
  Print  
Author Topic: AA is gone in 2.0rc2!?  (Read 11582 times)
EgonOlsen
Regular nerd
**
Posts: 93



WWW
« on: September 16, 2008, 12:15:46 »

Hi,

i've just ported jPCT to 2.0rc2. Everything works fine except for anti aliasing...it's gone. I'm doing this:

Code:
Display.create(new PixelFormat(bpp, 0, zbpp, 0, samples));

No matter which value i'm using for samples, it always gives me a

Code:
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
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: September 16, 2008, 12:27:39 »

please give 2.0rc1 a whirl - spasi changed some stuff around for OGL3.
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
EgonOlsen
Regular nerd
**
Posts: 93



WWW
« Reply #2 on: September 16, 2008, 12:32:07 »

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.
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #3 on: September 16, 2008, 22:16:34 »

strange - I'll poke spasi when I see him
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
EgonOlsen
Regular nerd
**
Posts: 93



WWW
« Reply #4 on: September 17, 2008, 01:56:11 »

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... Tongue
Logged
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #5 on: September 17, 2008, 04:29:51 »

I committed a possible fix, let me know if it still isn't working.
Logged

EgonOlsen
Regular nerd
**
Posts: 93



WWW
« Reply #6 on: September 17, 2008, 06:20:47 »

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?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #7 on: September 17, 2008, 09:02:37 »

try this one:
http://matzon.dk/brian/lwjgl/lwjgl-new-for-olsen-banden.dll
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
EgonOlsen
Regular nerd
**
Posts: 93



WWW
« Reply #8 on: September 17, 2008, 10:29:03 »

Thank you, but it doesn't help...  Cry Still no AA on ATI with this dll.
Logged
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #9 on: September 18, 2008, 03:53:51 »

Do you get the same error if you set samples to 0 or 1?
Logged

EgonOlsen
Regular nerd
**
Posts: 93



WWW
« Reply #10 on: September 18, 2008, 09:52:13 »

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:

Code:
Failed to find ARB pixel format 0 0

(the 1 is a 0 now...everything else remains the same)
Logged
elias
Nerdus Imperius
*****
Posts: 899



WWW
« Reply #11 on: September 18, 2008, 10:04:54 »

Note that the legacy wglChoosePixelFormat (not ARB) code path is probably selected when samples = 0.

 - elias
Logged

Kai
Talks Too Much
***
Posts: 131


« Reply #12 on: September 20, 2008, 06:05:42 »

I noticed the same issue (no multisampling) on NVidia Quadro FX 2500M, 177.98 (Vista 32bit)
RC1 worked fine.
Logged
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #13 on: September 23, 2008, 05:04:01 »

Sorry for the delay, was busy at work.

It should be fixed now, try out this new dll and let me know if it's working.
Logged

Kai
Talks Too Much
***
Posts: 131


« Reply #14 on: September 23, 2008, 08:54:24 »

Thanks a lot!
It works now as it did with RC1.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!