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

Indexed vertices API #4

Closed
mourner opened this issue Jan 21, 2015 · 2 comments · Fixed by #11
Closed

Indexed vertices API #4

mourner opened this issue Jan 21, 2015 · 2 comments · Fixed by #11

Comments

@mourner
Copy link
Member

mourner commented Jan 21, 2015

Instead of outputting triangles as 3 vertices each, we could output unique vertices + list of indexes for triangles instead, like e.g. https://github.com/claus/libtess2.js/. This can save a lot of memory and vertex processing time when uploading vertices data to GL.

@Maksims
Copy link

Maksims commented Feb 8, 2015

I would like to have such optional feature too.
But based on pull request, you've mentioned it has performance drawback, weird, as from quick ideas, it should be opposite as for performance as well as for memory footprint.

@mourner
Copy link
Member Author

mourner commented Feb 24, 2015

Merged.

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

Successfully merging a pull request may close this issue.

2 participants