OpenGL Pointsmooth

Jan 12, 2007 at 11:37am

OpenGL Pointsmooth

Hello there!

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!
Sonja

#29635
Jan 12, 2007 at 12:57pm

antialias $1

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.

j

#93074
Jan 12, 2007 at 1:05pm

That`s it! I?ll check the other ways too..
Thank you!!
S

#93075
Jan 14, 2007 at 7:25pm

#93076
Jan 15, 2007 at 1:30pm

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’).

pelado

#93077
Jan 17, 2007 at 9:28am

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!
s

#93078

You must be logged in to reply to this topic.