I'm having trouble persuading multisampling to work. I used to have
it working in Panther, and sometime between then and now it's
stopped. I can't figure out if I changed something in my code to
break it, or whether Tiger has some different requirements for
setting it up...
Pixel format :
NSOpenGLPixelFormatAttribute attrs[] =
{
NSOpenGLPFAPixelBuffer,
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAccelerated,
NSOpenGLPFAMultisample,
NSOpenGLPFASampleBuffers, (NSOpenGLPixelFormatAttribute)1,
NSOpenGLPFASamples, (NSOpenGLPixelFormatAttribute)4,
(NSOpenGLPixelFormatAttribute)nil
};
and enabling in OpenGL:
glEnable (GL_MULTISAMPLE_ARB);
glHint (GL_MULTISAMPLE_FILTER_HINT_NV, GL_NICEST);
The documentation mentions that NSOpenGLPFAMultisample will only
take effect if the pixel format requires anti-aliasing. How do you
do that?
This is on a Radeon 9600, running 10.4.0
Cheers,
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/maillist%
40steelskies.com
This email sent to email@hidden