Elektrine lite

← Feed

@foxyoreos@gulp.cafe

Post #1662168

2026-04-17 10:32 UTC

Reference images in Krita are just objects on a layer. So there's not a lot of math to this, I get a transform from Krita before the image draws, and I can kind of just.. save it. Like, I already have it when the thing renders, there's no reason to compute it twice. And there's a really lovely, wonderful set of methods that get called to update the reference image layer that has the transform that's about to get applied to each object, so..

Replies (2)

  • @foxyoreos@gulp.cafe 2026-04-17 10:36

    What if, before that happens, the pinned reference images just happened to get their transform set to the transform of the target screen position they were pinned at, multiplied by the inverse of the layer's new transform? UwU Like, that's maybe a question, I don't know because matrix math is fucking confusing and I came very close to failing that class in college. But it seems like that should work? And be cheap and scale really well?

    Open ##1662169

  • @IceWolf@masto.brightfur.net 2026-04-17 10:51

    @foxyoreos I'm kinda worried about saving. Can you zero out the transform for saves, so your files aren't affected by the zoom/pan you happen to be at when you hit save? 'Cause that would be an absolute fucking NIGHTMARE.

    Open ##1662172