Skip to content

Onion Skin Management (Do not merge) #774

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

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

Conversation

pbergeron-adsk
Copy link
Contributor

@pbergeron-adsk pbergeron-adsk commented May 15, 2025

NOTE: This is a take-over of the following PR for the excellent work from @mamouth13 found here: #498

Summarize your change.

This implements onion skin management. From the original PR text:

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.

Describe the reason for the change.

There is no change from the original PR - except for resolving merge conflicts and bringing up to date with the latest OpenRV main.

Describe what you have tested and on which operating system.

macOS

Add a list of changes, and note any that might need special attention during the review.

If possible, provide screenshots.

image

@pbergeron-adsk pbergeron-adsk changed the title Onion Skin Management (copy of PR Take over mammouth13 PR and fixed merge conflicts Onion Skin Management (Do not merge) May 15, 2025
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