Mon, 03/11/2024 - 18:17
Forums:
Hi,
I would like to know if someone know how modify the transparency of a shape defined as a Wire. I have already tried the method SetTransparency() of AIS_Shape and SetTransparency() of ShadingAspect but it still not working.
PS : I use my own WireAspect
Thanks in advance,
Nathan,
Tue, 03/12/2024 - 10:51
Hello Nathan,
I'm afraid the transparency applies only to AIS_Shape modelling a TopoDS_Face as ShadingAspect is used only when rendering faces. I don't know if you can get something similar to what you need by defining your own Custom Interactive object and trying with some primitive....
Gianluca
Sat, 03/30/2024 - 21:14
For wires there is no way to set transparency. Possibly you can try writing a shader program and attach with that object.
Mon, 04/01/2024 - 08:10
There was a similar question for
AIS_Line
. Lines are not supposed to be transparent, but you may try some tricks.