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

Feature request: tetrahedron #7

Open
rth238 opened this issue Jul 8, 2023 · 2 comments
Open

Feature request: tetrahedron #7

rth238 opened this issue Jul 8, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rth238
Copy link

rth238 commented Jul 8, 2023

This is impressive!
You said that you were open to feature requests, so I hope this will be OK to suggest:
It would be great to have a tetrahedron primitive. Even better would be per Vertex colors…
And, blue sky dreaming, a 10-nosed tet with side nodes (vertices) giving quadratic sides to the tetrahedron edges, with many such tetrahedrons (for example finite element visualization).

@maxxfrazer maxxfrazer added enhancement New feature or request help wanted Extra attention is needed labels Jul 10, 2023
@maxxfrazer
Copy link
Owner

maxxfrazer commented Jul 10, 2023

Hey @rth238, seems like a shape not typically offered in OpenGL, Unity etc (I could be wrong there though!), but could be a useful one for niche scenarios.

Will leave it with the [help-wanted] tag for now if you're not able to do add a pull request for it, and either I or someone else can pick it up in the future.

@rth238
Copy link
Author

rth238 commented Oct 31, 2023

Looking at this again, following your visionOS update (thanks!) I’m not sure how to best interface with your code, but wonder if a cone with the minimum of 3 sides would provide for a 4-noded tetrahedral shape. Adding that on top of a 3 sided cylinder that could taper would then form a 10-nodes tetrahedral shape. That could do the shape, can your code assign a specific color for each vertex?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants