Mon, 08/05/2024 - 15:33
Forums:
Hello everyone.
In my 3D viewer, I use a PBR environment for realistic rendering of materials.
I set the shading model to Graphic3d_TypeOfShadingModel_Pbr and Graphic3d_RenderingParams.IsShadowEnabled to true.
I also allow users to put some texts where they want using AIS_TextLabel shapes, for example to annotate a shape.
The problem a just discover is that these labels drop shaddows on shapes, but I don't want to, I want them to be really separated from the real CAD model.
Is it possible to exclude some AIS_Shapes to drop shaddows on other shapes ?
Thank you for your answer ;)
Wed, 08/07/2024 - 13:38
Take a look onto the answer from similar topic.
Wed, 08/07/2024 - 15:47
Hello and thank you. I've already seen this thread, and by labels are on a dedicated layer, but it doesn't work, I still see shadows from shapes on this layer within shapes of other layers.
Is there an zlayer setting option I'm missing ? or maybe the z-layers order is important ?
Thank you.
Thu, 08/08/2024 - 19:02
In Draw Harness it looks like this:
Dimension in
Graphic3d_ZLayerId_Default
:Dimension in
Graphic3d_ZLayerId_Top
: