Processing 2.0a5 / JS Antialiasing hint(ENABLE_OPENGL_4X_SMOOTH); not working
in
Core Library Questions
•
1 year ago
Hello,
im trying to smooth my graphics in the processing 2.0a5 version for JAVASCRIPT and STANDARD.
i've read this post
https://forum.processing.org/topic/smoothing-antialiasing-in-processingjs
and this change for the JAVASCRIPT version did help
gl = canvas.getContext(ctxNames[i]);
im wondering if there are more options of smoothing
the STANDARD version looks worse than the WEB version. smooth() doesnt do anything and the hint(ENABLE_OPENGL_4X_SMOOTH); throws an error
"cannot find anything named "ENABLE_OPENGL_4X_SMOOTH"
i basically draw triangles in 3d that rotate. im using a orthographic projection.
for some reasons there are some angles where the shapes are perfectly smooth. different angles of the triangles that result in the same 2D shape are very edgy …
would be interesting to understand why?
im happy about tips and suggestions
thanks
1