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

Visualizing mesh edges and vertices #152

Closed
Kevin-Mattheus-Moerman opened this issue Mar 31, 2020 · 4 comments · Fixed by #163
Closed

Visualizing mesh edges and vertices #152

Kevin-Mattheus-Moerman opened this issue Mar 31, 2020 · 4 comments · Fixed by #163

Comments

@Kevin-Mattheus-Moerman
Copy link

Kevin-Mattheus-Moerman commented Mar 31, 2020

@rdeits

  1. Is it possible to turn on edges (and control their thickness and color)
  2. I know you can render point clouds but is it possible to render mesh vertices (nodes) on a mesh? E.g. as dots of a certain color?

Perhaps you can point me to more documentation.

Thanks

@Kevin-Mattheus-Moerman Kevin-Mattheus-Moerman changed the title Visualizing mesh edge and vertices Visualizing mesh edges and vertices Apr 6, 2020
@Kevin-Mattheus-Moerman
Copy link
Author

@rdeits can you help with the above query? Thanks

@rdeits
Copy link
Owner

rdeits commented May 29, 2020

Sure, happy to help! I realized that wireframe support wasn't working, but it will be fixed in #163 which should be merged later today. The only limitation is that you have to draw the object three times: once as the object itself, once as a wireframe, and once as a collection of points. I don't know of any way to tell Three.js to render the object both as a solid and as a wireframe at the same time otherwise.

Fortunately, it's easy to wrap that up as a function, as I've done in that PR. I'm also going to play around with generating proper documentation, since it's overdue.

@Kevin-Mattheus-Moerman
Copy link
Author

Great @rdeits thanks. I'll test it shortly.

@Kevin-Mattheus-Moerman
Copy link
Author

I commented over at #163

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

Successfully merging a pull request may close this issue.

2 participants