
Thu, 10/13/2022 - 13:49
Forums:
I want to change selection highlight style to use thicker line.
I tried:
Handle(Prs3d_Drawer) localSelectionStyle = myDocument3d->getContext()->SelectionStyle(); Handle(Prs3d_LineAspect) aspect = new Prs3d_LineAspect(Quantity_NOC_BLACK, Aspect_TOL_DOT, 5); localSelectionStyle->SetLineAspect(aspect); myDocument3d->getContext()->SetHighlightStyle(Prs3d_TypeOfHighlight_LocalSelected, localSelectionStyle);
but had no succsess.
I this even possible?
Tue, 11/01/2022 - 07:12
Hi Taneli,
We had a potentially related issue when setting line widths as detailed in this post
Try setting your OpenGL context to compatibility mode if possible, as a workaround. Unfortunately this won't work with most OpenGL ES implementations.