I have tried the multisample deom in jogl and it doesn work, why is there no difference?
shouldn’t this code be enough?
GLCapabilities caps = new GLCapabilities();
caps.setSampleBuffers(true);
caps.setNumSamples(4);
canvas = new GLCanvas(caps);
I have tried the multisample deom in jogl and it doesn work, why is there no difference?
shouldn’t this code be enough?
GLCapabilities caps = new GLCapabilities();
caps.setSampleBuffers(true);
caps.setNumSamples(4);
canvas = new GLCanvas(caps);
In fact, that code DOES work on many systems. I’m using an Intem iMac, and it doesn’t work, but on my Windows machine and on another mac I have, it works no problem. Hopefully we’ll be able to get this working right soon enough.
–Scott
I just wanted to register a similar behavior. I have Mac G5 desktop and a G4 laptop running identical software versions of OS X, java and JOGL-JSR-231. On the previous JOGL version 1.1, both machines were capable of anti-aliasing using the “multisample” directive to the capabilities object. Now, running the same code, anti-aliasing only works on the desktop. For example, the jogl-demos Multisampling demo exhibits this behavior. The desktop has an Nvidia Geforce 5200 graphics card, while the laptop has an ATI 9600.
Sounds like this is becoming an issue with the ATI mac drivers, perhaps? Anyone with a Mac using ATI video have the antialiasing that works?
Also, I wonder what could have changed between versions of JOGL… If you roll back, does it still work? (ie: it’s not an Apple issue…)
–Scott
mobility radeon x600 works.
gziemski and I tracked this down to a workaround we added for JOGL on OS X 10.4.3 where pbuffers couldn’t share textures and display lists with on-screen contexts. Fortunately the underlying bug is fixed in 10.4.5 so all we had to do was take out the workaround. This fix will be present in the JOGL nightly builds dated 3/29 or later and also in the forthcoming JSR-231 beta 4.
Yay! Thank you so much!!
–Scott
Many thanks for the speedy fix!
JSR-231, by the way, seems overall much more stable and reliable than previous releases. Thanks for the good work.