GLVis / glvis

Lightweight OpenGL tool for accurate and flexible finite element visualization
http://glvis.org
BSD 3-Clause "New" or "Revised" License
251 stars 51 forks source link

Configurable line width with modern OpenGL #232

Open publixsubfan opened 2 years ago

publixsubfan commented 2 years ago

Enables support for configurable line width in our modern OpenGL mode, by drawing them as quads which are expanded in the vertex shader.

Credits go to Matt DesLauriers for "Drawing Lines is Hard", from which most of the shader additions were adapted from.