Transparent Shapes

Everything DG Kernel: Technical discussions and issues
Post Reply
useme
Posts: 2
Joined: Fri Feb 21, 2025 6:06 pm

Transparent Shapes

Post by useme »

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
Mike Zubovic
Posts: 28
Joined: Mon Jul 15, 2024 5:20 am

Re: Transparent Shapes

Post by Mike Zubovic »

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.
Mike Zubovic
Posts: 28
Joined: Mon Jul 15, 2024 5:20 am

Re: Transparent Shapes

Post by Mike Zubovic »

We have posted the 7.2.5586 update with a fix.
Regards
Mike Zubovic
Posts: 28
Joined: Mon Jul 15, 2024 5:20 am

Re: Transparent Shapes

Post by Mike Zubovic »

We have also merged the fix to v7.3. It is on the downloads page now.
Post Reply