Search code examples
c#eyeshot

Eyeshot component RenderToBitmap resolution


I am trying to generate a picture of my 3D model using the ViewPortLayout

ViewportLayoutBinding viewportLayout;
....
viewportLayout.RenderToBitmap(1,false)

but the picture i obtain has a low resolution (the same resolution as what is shown on the Screen) and most of the text (quotes) can't be read. I have tried to change the resolution in the render Method, to modify the camera parameters, but it won't change anything.

Is there a way to set a better resolution for the picture i want to generate ?


Solution

  • The first parameter is image scaling. Please try specifying 2 or 5 instead.