OpenGL multisampling


#1

What changes would be required in order to enable multisampling in the 3d OpenGL JUCE demo ? I would have expected this:

http://www.juce.com/forum/topic/opengl-multisampling-not-working-and-fix

to be enough but it does not seem to work (this is on OSX 10.10)

 


#2

Haven't had chance to try those myself - would welcome feedback from anyone who has time to debug it..


#3

Here are the attributes that I had to add in the OSX OpenGLContext::NativeContext constructor in order to get multisampling to work:

 

            NSOpenGLPFAMultisample,
            NSOpenGLPFASampleBuffers, (NSOpenGLPixelFormatAttribute)1,


#4

FYI I've changed this now if you want to have a try..