Save Scene View As Thumbnail [SOLVED]
-
On 18/04/2016 at 16:01, xxxxxxxx wrote:
Is it possible to save what is currently displayed in the active scene view as a .jpg or .png to be used as a thumbnail?
-
On 19/04/2016 at 02:01, xxxxxxxx wrote:
Hello and welcome,
it is not possible to access the framebuffer that is currently displayed in the editor window. But you could render the active document using RenderDocument() and the hardware renderer. This way you can obtain a BaseBitmap that shows the scene. You can then save this BaseBitmap using Save().
What exactly do you mean with "thumbnail"? Do you mean the Preview Image of a Cinema 4D file? You can access that BaseBitmap with GetDocPreviewBitmap() or change the parameter settings of the Preview Command.
Best wishes,
Sebastian -
On 19/04/2016 at 17:26, xxxxxxxx wrote:
GetDocPreviewBitmap is exactly what I'm looking for. Thank you so much!