Weird squares showing up when printing Rendered Viewport of JPG, PDF, etc

Hi all,

Whenever I try to use Rhino’s direct print of rendered viewport using the image file format (which is the format that tends to work best for me), there are these weird gray squares that pop up in the middle of the result. It doesn’t show up in Rhino, only after executing the Print command. I attached a screenshot of the normal viewport, and the resulting print if that makes the problem clearer, and I just need help, because I don’t know if I’m simply missing a setting or whatnot.

Thanks in advance.


Quick update as of this moment, it seems that the squares only appear when printing using certain settings. Attempted with Iso SW, squares appeared. Attempted with NE, squares are gone. Also tried using print with “Print Color”, as opposed to “Display Color”, but I don’t think it helped.

Hi -

I’m not seeing squares here in a simple test file.
Please run the Rhino SystemInfo command and copy-paste the result here.
If you can share a simple 3dm file that shows this behavior, that would help as well.
-wim

Thanks for the reply, Wim:

System Info:
Rhino 7 SR10 2021-9-13 (Rhino 7, 7.10.21256.17001, Git hash:master @ 68677dc86520a0de9485d8b8fa2e841e757733f3)
License type: Educational, build 2021-09-13
License details: Stand-Alone

Windows 10.0.19043 SR0.0 or greater (Physical RAM: 7.9Gb)

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

Hybrid graphics configuration.
Primary display: Intel(R) HD Graphics 630 (Intel) Memory: 1GB, Driver date: 2-28-2018 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce GTX 1050 (NVidia) Memory: 4GB, Driver date: 6-9-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 462.80
> Integrated accelerated graphics device with 1 adapter port(s)
- Video pass-through to primary display device

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: 6-9-2021
Driver Version: 27.21.14.6280
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 4 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” 4.27.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 7\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 7\Plug-ins\RhinoLabsTools.rhp “Rhino Labs Tools”
C:\Program Files\Rhino 7\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\Alerter.rhp “Alerter”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

This is the problem file, and the squares appear for me when trying to print Rendered Viewport:
Print Shows Squares.3dm (9.4 MB)

Also, here is a recent screenshot of an attempted print from said file:

Hi -

I’m not seeing that here with your file.

I see that the images that you have posted are smaller than the 14031 x 9921 px that I got when I printed your file. Did you try at different sizes?

Also, have you tried creating a PNG file with the ViewCaptureToFile command?
Lastly, have you tried disabling the Datasmith Rhino Exporter and restarting Rhino?
-wim

1 Like

Wim, thank you so much for the help. The ViewCaptureToFile - PNG option worked great.

When I tried that previously, I used JPG since that was what I was used to.

@jricha38 @wim Hey there, I’m having the same issue as well. Here is what I’ve been able to find out.

-Tends to happen in render display modes or other display modes that use materials and shadows.
-Only happens in Parallel projection such as the standard Iso Views.

-Sometimes saving as PNG solves the issue.
-Sometimes manually zooming out and back in and panning around a bit solves the issue.

Hope this helps others.

Also the preview window when printing does not show the error. The error happens when saving the file.

@ramonpenatoledo

What does your SystemInfo show?

Rhino 7 SR10 2021-9-13 (Rhino 7, 7.10.21256.17001, Git hash:master @ 68677dc86520a0de9485d8b8fa2e841e757733f3)
License type: Commercial, build 2021-09-13
License details: Cloud Zoo

Windows 10.0.19043 SR0.0 or greater (Physical RAM: 32Gb)

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

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 10-28-2020 (M-D-Y).
> Integrated graphics device with 3 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: 9-13-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 472.12
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1

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: 9-13-2021
Driver Version: 30.0.14.7212
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:\Users\ramon.pena\AppData\Roaming\Proving Ground\Conveyor\ProvingGround.ConveyorRhino\ProvingGround.ConveyorRhino.rhp “Conveyor Rhino Setup” 2020.7.7.0
C:\Users\ramon.pena\AppData\Local\Programs\Enscape\Bin64\Enscape.Rhino7.Plugin.dll “Enscape.Rhino7.Plugin” 0.0.21250.810
C:\Program Files\AVAIL\AVAIL Browser for Rhino\AVAIL.RhinoPlugin.rhp “AVAIL.RhinoPlugin” 4.4.3.0
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V6\VRayForRhino.rhp “V-Ray for Rhino”

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 7\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\Alerter.rhp “Alerter”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.10.21256.17001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Users\ramon.pena\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”

Your Intel GPU driver is a bit stale but that’s probably not the problem.
Your Rhino is 2 Service Releases behind too so update that.

If it were me, I would temporarily disable all of the plug-ins you added that do not ship with Rhino.

Then restart and see if you can repeat the problem.

If the problem goes away, it’s likely one of them, so systematically enable one at a time, load it, and try to repeat the problem until you find the cause.

Will try to update and follow up on what happens. Thanks John.