Taking images of 3D model using STLRead
问题 I'm trying to take "images" of a 3D model. I am able to load an STL file through this code. What I need to do is be able rotate the object, and take "images" of it as it rotates. stlread outputs a face and vertex structure that is compatible with patch(), so I can display the object, but I'm not sure how to actually store that image into a matrix. 回答1: I think what you are after is the function getframe, which captures the content of an axes and store the data as a regular "image" matrix. I