Skip to content

refactor: port XORPattern layer to Cobra renderer - #3485

Merged
morevnaproject merged 1 commit into
synfig:masterfrom
rodolforg:port-xor-pattern-to-cobra
Apr 27, 2025
Merged

morevnaproject merged 1 commit into
synfig:masterfrom
rodolforg:port-xor-pattern-to-cobra

Conversation

@rodolforg

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

Thank you for contributing!
Below is how your contribution will appear in Synfig's release notes. Review it and improve your pull request's title and description so that your contribution is clear. You can add images, videos, and anything else you want. Have fun!

♻️ Code Refactoring

  • Port XORPattern layer to Cobra renderer

@rodolforg
rodolforg force-pushed the port-xor-pattern-to-cobra branch from 838c27a to 1416da2 Compare March 19, 2025 10:00
@rodolforg

Copy link
Copy Markdown
Contributor Author

@Zloi-KoteikA could you please test this port to Cobra? :)

@Zloi-KoteikA

Copy link
Copy Markdown
Collaborator

@rodolforg
Conducted tests of the XOR pattern layer. According to the results, there is a displacement of the finished image in the Synfig PR version.
I have not been able to determine exactly which way the shift is going. As a test, I changed the value of the "size" parameter, starting from 0.1. The result will be the same for any value.

I also tried using other file extensions (PNG, JPEG). In version 1.0.2, it was not possible to create the bmp format, so I'll check it later.
V.PR
xor-patern-size-0 1

V.1.0.2
xor-patern-size-0,1(old)

Peek 2025-03-24 17-14

@rodolforg
rodolforg force-pushed the port-xor-pattern-to-cobra branch from 1416da2 to 98b0d4b Compare April 19, 2025 03:54
@rodolforg

rodolforg commented Apr 19, 2025 •

Copy link
Copy Markdown
Contributor Author

@Zloi-KoteikA I finally correct it! 😄

@rodolforg
rodolforg force-pushed the port-xor-pattern-to-cobra branch from 98b0d4b to 44c5faf Compare April 20, 2025 04:46
@Zloi-KoteikA

Copy link
Copy Markdown
Collaborator

@rodolforg Hello. Sorry for the long wait for the tests. I checked and everything is fine. The results in versions PR and 1.0.2 are the same.

@morevnaproject
morevnaproject self-requested a review April 27, 2025 15:53
@morevnaproject
morevnaproject merged commit 09007fe into synfig:master Apr 27, 2025
@rodolforg
rodolforg deleted the port-xor-pattern-to-cobra branch April 27, 2025 17:08
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