Accessing the Last Rendered Image

getLastRenderedImage [ copy:<boolean> ]

The getLastRenderedImage() method returns the last image rendered via Render Scene, Render Last, or Quick Render as a bitmap value.

If the optional keyword argument copy: is not specified or is set to true in 3ds Max 2009 and higher, the bitmap will be copied into a new bitmap value. If the keyword argument copy: is specified as true , the MAXScript bitmap value will share the renderer's bitmap.

Note:

The renderer reuses the last rendered bitmap value when re-rendering with the same dimensions. If the dimensions have been changed, a new bitmap value will be created.

EXAMPLE