Skip to content

onion skin management in annotate tool (do not merge) #498

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

Closed
wants to merge 2 commits into 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

@geffrak geffrak removed their request for review May 13, 2025 13:00
@pbergeron-adsk pbergeron-adsk self-requested a review May 15, 2025 13:29
@pbergeron-adsk
Copy link
Contributor

pbergeron-adsk commented May 15, 2025

Salut @mamouth13 Thierry LAUTHELIER !

Just a quick note to let you know about what's going on with this PR, and why it hasn't been merged yet.

First, we're working on a design for something similar, so as to not have conflicting functionality, this wasn't merged in.

But we will still internally review this PR in conjunction with the other feature. To do this, and because it will get me a bit better flexibility to experiment with things, I've taken over this PR and these changes in my own fork because it's old and there were non-trivial merge conflicts to fix with the latest main. Also, in the future, it would be helpful if in your fork you committed new code in a new branch, not main directly :)

In any case, I will close this PR a the coming days, but your code will live through my other PR, at least for a while. It is located here: #774

@eloisebrosseau @bernie-laberge

@pbergeron-adsk pbergeron-adsk changed the title onion skin management in annotate tool onion skin management in annotate tool (do not merge) May 15, 2025
@pbergeron-adsk
Copy link
Contributor

closing pr since another pr replaces it.

@mamouth13
Copy link
Author

Thank you for the update. Hope this will help.

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.

3 participants