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

Initial mesh support #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thangngoc89
Copy link

Hi,

Thanks for making niivue-react! I’ve been using it for a while now, and it’s been awesome. Your diffing method is genius—way better than the way I was reacting (pun intented) to props changes in my old implementation. I ripped it out as soon as I see yours.

Recently, I needed mesh support for my project, so I put together this PR.

Right now, the support is pretty basic but gets the job done:

  • Load/remove mesh
  • Change mesh property (rgba255, visible, ...)
  • Change niivue's instance meshXRay

I’ll add more features as I need them for my project.

Cheers

@jennydaman
Copy link
Collaborator

Amazing! I’ll review later today or tomorrow.

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 this pull request may close these issues.

2 participants