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

onion skin management in annotate tool #498

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mamouth13
Copy link

@mamouth13 mamouth13 commented Jun 24, 2024

OnionSkin management in annotation

Modifications

Added 5 properties into the PaintIPNode node:

  • onionShow : enabled/disabled the drawing of onionSkin (default is false).
  • onionBeforeFrame: the number of frames BEFORE a stroke on which the onionSkins will be drawn (default is 5).
  • onionAfterFrame: the number of frames AFTER a stroke on which the onionSkins will be drawn (default is 5).
  • onionBeforeColor: the color used to draw onionSkin BEFORE (default is red).
  • onionAfterColor: the color used to draw onionSkin AFTER (default is green).

Paint::PolyLine and Paint::Text now manage those new properties and draw onionSkin on previous / next frames with the appropriate fading out colors.

Modified the annotate rv-package:

  • Modified drawpane.ui to add the appropriate Ui to manage the above new properties.
  • Modified annotate_mode.mu to properly handle the colorChooser with those new Ui.

Tests

This has been tested on CentOS Linux 7.

Screenshot

image

Copy link

linux-foundation-easycla bot commented Jun 24, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@bernie-laberge
Copy link
Contributor

Bonjour @mamouth13 ,
We apologize for the delay in reviewing your pull requests due to the fact that some key reviewers were on vacation.

Thank you for this excellent contribution to the Open RV effort !

@mamouth13
Copy link
Author

mamouth13 commented Jul 21, 2024 via email

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