Would be nice if wrap around mode could be restricted to just X or Y axis

I’m using Krita to hand paint video game textures. Textures for some models (like walls, trim, pipes, vines, electric bolts, garlands) need to repeat in one axis but not another (eg, think of a short brick wall where the bottom is painted to look like it is near the ground and the top has a cement cap. Such a texture needs to repeat along the wall, but it makes no sense to repeat it vertically). At the moment it is difficult to paint such a texture in Krita because if you enable wrap around mode, anything you paint on the bottom will be automatically copied to the top.

It would be helpful if the wrap around mode could be extended so that you could restrict the wrapping to only a single axis.

10 Likes

That’s a good point. In the current version, you will have to add temporary empty fields so that the brush going down does not damage the upper part of the texture.

That’s a very good request, and should be easy to do. I’ll add it to my list here: Beginner coding tasks in Krita: easy and short feature requests, ready to implement

3 Likes

Having some experience with game textures myself, I read this topic’s title and thought “yeah, that would be nice”.

So I started working on it, and I’ve made enough progress to show it off
in a not-particularly-well-done example video:

And to start an MR here, with misc details: Draft: Add single-axis settings to Wrap Around Mode (!1524) · Merge requests · Graphics / Krita · GitLab

10 Likes

Great job on doing this feature request so fast! Nice wall texture too.

After some more work, the feature has been merged and is now available in the latest Nightly (Krita Next) builds!
Feel free to test it out, maybe even make a cool promo video showing it off, for anyone who has better video editing skills than I do. :smile:

5 Likes

Deevad did offer to make small feature videos, so maybe ping him on IRC?

We can close this feature request then :+1:

Very nice feature, thank you @freyalupen ; video done :smiling_face_with_three_hearts: https://www.peppercarrot.com/extras/videos/2022-09_krita5-2_minivideo/2022-09-07_wrap-around-mode-direction.mp4

5 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.