| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Note: While it is not required to specify the AGL_PBUFFER pixel format attribute, failure to do so will not guarantee a pixel format which is compatible with pixel buffers. In all likelihood, the returned pixel format will be compatible with pixel buffers; it is just not guaranteed.
Geoff Stahl 3D Software Engineer Apple
On May 21, 2005, at 2:23 AM, Jonathan del Strother wrote:
Just in case anyone's having the same problem, I thought I'd point out that you can 'fix' the problem by removing NSOpenGLPFAPixelBuffer from the pixel format. Of course, that then means you can't use pixel buffers...
Jon
On 6 May 2005, at 16:31, Jonathan del Strother wrote:
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
_______________________________________________ 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/email@hidden
This email sent to email@hidden
_______________________________________________ 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/email@hidden
| References: | |
| >Enabling multisampling in NSOpenGLView? (From: Jonathan del Strother <email@hidden>) | |
| >Re: Enabling multisampling in NSOpenGLView? (From: Jonathan del Strother <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.