There’s a box with a material on it, but the mat does not show up in the Material panel, only in the Properties of the box.
Filter in the Mat panel is set to “Show all materials”.
Thanks!
The material has been set as ‘hidden’ and then saved like that. However, I don’t know how the material got set as hidden. I’m not aware of any UI that allows this. I think it can only happen if a plug-in is deliberately coded to hide it. Of course, if the material is hidden, it shouldn’t even appear in Properties, so I’ll have to find a way to fix that.
@Eugen Hidden materials have been in Rhino for quite a while, but no one was using them. When someone started trying to use them, we found that they had stopped working due to an oversight during an unrelated code change. I fixed that, but I forgot Properties.
This is a little confusing. Just to be clear, the actual bug is that the material appears in Properties, and shouldn’t. It also should not appear in the tree as shown by @eddi. This bug was fixed in SR8 on May 18th which is why eddi can still see the material in the tree in SR7.
Here’s the thing: hidden materials were added to allow plug-in developers to hide materials that they never want people to see. So you’re not ‘allowed’ to unhide them. Are you using any special plug-ins that could have set the material to hidden? If you are, I could ask the plug-in developer what their intentions are.
Hi again,
could not get rid of that ‘hidden material’ problem in my scene. It’s making things pretty complicated.
Would it be possible to ‘unhide’ all materials with a few lines of python?
Thanks!
Have you updated to the Rhino 7.8 Service Release Candidate?
The final 7.8 version is “just around the corner” waiting for some new UI text to be translated in all supported languages.
-wim
Thank you, Wim!
That did not help. The problem appears even in fresh scenes after some time: objects have a certain material, but it is hidden in the Material panel. My workaround is to use the ‘Match’ button.
Apparently, this is how this is now supposed to work:
In plain vanilla Rhino, you can’t create materials that don’t show up in the Materials panel
Plug-ins are allowed to create materials that don’t appear in this panel
A “hidden” material will always show up in the object’s properties
Please correct me if I’m wrong - I am guessing that you find it problematic that objects are assigned a material that is hidden. Based on the above, you will need to find out which plug-in is doing this and contact the developers of that plug-in to see if this can be changed.
-wim
Windows 10.0.19042 SR0.0 or greater (Physical RAM: 32Gb)
Computer platform: LAPTOP - Plugged in [93% battery remaining]
Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce GTX 1070 (NVidia) Memory: 8GB, Driver date: 6-21-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 471.11
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port
- Windows Main Display 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: 6-21-2021
Driver Version: 30.0.14.7111
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB
Rhino plugins that do not ship with Rhino
C:\Program Files\Rhino WIP\Plug-ins\Karamba\License\Karamba3D_LicensePlugin_Rhino7.rhp “Karamba3DLicense”
C:\Program Files\Rhino WIP\Plug-ins\Tibidabo\Tibidabo.rhp “Tibidabo”
C:\Program Files\Rhino WIP\Plug-ins\Tibidabo\VisualARQ.rhp “VisualARQ”
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 4.27.0.0
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Twinmotion Direct Link 2020.2 (e24ee14a-9514-47da-8fe6-f6e61b20160e)\Twinmotion Direct Link 2020.rhp “Twinmotion Direct Link 2020” 1.0.6.0
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\IntelDenoiser\0.6.0\IntelDenoiser.Windows.rhp “IntelDenoiser.Windows” 0.1.0.0
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\NVIDIADenoiser\0.4.0\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.0.0
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SubstanceImporter\2.0.0\Substance.Win.rhp “SubstanceImporter” 2.0.0.0
You still have VisualARQ, which is I believe one of the plug-ins that has code to create hidden materials.
Does this still happen with VisualARQ and Tibidabo disabled? Probably also a good idea to disable Datasmith and Twinmotion. Not sure about Karamba. About the denoisers and the substance importer plug-ins I know they don’t created hidden materials.
I can confirm that there are several hidden materials in the model. How these got hidden is a mystery unless they were created as hidden by VisualARQ or some other plug-in. Rhino does not deliberately hide materials itself.
The fact that you can’t see the material at all in Properties is a bug. You should be able to see it there instead of ‘Click to assign’. I will fix this bug as soon as possible.
Once a material is set as hidden, it is hidden forever even if you disable the plug-in that hid it. So disabling VisualARQ as Nathan suggested will not unhide the materials.
I will speak to the VisualARQ developer and find out how he’s using this hidden feature and what the purpose is.
Thanks for your patience while we get this figured out…
@johnc I did not ask if hidden materials became unhidden after disabling the suggested plug-ins, but rather whether with those disabled the following still happens:
This is a bug in the last version of Tibidabo, a shared plug-in of VisualARQ and Lands. We asked McNeel to support hidden materials so Lands can hide some materials that are not meant to be used by users, but a bug was setting other materials as hidden. Our testers didn’t catch this issue because we tested VisualARQ and Lands with the latest version of Rhino available when we published VisualARQ, which was Rhino 7.7, and hidden materials is a new feature in Rhino 7.8.
I’ve already fixed the bug, and we’ll publish the new version today after we test it correctly, under Rhino 7.8. Don’t worry; your materials are there, and there is nothing lost. When you open the file again with the last version of VisualARQ or Lands, materials that were set hidden incorrectly will be shown again.