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.
((Antialias your Maya viewport in OSX) | (GI) | (Rendering Lighting)) | ((Antialias) | (your) | (Maya) | (viewport) | (in) | (OSX))
Comments
great tip! very handy for screenshots and it's quite nice when checking your models silhouette.
cheers
tom
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?
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