12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure PropertiesThere is also a Silicon <strong>Graphics</strong> version of OpenGL for Windows 95 that isavailable at the URL:http://www.sgi.comTested Hardware VersionsOn MS-Windows platforms, there are many graphics boards that accelerateOpenGL. The MathWorks has tested <strong>MATLAB</strong> on the AccelECLIPSE boardfrom Accel<strong>Graphics</strong>.On UNIX platforms, The MathWorks has tested <strong>MATLAB</strong> on Sparc Ultra withthe Creator 3D board and Silicon <strong>Graphics</strong> computers running IRIX 6.4 ornewer.Determining What Version You Are UsingTo determine the version and vendor of the OpenGL library that <strong>MATLAB</strong> isusing on your system, type the following command at the <strong>MATLAB</strong> prompt.feature GetOpenGLInfoThis command also returns a string of extensions to the OpenGL specificationthat are available with the particular library <strong>MATLAB</strong> is using. Thisinformation is helpful to The MathWorks, so please include this information ifyou need to report bugs.OpenGL vs. Other <strong>MATLAB</strong> RenderersThere are some difference between drawings created with OpenGL and thosecreated with the other renderers. The OpenGL specific differences include:• OpenGL does not do colormap interpolation. If you create a surface or patchusing indexed color and interpolated face or edge coloring, OpenGL willinterpolate the colors through the RGB color cube instead of through thecolormap.• OpenGL does not support the phong value for the FaceLighting andEdgeLighting properties of surfaces and patches.<strong>MATLAB</strong> issues a warning if you request nonsupported behavior.2-183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!