Re: NSOpenGLView and antialiasing
Re: NSOpenGLView and antialiasing
- Subject: Re: NSOpenGLView and antialiasing
- From: Kevin Cathey <email@hidden>
- Date: Thu, 16 Apr 2009 00:00:52 -0500
Unfortunately, yes. Make sure your +defaultPixelFormat has the
attributes NSOpenGLPFASampleBuffers set to 1, and NSOpenGLPFASamples
set to something like 4, 8, or 16.
Kevin
--------------------------
Kevin Cathey
On 15 Apr 2009, at 15:31, rqtikk wrote:
I'm doing as described in the documentation:
http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_fsaa/opengl_fsaa.html#/
/apple_ref/doc/uid/TP40001987-CH405-SW2
Yet it's not working.
I just made a simple class that inherits from NSOpenGLView.
Do I have to make a custom NSView in order to get antialiasing?
(as described here:
http://developer.apple.com/DOCUMENTATION/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#/
/apple_ref/doc/uid/TP40001987-CH404-SW3
)
thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden