-
Notifications
You must be signed in to change notification settings - Fork 28
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
Split up massive templates automatically to avoid OOM #59
Comments
That image is 2500x1500 and the overlay script needs to turn it into 7500x4500 image to display it, your GPU would need to allocate a 16k texture to save it in memory. |
Is there a reason you copy the templates to a canvas instead of using |
Because we want the "show only every Nth pixel" feature. |
In addition we currently support variable amounts of dithering if you use the priority mask. I don't think anyone besides us actually used it so we can probably drop the support for priority masks and just find a way to generate a mask that shows every Nth pixel but is also infinitely repeating |
Ah, right. A mask wouldn't be able to do randomness. |
I think they can, I think you can use SVG as mask so the only thing we would need to do is generate our own SVGs. |
The other thing to consider with the mask is animated templates. If animated template wants to spend time being dithered then any template overlapping with the animate template needs a part of it masked out. idk if we can stack masks like that, probably can if we use |
It looks like Bocchi used a priority mask: https://nyaan.moe/bocchiplace2023.json MLP also used a priority mask, but only when using their own overlay script: https://github.com/r-ainbowroad/2023-minimap |
Once I open settings with template https://ua.rocks/img/canvas.png - page crashes.


Chrome Version 114.0.5735.248 (Official Build) (64-bit)
Version 115.0.5790.102 (Official Build) (64-bit)
Win 10
The text was updated successfully, but these errors were encountered: