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: Drawing with both hands #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

doublerebel
Copy link

@doublerebel doublerebel commented Mar 6, 2020

As requested by audience at StereoKit Reactor Redmond meetup, this feature adds support for drawing with both hands. I considered a couple approaches, but extending a single Painting to track, load, undo/redo, and serialize/unserialize both hands seemed simpler than adding a Painting for each hand. Plus, I'm left-handed so this is particularly satisfying to me.

Features

  • Both hands can draw simultaneously
  • Each hand can draw in a different color
  • Palette for left hand appears on the left, right hand appears on the right
  • Palette extended so pose can be set externally, making it easier to run multiple Palette instances

Known issues

Both hands change color with the last-touched palette. (AIUI this is a limitation of StereoKit which uses the same material for both hands: StereoKit/StereoKit#66.)

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.

1 participant