-
Notifications
You must be signed in to change notification settings - Fork 89
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
how to display wireframe in threejs #143
Comments
Hi, Note: do we really want to use wireframe? Nexus is split in blocks using different resolution and swaps betwenn resolutions when data arrive, when you zoom in and out or even pan. This is hardly noticeable for full triangle rendering but in wireframe it would be a constant flickering. Unfortunately the easy threejs approch of using WireframeGeometry doesn't work, nexus renders geometry behind threejs engine (for perfomance reasons). Most common approaches:
In summary: there are no good wireframe solutions for large models in webgl2, option 1 looks the most promising, but requires some effort. I have made a commit where if you specify:
it simply replaces TRIANGLES with LINE_STRIP, you will be able to see the wireframe, but also wrong lines. |
Many many thanks for the information. |
Hello
i want to display mesh with wireframe, but it seems not work, can you supply an demo material to me on how to display mesh with wireframe, thanks!
The text was updated successfully, but these errors were encountered: