
Mon, 03/07/2022 - 16:43
Forums:
Hi, I'm learning the WebGL Sample.
When I test the sample program,
It looks that the Line width seems not to work. It draws always with 1.0 thickness.
I tested the following.
- aisShape->SetWidth(4.0) : Not Work
- Handle(Prs3d_LineAspect) aspect = new Prs3d_LineAspect(Quantity_NOC_VIOLETRED3, Aspect_TypeOfLine::Aspect_TOL_SOLID, 4.0);
aisShape->Attributes()->SetWireAspect(aspect); : Not Work
How can I set the line width(thickness) in the WebGL sample~?
Mon, 03/07/2022 - 19:59
Popular WebGL implementations on Windows platform do not support line width different from 1 pixel.