Filter löschen
Filter löschen

Renderer: 'painters' vs. Opengl

233 Ansichten (letzte 30 Tage)
Anthony Crockford
Anthony Crockford am 17 Jul. 2017
Beantwortet: Christian Tieber am 13 Okt. 2020
Hi, We are having intermittent issues with the rendering speed of our graphs. A few weeks ago, we solved the speed issue by installing a new graphic board and using:
set(0, 'DefaultFigureRenderer', 'painters');
Now, it seems that from time to time the speed issue is back and is solved when we use OpenGL:
set(0, 'DefaultFigureRenderer', 'opengl');
Can you help trouble-shoot this and find a stable solution?
Many thanks,
Arista Energies Team.

Antworten (2)

Mukul Rao
Mukul Rao am 20 Jul. 2017
Hi,
As per my understanding there is no definitive answer as to when OpenGL will perform better than Painters or vice versa. Generally Painters does well with simple plots and 2-D graphics. With hardware acceleration, OpenGL generally performs better than painters for 3-D plots.
I would recommend setting the figure "RendererMode" and the "DefaultFigureRendererMode" to "Auto", so that even though you have established the default figure renderer, MATLAB can still switch the renderer at run time based on its own inbuilt logic.
Further, some generic suggestions that might be of help - I recommend reading this documentation page on Graphics Performance, some of the concepts here might be applicable to your use case. Finally, please verify that your graphics card drivers are up to date.

Christian Tieber
Christian Tieber am 13 Okt. 2020
This might be interessting:
https://www.mathworks.com/matlabcentral/answers/363832-some-figures-not-saving-as-vector-graphics-svg

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by