Hi,
Is there are way to make a transparent shape? For example, it would be useful to be able to get iStdShape_DG.Box or similar transparent. The application could be to show the bounding box of an entity. And more.
BR,
Marcos
Transparent Shapes
-
- Posts: 28
- Joined: Mon Jul 15, 2024 5:20 am
Re: Transparent Shapes
Hello
You are supposed to just set alpha in the material to a smaller than 1.0 value. MiniCAD sample has Tools > Options in the menu. There is Enable Transparency check box. When you turn it on you will be able to see the axes through the box. You can check it in the installed C++ version launched via Model Explorer.
BUT. There is a bug in DGKCn6. We have missed this in tests. So, it does not work currently in .NET samples. It an easy fix. There should be an update in a couple of days.
Sorry and thank you for reporting.
You are supposed to just set alpha in the material to a smaller than 1.0 value. MiniCAD sample has Tools > Options in the menu. There is Enable Transparency check box. When you turn it on you will be able to see the axes through the box. You can check it in the installed C++ version launched via Model Explorer.
BUT. There is a bug in DGKCn6. We have missed this in tests. So, it does not work currently in .NET samples. It an easy fix. There should be an update in a couple of days.
Sorry and thank you for reporting.
-
- Posts: 28
- Joined: Mon Jul 15, 2024 5:20 am
Re: Transparent Shapes
We have posted the 7.2.5586 update with a fix.
Regards
Regards
-
- Posts: 28
- Joined: Mon Jul 15, 2024 5:20 am
Re: Transparent Shapes
We have also merged the fix to v7.3. It is on the downloads page now.