[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] How to set a canvas backing store to display units?




On 17/06/2012 03:34, Gregg Tavares (社用) wrote:
2) Don't use gl.LINES because the thickness will be wrong
3) Don't use gl.POINTS because the size will be wrong
Line width and point size have always been basket cases because there is no connection with the model-view matrix and the rest of what you are drawing. Almost nobody uses them with values other than 1. Point sprites are used for larger points and polygons for wide lines.

Regards

    -Mark