Direct 3D still needs attention

Direct3D vs OpenGL.

Direct 3D struggles to display surfaces, breps are OK.

sysinfo below

Summary

Rhino 9 SR0 2025-11-25 (Rhino WIP, 9.0.25329.12305, Git hash:master @ 94aabd9816971918af23c4e9a3978c27952e558c)
License type: Commercial, build 2025-11-25
License details: Cloud Zoo
Expires on: 2026-01-09

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 63GB)
.NET 9.0.1

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

Hybrid graphics configuration using OpenGL
Primary display: Intel(R) Arc™ Pro Graphics (Intel) Memory: 2GB, Driver date: 2-26-2025 (M-D-Y).

Integrated accelerated graphics device with 4 adapter port(s)

  • Windows Main Display is laptop’s integrated screen or built-in port
  • Secondary monitor attached to adapter port 1
    Primary OpenGL: NVIDIA RTX 2000 Ada Generation Laptop GPU (NVidia) Memory: 8GB, Driver date: 7-9-2025 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 573.57

Integrated accelerated graphics device (shares primary device ports)

  • Laptop’s primary display device

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

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

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 7-9-2025
Driver Version: 32.0.15.7357
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8188 MB

OpenBLAS: OpenBLAS 0.3.29 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino
C:\Users\piotr\AppData\Roaming\McNeel\Rhinoceros\packages\9.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\SolidTools.rhp “SolidTools”
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 9 WIP\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

Hi Piotr -

How does this relate to D3D?
-wim

I don’t know, you tell me.:thinking: There is no information when switching that it is not suited for hybrid graphics.

Your SystemInfo is saying it’s in OpenGL mode. It needs to be in Direct3D mode to show any info pertinent to that.

Would it be possible to share a model that is causing problems? We can’t really determine what the bug is based on a screenshot.

A screenvideo would be helpful too. But please share your Rhino file for developers to let them check.

Open your 3d object with Rhino while Opengl is enabled, then switch to Direct3d then save and close Rhino.

Open rhino check if the 3d model is displayed wrong.

GL vs 3D.3dm (2.0 MB)

This model has been saved with 3D active.

@Piotr I opened your 3d model directly with WIP, didn’t import in Rhino and all looks fine.


If you have a nvidia graphic card, you may try this

I don’t remember by NVIDIA settings and I will only be able to check it on Friday.

btw: this panel looks like it’s been designed in 90’s and never changed.

1 Like

In render mode seems ok.
In shaded I get this with direct3d:


and this with openGL

I have Nvidia rtx4060 in my laptop.

My shaded view is also not ok.

I have the same result with Direct3D in shaded mode. While panning/rotating the view or dragging the object the missing part is displayed until I stop, then the missing part vanishes. If I Explode the object then the missing part is visible, and remains visible after Undo.

Reload the file. ExtractSrf the open cylinder and the missing part appears. It stays visible after I Undo the ExtractSrf.

Reload the file. The object is two polysurfaces, one open and one closed, grouped together. If I Ungroup the two polysurfaces the missing part remains invisible. Explode the open polysurface and the missing part is visible and stays visible.

Rhino 9 SR0 2025-11-25 (Rhino WIP, 9.0.25329.12305, Git hash:master @ 94aabd9816971918af23c4e9a3978c27952e558c)
License type: Commercial, build 2025-11-25
License details: Cloud Zoo
Expires on: 2026-01-09

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 64GB)
.NET 9.0.11

Computer platform: DESKTOP

Standard graphics configuration using DirectX
Primary display: NVIDIA GeForce RTX 2080 Ti (NVidia) Memory: 11GB, Driver date: 9-5-2025 (M-D-Y). DirectX(11) Driver subsquently updated to Driver date: 10-9-2025 (M-D-Y) with no effect
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0

Secondary graphics devices.
None found.

DirectX Settings
Safe mode: Off

OpenBLAS: OpenBLAS 0.3.29 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 9 WIP\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 9.0.25329.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\Calc.rhp “Calc”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

ExtractSrf either the open cylinder or the truncated cone and the problem is solved. Or Ungroup the object and Explode the open polysurface and the problem is solved. It appears related to the relationship between the open cylinder and the truncated cone. (See my post above for SystemInfo)

but with openGL the display is ok correct?

Yes if you are asking me.

Another data point: Flip or Dir with the Flip option applied to the object cures the problem in Direct3D.

Thanks, I haven’t had a chance to look yet but I’m pretty sure this is a bug in our code that needs to get fixed instead of some driver issue.

At least that means it probably works correctly.

On the list as RH-90714 Display: Direct3D: Back Face Display Issue
-wim