Anti-alias your Maya viewport in OSX.

Report this File

Missing

Views:

25,715

Updated:

Mar 28, 2010

Readership Level:

Advanced

Tags:

Maya Versions:

1.x, 2.x, 3.x, 4.x, 5.x, 6.x, 7.x, 8.x, 2008, 2009, 9.x, 2010

Platforms:

mac

Owner:

Language:

English

Here is how you can get full screen anti-aliasing (FSAA) and viewport anti-aliasing on 3D video cards that support it in OpenGL apps -- even if the setting isn't available in your app, or isn't supported with the current Apple drivers for your card. Install Apple's Xcode Developer Tools, and run OpenGL Profiler.app, which you'll find in /Developer -> Applications -> Graphics Tools. Add the application that you would like FSAA in to the top section of OpenGL Profiler. Leave the driver on Native Graphics Driver or you may not be able to get into High Quality Rendering Mode. Check Use custom pixel format and press Edit and then the attributes button... Add a kCGLPFASampleBuffer attribute with a value of 1. Then add a kCGLPFASamples attribute with a value of 2 or 4, depending on how much anti-aliasing you want in that app. Consider how much VRAM you have before choosing a higher value. Finally,, you may want to add the No Recover attrubute. Make sure you launch the chosen app with the Launch button in OpenGL Profiler or this won't work. You will have to add the OpenGL code each time you run OpenGL Profiler, but it will remember all of your apps. I also submitted this tip to MacOSXhints.com.

Comments

Dashboard_avatar
Apr 07, 2010
Post id: 10743
Report this comment to moderators [SPAM]

great tip! very handy for screenshots and it's quite nice when checking your models silhouette.

cheers
tom

Dashboard_avatar
Apr 10, 2010
Post id: 10773
Report this comment to moderators [SPAM]

Doesn't work with maya 2011 X64. It works with 32bits fine, same as older versions of maya.

Any idea on how to solve it?

Dashboard_avatar
May 04, 2010
Post id: 11041
Report this comment to moderators [SPAM]

Unfortunately this tip does not work with Maya 2011 in 64 bit mode under Leopard Snow (10.6). In order to get anti-aliasing you would need to uncheck the "Launch 64 bit" in Launch settings of OpenGl Profiler. That will give you 32 bit mode and enable the custom pixel format required otherwise Maya will crash. But hey, at least you can turn on vector render while in 32 bit mode!

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account