DiscussionsIssue archiveOCCT:Visualization

Archived issue #0028645

Impossible to define trasparrent Graphic3d_AspectFillArea3d for highlighting

Open CASCADEOCCT:Visualizationclosed2 public notes

Search issues

Description

Before Graphic3d_HighlightStyle was replaced by Prs3d_Drawer there was a possibility to set separately transparent color for faces and opaque color for edges.
Now only basic color from Graphic3d_PresentationAttributes allows to set transparency but this color affects and edges, and faces.
Graphic3d_AspectFillArea3d does not allow to set transparency for faces.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
> Graphic3d_AspectFillArea3d does not allow to set transparency for faces.
Could you please describe bug in more detail?

pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vdisplay -dispMode 1 b
vfit
vselprops dynHighlight -dispmode -1 -transparency 0.8 -material GOLD
vmoveto 250 250
02Commenter 2
Sorry, I didn't noticed that transparency for surfaces should be applied via materials.

Dear Commenter 1,
this is not a bug. Could you reject it please?