ViewCaptureToFile, bug with large image sizes

Hello, since approximately one year I have a problem with the ViewCaptureToFile. It doesn’t support large sizes anymore properly. It still produces images in the required resolution, but it is not the specified view, but a modified view from “further away”, basically the maximum standard resolution with more background around it. In my case the maximum standard capture size is 32002400. If I specify the output scale 2, or give a custom size of 64004800 I get an output of that size, but the perspective is wrong. It’s still the same 32002400 image, but with a white border around it that extends to 6400*4800. This is new behaviour. I R7 ViewCaptureToFile used to work as intended. In R8 WIP it never worked for large resolutions. Since one update to R7 it doesn’t work there anymore, so I dont have a workaround.
I’m using a NVIDIA GeForce RTX 3080 Laptop GPU with a NVIDIA Studio Driver 551.23

Hi @ramonkarges1 ,

which displaymode are you using or does it not matter? Could you please also try the command “-viewcapturetofile” . Thanks

Hello Clemens, I tried “-viewcapturetofile” and it’s the same. It also shows this behaviour with all displaymodes, even wireframe.

Hi @ramonkarges1
Start by running SystemInfo in Rhino and posting the resulting text here. It could be a graphics card driver thing or a 3rd party plugin interfering. Can you repeat it even with a simple box?
-Jakob

I believe this is the same as RH-78375 View capture to file: custom resolution comes wrong, compared to render.

@nathanletwory it might be that it’s the same problem, but they were not able to reproduce it consistently. My problem should be easy to reproduce:

  1. Make screenshot of object using “viewcapturetofile” with the largest standard resolution that is offered.
    -the result should match the named view
  2. Make screenshot of object using “viewcapturetofile” using a custom resolution that is double of the largest standard resolution that is offered, or use the “Scale” checkbox Factor 2.
    -the result probably differs from the named view
    I was able to reproduce it even with a simple box.

@Normand
I was able to reproduce it even with a simple box.
Here is my systeminfo:

Rhino 8 SR4 2024-2-13 (Rhino 8, 8.4.24044.15001, Git hash:master @ 5d3f86ffffae3c2ed84d21147c008b3907a40a2e)
License type: Kommerziell, build 2024-02-13
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 64GB)
.NET 7.0.0

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 4-20-2022 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3080 Laptop GPU (NVidia) Memory: 16GB, Driver date: 1-18-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.23
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 1-18-2024
Driver Version: 31.0.15.5123
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 16 GB

Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 5.3.1.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”