Transparent Backgrounds for Raytraced/render

Is it possible to get a raytrace render with a transparent background? I’m saving the image with Capture Viewport to File, using the Transparent Background option, and save it as a .png file.

I get a transparent background when I use any other display mode (shaded, rendered, Ghosted, etc) but I don’t get one when I use Raytraced.

Any help would be appreciated. Thanks!

Seems to be working just fine here:

Above is with shadows-only ground plane in use.

Maybe you could paste the first line of the output generated by the Rhino command _SystemInfo?

Hi Nathan,

That’s helpful. I hadn’t tried it with the shadows only option. I was trying to do it with the default ground plane material. Is it possible to do with an actual ground plane, or only with the shadows only option?

Here is my _SystemInfo
Rhino 6 SR17 2019-8-23 (Rhino 6, 6.17.19235.15041, Git hash:master @ 06b69c5cc21d880aa793a5a7cfd454a66f6213bb)
License type: Educational, build 2019-08-23
License details: Cloud Zoo. In use by: Mike Magee ()

Windows 10.0 SR0.0 or greater (Physical RAM: 16Gb)
Machine name: CREATIVITY

Hybrid graphics system.
Primary display: Intel® UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 11-18-2018 (M-D-Y).
Primary OpenGL: NVIDIA GeForce GTX 1060 with Max-Q Design (NVidia) Memory: 6GB, Driver date: 8-24-2019 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 436.15

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

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

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 8-24-2019
Driver Version:
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins
C:\Program Files\Rhino 6\Plug-ins\Commands.rhp “Commands” 6.17.19235.15041
C:\ProgramData\CCT Tools WIP\ZBrushExporter.rhp “ZBrushExporter”
C:\Program Files\Rhino 6\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 6\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 6\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 6\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp “Rhino Render”
C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 6.17.19235.15041
C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp “RhinoCycles” 6.17.19235.15041
C:\ProgramData\CCT Tools WIP\CreateGemstone.rhp “CreateGemstone”
C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 6.17.19235.15041
C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 6\Plug-ins\Calc.rhp “Calc”

Well if you have an “actual” ground plane, then that’s going to be “visible” in the alpha channel., since it’s actually there. What are you trying to do?

As @JimCarruthers says, with a groundplane is set to have a material it will show up. Only with shadows-only GP and without it completely you’ll be able to get the transparent background.

1 Like

Thank you for the replies, both of you. The environments were making my renderings look extra dark when the groundplane was set to shadows only, but I see that it doesn’t affect the image when it’s saved with a transparent background.

Thank you for the help!

1 Like