I have a jit.gl.sketch object drawing a matrix as points.
I?m looking for the right message to jit.gl.sketch drawing the points antialiased – in OpenGL it?s the argument GL_POINT_SMOOTH.
I tried some variations like "glpointsmoth 1" "pointsmooth_enable 1" "smooth_points 1" but none of them seem to work.
Does anyone know the right message?
Thanks a lot!
sorry, for some reason my response wasn’t published earlier.
glpointsmooth needs to be enabled. do this by sending the command glenable pointsmooth to sketch, then alter the size of the point using the command glpointsize. (jit.gl.sketch also has an attribute ‘pointsize’).
sorry, took a while for answering, too.. thanks for your answer! your way seems to be the right for windows! "antialiasing 1" for sketching points worked fine on mac os but not on windows. on windows though it works with "glenable pointsmooth" and altering the pointsize manually for antialiasing to be possible…
thanks! have a nice day!