Group Abstract Group Abstract

Message Boards Message Boards

0
|
11.5K Views
|
6 Replies
|
5 Total Likes
View groups...
Share
Share this post:

3D Graphics with Metal rendering problems

Posted 5 years ago

I've been exploring the new 12.1 features. However, there's seems to be a bug on rendering 3D graphics in MacOS. The graphics are not being shaded correctly, they appear too dim.

I tested on my Windows 10 machine and the problem doesn't appear there.

Plot3D[Sin[x y], {x, 0, 3}, {y, 0, 3}, 
 ColorFunction -> "BlueGreenYellow", ImageSize -> 720]

On Windows:

Result on Windows

On Mac:

Result on Mac

Any workarounds in the meanwhile?

POSTED BY: Lombardo Paredes
6 Replies

I had the same problem with Mathematica 12.1, my setup: MacBook Pro 16-inch 2019, Catalina 10.15.4, AMD Radeon Pro 5500M 8 GB, Intel UHD Graphics 630 1536 MB, external monitor LG 27UK850. Graphics Ok without the monitor, darker with the monitor. Solution seems to be Global Preferences >> Rendering Options >> 3DRenderingEngine = "OpenGL" or "Mesa"; the problem seems to be with "Metal" (which seems to be the default choice for "Automatic").

POSTED BY: Marcos Carreira
Posted 5 years ago
POSTED BY: Henry
Posted 5 years ago

Thanks for the details!

POSTED BY: Kyle Martin
Posted 5 years ago

Lombardo,

I've not been able to reproduce this on my MacBook Pro. Graphics look as expected all around. Are you using an external monitor? Are there any other things that might make your setup unique, outside of using just the default laptop monitor?

You might be able to workaround this with

SetOptions[$FrontEnd, RenderingOptions -> {"3DRenderingEngine" -> "OpenGL"}]

This can be reset back to its default value with the following, as needed

SetOptions[$FrontEnd, RenderingOptions -> {"3DRenderingEngine" -> "Automatic"}]
POSTED BY: Kyle Martin
POSTED BY: Lombardo Paredes

I have a Mac with Mojave 10.14.6, and detect no difference in the rendering of that surface between 12.0 and 12.1. Perhaps Metal has changed with Catalina?

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard