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

Faceted Sphere Primitive #33

Open
klarh opened this issue May 29, 2019 · 0 comments
Open

Faceted Sphere Primitive #33

klarh opened this issue May 29, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@klarh
Copy link
Collaborator

klarh commented May 29, 2019

In case anyone has a need for these, it should be relatively straightforward to add them, especially now that we have the infrastructure in place to automatically build array uniforms in the vispy backend.

Attached here is an example from an old notebook implementing the shaders.

Suggestions for capabilities/attributes:

  • Per-particle colors (that color the sphere parts)
  • Configurable facet plane equations
  • Configurable facet colors (if fewer facet colors than facet equations are given, use the per-particle color)
  • A facet_color_mixture attribute to mix between per-particle colors and per-facet colors
  • Positions, orientations, diameters (would we want to just make the diameters fixed for the entire primitive, or allow per-shape diameters?)
@klarh klarh added the enhancement New feature or request label May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant