WebGL Line width seems not to work.

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~?

Kirill Gavrilov's picture

Popular WebGL implementations on Windows platform do not support line width different from 1 pixel.