I was looking for a simple way to display a buffer which contain waveforms (LUT) in 2D. I thought that a good way will be using open GL:
jit.buffer => output audio buffer as matrix
jit.expr => create a new matrix from the jit.buffer output (in,dim,0)
jit.gl.mesh => create object in draw mode "Gl_Line_Strip"
This allow me to modify the line thickness and to apply texture to the object.
However the line thickness parameter produce discontinuities the problem is explain here: https://forum.libcinder.org/topic/smooth-thick-lines-using-geometry-shader
It seems that it’s possible to draw smooth line with thickness using a shader. Is there a simple way to implement this in max with jit.gl.shader ?
What are my other solutions to avoid discontinuities and display my buffer smoothly ?
Thanks for your help !