Skip to content
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

Render (fat) straight lines to GL #15

Open
stuaxo opened this issue Feb 25, 2020 · 0 comments
Open

Render (fat) straight lines to GL #15

stuaxo opened this issue Feb 25, 2020 · 0 comments

Comments

@stuaxo
Copy link
Contributor

stuaxo commented Feb 25, 2020

Probably use triangle strip like here:
https://stackoverflow.com/questions/4319073/correct-format-for-loading-vertex-arrays-from-file

Initially just fill with a colour, but then can look into aliasing the edges, line caps etc.

For an opengl binding use ModernGL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant