Hello, I load my STL file via MeshVS, I can give color configs but I can't set transparency even If set "aMesh->SetTransparency(0.9);" value it still doesn't effect it.
Kirill Gavrilov Thu, 02/03/2022 - 11:04
MeshVS_Mesh doesn't implement these methods of AIS_InteractiveObject interface (SetColor()/SetTransparency/SetMaterial etc.) - you have to use MeshVS_Drawer interface instead.
Basing on meshmat Draw Harness command implementation, it might look like this:
Thu, 02/03/2022 - 11:04
MeshVS_Mesh doesn't implement these methods of AIS_InteractiveObject interface (SetColor()/SetTransparency/SetMaterial etc.) - you have to use MeshVS_Drawer interface instead.
Basing on meshmat Draw Harness command implementation, it might look like this:
Thu, 02/03/2022 - 13:10
It works perfectly, thank you so much!