Re: Why antialiasing does not operate?

Posted by InteractiveMesh on
URL: https://forum.jogamp.org/Why-antialiasing-does-not-operate-tp4027215p4027429.html

The reason why the multisampled image rendered with release 1.5.2 appears smoother than the one with 1.6.0-pre5 is: the maximum number of samples is internally set to 8 on the 1.5.2-native-ogl-pipeline and to 4 on the jogl-pipelines (1.5.2, 1.6.0-pre5). If you run release 1.5.2 contrary to my assumption on the jogl-pipeline, then I'm out of ideas.

Non of these releases allow to set the number of samples by the application.

"sceneAntialiasingAvailable" is true if scene antialiasing is available based on mulitsampling or on accumulation buffer.

"sceneAntialiasingNumPasses" returns the number of accumulation passes and not the number of samples in case of multisampling! More precisely:
 - 0, if neither multisampling nor accumulation buffer is available
 - 1, if multisampling is available
 - 8, if 8 pass accumulation is available

".. how to improve the results of antialiasing under 1.6.0 ?"
  - next pre-release : default number of samples = 8
  - in future : API to set the number

August