Why does the GETFRAME function return a gray frame within MATLAB on an OS X 10.3.2 machine?
1 次查看(过去 30 天)
显示 更早的评论
Why does the GETFRAME function return a gray frame within MATLAB on an OS X 10.3.2 machine?
I have upgraded to OS X 10.3.2, which includes updates for ATI and NVidia graphics drivers. Now, when I capture frames of a figure using the OpenGL renderer with GETFRAME, the frames' color data is all gray.
采纳的回答
MathWorks Support Team
2009-6-27
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in the GETFRAME function within MATLAB when using an OS X 10.3.2 machine.
Currently, to workaround this issue, change the "Renderer" property of the figure to "painters" or "zbuffer" before using GETFRAME to capture the frame.
set(gcf,'Renderer','painters')
set(gcf,'Renderer','zbuffer')
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!