-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smooth line joins #38
Comments
Update
http://www.tom-carden.co.uk/2008/02/09/new-processing-hack-line-caps-and-joins-in-opengl
https://blog.mapbox.com/drawing-antialiased-lines-with-opengl-8766f34192dc |
Maybe the simple solution is still good enough: |
#38 Added round joins polyline drawing.
libGDX
provides no line joining utilities/settings.http://www.bluevoid.com/opengl/sig00/advanced00/notes/node290.html
The following SO answer shows how to compute Milter join points (in general terms, although the question was about
libGDX
in specific).An easy round join solution:
http://artgrammer.blogspot.com/search/label/opengl
If drawing a curve, a texture can be applied to triangle strips. Example:
https://badlogicgames.com/forum/viewtopic.php?f=11&t=18940(The forum was shut down).The text was updated successfully, but these errors were encountered: