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

Very cool, some more in depth comments? #16

Open
BMaxV opened this issue Aug 12, 2022 · 0 comments
Open

Very cool, some more in depth comments? #16

BMaxV opened this issue Aug 12, 2022 · 0 comments

Comments

@BMaxV
Copy link

BMaxV commented Aug 12, 2022

Hey!

Super cool project, works flawlessly.

If you're around, can you spare a moment to explain how you do the texture mixing? I can probably recover it from the code, but it's probably easy for you to point out the key steps for the effect.

My current guess is using an image texture and modifying the image with PNMImage, then it's just position, getting various values from a 'paint material' texture, scaling with the brush as weight, factoring in some offsets and scaling. Is it done pixel by pixel because that seems like a lot of operations? That's what .store does isn't it?

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

No branches or pull requests

1 participant