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!
u can also do more interpolation on the jit.gl.render and jit.window, alternatively u could try fsaa $1.
these msg are documented in the jit.gl.group HTML jitter documentation. another nice way of reminding urself what msg are is using ctrl + alt + LMB click – u get a list of all msg for that object.
That`s it! I?ll check the other ways too..
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!
C74 RSS Feed | © Copyright Cycling '74