-
Notifications
You must be signed in to change notification settings - Fork 59
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
32-bit vertex indices #5
Comments
ImDrawList: Support for large meshes (64k+ vertices) with 16-bits indices |
Thanks for the link. This will be supported, but I cannot provide ETA at the moment. |
It seems in order to support large meshes with 16-bit indices, you need the OpenGL renderer to support the ocornut/imgui@b3dd03f#diff-55777f445e451bfff7805abb611c00b44c025149fae791c7d1a1535818788c5fR107-R113 Currently, it seems to not be supported by WebGL, so not sure if we can do anything at the moment |
You mean is WebGL not support this feature? I am sorry to know less about WebGL. |
Your browser must support the "OES_element_index_uint" extension
It turns out that some browsers actually support 32-bit vertex indices, so I just created a branch that uses this: See https://computergraphics.stackexchange.com/questions/3637/how-to-use-32-bit-integers-for-element-indices-in-webgl-1-0 for more information. @Eragon-Brisingr You can give it a try and see if it works for you. See instructions in the PR |
Thank you, I will try it~ |
OES_element_index_uint work very good. Seem Browser compatibility is full support. |
Can this be achieved? Seems like WebGL only support 16-bit integer indices.
The text was updated successfully, but these errors were encountered: