Bug: Picture objects not displayed in Shaded mode (visible in Rhino 8)

Same file, same objects, same display settings — pictures are drawn in Rhino 8 and are not drawn in Rhino BETA.

Versions

  • Rhino 8: 8.34.26223.11001 — pictures visible
  • Rhino BETA: 9.0.26237.15343 — pictures not visible

To reproduce

  1. New file, any template.
  2. Run Picture and place any image on the XY plane.
  3. Switch the viewport to Shaded.

The picture is drawn in Rhino 8 and is not drawn in Rhino BETA.

Where I hit it
A shoe last file with three Picture objects (scans placed with the Picture command, images stored in the _embedded_files folder next to the 3dm). All three:

  • render material type Picture, one enabled bitmap texture each
  • texture files present on disk, paths valid
  • objects visible, layer visible and unlocked

Opened in Rhino 8, Shaded mode draws them normally. Opened in Rhino BETA, the same file in Shaded shows nothing where the pictures are. They do appear in Rendered, Concept and the other modes.

Display settings are identical in both versions — read through RhinoCommon in each:

setting Rhino 8 Rhino BETA
FrontFlatShaded True True
UseAssignedObjectMaterial False False
UseCustomObjectMaterial True True
FillMode DefaultColor DefaultColor
LightingScheme CustomLighting CustomLighting
FrontMaterialShine 128.0 128.0

Second issue, possibly related
A per-object display mode override to Rendered (SetObjectDisplayMode) has no effect in Rhino BETA. The override is written correctly — reading the attribute back returns the Rendered mode id — but the object is still drawn in the viewport display mode.

Workaround
A copy of Shaded with UseAssignedObjectMaterial = True, UseCustomObjectMaterial = False and FrontFlatShaded = False does display the pictures in Rhino BETA. But since Rhino 8 draws them with flat shading on, that flag looks like a symptom rather than the cause.

Picture objects are displayed in default Shaded mode for me in Beta:
Shaded:

Rendered:

Wireframe:

Use OptionsExport to save you current options
View > Display Modes > Shaded
Click on “Restore Defaults” at the bottom of the screen
Is image now visible?
If desired use OptionsImport with file just exported to restore options

hanks David — you’re right, default Shaded shows Picture objects. Meanwhile I isolated the exact setting: my Shaded mode has Flat shading enabled (FrontFlatShaded). With that same option, Rhino 8 still displays Picture objects — Rhino 9 Beta does not. That’s the difference I reported.

Repro:

  1. Shaded mode → enable Flat shading
  2. Insert a Picture object
  3. Rhino 8: picture visible. Rhino 9 Beta: picture invisible.

Turning Flat shading off (I keep a copy of Shaded with it disabled) brings the pictures back in the Beta. So Restore Defaults would “fix” it, but the behaviour change vs Rhino 8 is still there.

Hi Samir -

Thanks → RH-98203 Display: Direct3D: No Pictures when Flat Shading
-wim