1
$\begingroup$

I'm having a bit of a specific issue that I can't seem to find an answer to.

For context, I'm trying to apply a low-res pixel texture to a blocky (Minecraft) character model. However, this model has a high amount of subdivisions around the limb joints, i.e. the elbows and knees, to allow for smooth bending.

The result is that my arm's UV island looks like this:

I need the arm's texture UV island to align with the arm texture perfectly, placing by hand like this is isn't perfect

The subdivisions around the joint are smaller in size than the size of 1x1 pixel. This means that if I use Snap to Pixels on this island, these tiny subdivisions become squished/distorted.

Is it possible to have this island fit the arm texture perfectly, without the subdivisions losing their original shape and proportions?

Any help would highly appreciated! :)

$\endgroup$

2 Answers 2

1
$\begingroup$

here is an idea, but just to warn you, I am taking advantage of the "ANY help would be highly appreciated." Hope it is worth it :)

I have a simple repeating texture:

texture

Now I have created an example mesh like your arm: mesh

What I have done to the corner edges is I have selected them, hit ctrl-E, and select "Mark Seam." Then I selected the entire mesh and hit "u", and then I selected from the drop-down, "unwrap." I then applied the texture to the arm. Now select the entire mesh, go to the UV image editor, select all of the mesh in the UV editor window, and scale it to the appropriate size.

The texture will not be aligned on each side, however. I fixed this by aligning it manually. This is how: you select one whole side at a time, move over to the UV image editor, select the mesh, and move it on the x and y axis. This will change the position that the texture is on the mesh, as shown below. Make sure, when moving the texture, that you are moving the mesh on the UV image editor window, and NOT on the 3D view window. aligningTexture

This is a lot more manual work, and I hope that I did not lose you. If I did, please say so, and I will edit this post. Here is the result you will get:

result

If this doesn't exactly apply to your problem, then don't feel bad to clue me in, and I will try to help.

$\endgroup$
12
  • $\begingroup$ Hey RBlong2us, thanks so much for the response! Although the effect you achieve is very close to what I need, unfortunately I think it's not quite the solution I'm looking for :( This way, even though the unwrap is lined up, you still need to scale it down manually, and as a result of that, you see that the pixels are not 100% flush with the face of the cube's edges. Essentially, my subdivisions arent pixel perfectly cut, but I just care about the scale of the UV island being pixel perfect. Any way to do this without distorting all the vertices(since my subdivisions/faces arent pixel perfect)? $\endgroup$
    – Farian
    Commented Jun 12, 2019 at 18:34
  • $\begingroup$ Hey, Thanks for responding. I think I might be able to figure out an idea. Do you think you could upload your .blend file? I'd like to take a crack at it! If I figure out a solution, I can show you how I did it. $\endgroup$
    – RBlong2us
    Commented Jun 12, 2019 at 18:44
  • $\begingroup$ I'm curious: would you be willing to modify the texture to fix the problem? $\endgroup$
    – RBlong2us
    Commented Jun 12, 2019 at 18:46
  • $\begingroup$ OK, I need you to explain how the Snap to Pixels works. $\endgroup$
    – RBlong2us
    Commented Jun 12, 2019 at 18:55
  • $\begingroup$ 1) I've made a finished test/placeholder texture so you can fiddle with it if you want, thanks so much for trying to help out with this, you're a legend. How do I send it to you? 2) It depends on how it would have to be changed, but I think so! 3) Snap to pixels is a function which, as the name implies, makes all the points making up a UV island snap to the corner of a pixel. Essentially this means that if the texture you supply to place the UV islands on is very low resolution, you can move the island on a grid the size of the pixels! $\endgroup$
    – Farian
    Commented Jun 12, 2019 at 19:56
1
$\begingroup$

You could upscale the texture- if you're not using it in-game, it won't matter if you 2x or 3x it, so that 1x1 pixel becomes 2x2 or something larger

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .