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

triangulate any n-gons #21

Open
meszaros-lajos-gyorgy opened this issue Aug 19, 2024 · 2 comments
Open

triangulate any n-gons #21

meszaros-lajos-gyorgy opened this issue Aug 19, 2024 · 2 comments
Milestone

Comments

@meszaros-lajos-gyorgy
Copy link
Collaborator

meszaros-lajos-gyorgy commented Aug 19, 2024

Arx can only handle triangles and quads, more complex planes need to be sliced up into smaller triangles. Should be done on threejs level.

Fan triangulation is a no go, because Arx uses vertex lighting, which focuses lighting information into the tips of the triangles. Something more evenly distributed is needed.
image

@meszaros-lajos-gyorgy
Copy link
Collaborator Author

@fredlllll
Copy link

ear clipping might also be viable here https://en.wikipedia.org/wiki/Polygon_triangulation#Ear_clipping_method

@meszaros-lajos-gyorgy meszaros-lajos-gyorgy added this to the v22.0.0 milestone Dec 24, 2024
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

No branches or pull requests

2 participants