Re: 8 pass accumulation Anti-Aliasing
Posted by
philjord on
Feb 24, 2020; 7:34pm
URL: https://forum.jogamp.org/8-pass-accumulation-Anti-Aliasing-tp4040265p4040391.html
Julien,
Another good point, however I decided to put that version number in deliberately to allow people to easily download multiple version without having to rename themselves. Unless there is a strong reason to use the short name for zip files I'd like to stick with the included version id for zips.
You just reminded me I didn't update the zipped filenames, fixed now too.

Saeid,
Your questions sounds very straight forward, but in pulling together an answer I've found it's far more complex than I thought (in particular becuase numSamples skips the GraphicsConfigTemplate3D system.
A very short answer is that like the depthBuffer size request the system should happily return less than asked for and carry on.
I suspect that if you demand antialiasing though a request like this:
GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
template.setSceneAntialiasing(GraphicsConfigTemplate3D.REQUIRED);
GraphicsConfiguration gcfg = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getBestConfiguration(template);
there is a chance the system will refuse to initialize if there is no anitalising support, but that's not quite teh question you asked.
I will get a proper answer back to you in a few days on what capability requests may be able to cause trouble.
I know that in the past (15 years ago) I've had to use the implictAntiAlising system property on MacOS to get it to work.