Forums > Jitter

Draw smooth line. line thickness discontinuity.

Mar 08 2017 | 1:31 pm

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[0],dim[0],0) => 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:
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 ?
What are my other solutions to avoid discontinuities and display my buffer smoothly ?
Thanks for your help !
Best regards.

Mar 13 2017 | 1:30 pm

check out @pathstyle ribbon

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter