-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
(lack of) Documentation regarding triangulation? #12626
Comments
For docs on three.js's triangulation see THREE.ShapeUtils. But, I would suggest just using earcut. We may go that direction in the future: #12286. Example usage of earcut with three.js: #5959 (comment) |
I use this as an opportunity to vote for an application of Besides, an improved triangulation algorithm would be a nice feature for |
Luckily I only need to triangulate simple polygons, so I'll stick with ShapeUtils.
Thank you McCurdy!
Den 10. nov. 2017, fra 18.58, Michael Herzog <[email protected]> skrev:
I use this as an opportunity to vote for an application of earcut again 😊 . The current implementation of ShapeUtils (a port from here) was repeatedly insufficient if users required a robust triangulation process. Instead, users switched to external libs (in most cases earcut). IMO, this is a clear signal to improve the built-in solution.
Besides, an improved triangulation algorithm would be a nice feature for R89😊
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Den 10. nov. 2017 18.58, fra 18.58, Michael Herzog <[email protected]> skrev:
…I use this as an opportunity to vote for an application of `earcut`
again 😊 . The current implementation of `ShapeUtils` (a port from
[here](http://www.flipcode.com/archives/Efficient_Polygon_Triangulation.shtml))
was repeatedly insufficient if users required a robust triangulation
process. Instead, users switched to external libs (in most cases
`earcut`). IMO, this is a clear signal to improve the built-in
solution.
Besides, an improved triangulation algorithm would be a nice feature
for `R89`:blush:
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#12626 (comment)
|
This should be solved with #12661 and #12725. |
@loldrup You can easily install a git repository using npm, that is no rocket science:
I will add this to the readme when I find some free time. |
What's the one-stop-shop for documentation on performing triangulation with three.js?
Searching for 'triangulation' on the three.js documentation site gives no hits.
Is this project officially sanctioned as The Right Way to approach triangulation with three.js?
Is there a way to get three.js sanctioned triangulation code purely through NPM? Searching for 'three triangulation' on npmjs.com gives no hits, and the above mentioned project only talks about installation via bower.json. Yuck!
The text was updated successfully, but these errors were encountered: