-
Notifications
You must be signed in to change notification settings - Fork 169
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
Fill status #62
Comments
@lilfighterr Please let me know if you figured out how to know paint progress ? |
Any update on that? @activegear @lilfighterr ? |
@lilfighterr @activegear @PatrickYns Hi! I’m also trying to figure out how this would be possible? Did anyone of you come up with any solutions or ideas? |
@Jyri-K yes, I've managed to do this with quite some effort. My main inspiration was a Unity project based on Splatoon called Splatunity (or so I recall) To further optimize it, we saved the original texture image into a duplicate version that's 16x16, and on every compare function, we would first get the new texture, duplicate it into a downsized version that's also 16x16, and in that case we ended up with 256 operations, which was in theory around x16000 times faster. We could smoothly do a texture comparison several times every second, all while having a stable 60 FPS on a mid-end mobile device. |
Thanks for the reply! Sounds like a promising solution, will have to give it a go :) |
Sorry for being a super necromancer but i am using this tool to paint 3D cube in my project. Here is the doc page of imageContentHash: https://docs.unity3d.com/ScriptReference/Texture-imageContentsHash.html Thanks for any answer, again i am really sorry. Didn't wanted to open a new issue for this because it is already created before. |
Hi,
Thanks for this wonderful asset. I'm trying to create a scenario where a texture needs to be painted over to complete a level. Is there a way to determine how much of the texture is painted? For example, I'm looking for something like a percentage that indicates if a texture has been 40% covered by paint.
Thanks.
The text was updated successfully, but these errors were encountered: