Repeating textures?

Discussion in 'Mapping Questions & Discussion' started by Moonrat, Nov 12, 2016.

  1. Moonrat

    aa Moonrat The end of an era

    Messages:
    897
    Positive Ratings:
    530
    I want to make a nice ol' rock texture because I'm offended by the lack of one I want in TF2.

    Though making a texture like this would mean I'd have to have it repeat. Is there any particular recommended ways to make a texture repeat seamlessly, or is it just trial and error?
     
  2. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    Here's what I do!

    First, make your texture to a state that you think looks okay and won't need much changing.
    [​IMG]

    Next, create a new imagine that is twice as large and paste the original in it. Place it in a corner.
    [​IMG]

    Copy and paste the image into the other 3 corners of the large square, making sure that the texture lines up with each side.
    [​IMG]

    Now you will notice the issue. The texture is obviously not tilable in it's current state. Lines are cut off. We're almost done!

    Select the square in the center of the image, or just somewhere where the corners of all 4 textures meet.
    [​IMG]

    Make this it's own file.
    [​IMG]

    Finally, fix any cut-offs or issues.
    [​IMG]

    Now you have a perfectly tilable image!

    [​IMG]


    Double check to make sure every selection you have is perfectly square. If you notice, mine isn't. this will cause the tilability to look a bit off by a few pixels. If you are smart - unlike me - it will work 100% of the time!
     
    • Thanks Thanks x 7
    • Like Like x 2
  3. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    908
    Positive Ratings:
    1,468
    or just use the offset modifier in both axes with wrap around checked and paint over the seams
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  4. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    Paint.net doesn't have that functionality. You would need to download a plugin, but the downloads are very old (2006-9)
     
    • Thanks Thanks x 1
  5. Moonrat

    aa Moonrat The end of an era

    Messages:
    897
    Positive Ratings:
    530
    This method sounds good, but how do you get an exact size like 512x512 or something else. Seems like there is a lot of room for error here
     
  6. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    The select tool in paint.net lets you see your measurements in the bottom of the screen. You can see it in the screenshots. Adjust it to what you need by reading those values
     
  7. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    947
    Positive Ratings:
    930
    What I like to do for quickly making a selection of a specific size, is make a new layer, make the selection box and then hit backspace to fill the area. Now if I need that selection box again i go to that layer and just select the box using the wand tool.
    That doesn't matter, they still work.
     
    • Thanks Thanks x 1
  8. Diva Dan

    aa Diva Dan hello!

    Messages:
    845
    Positive Ratings:
    1,437
    I do the same thing :) Sometimes I will make new files though just because I prefer keeping the actual selection active for some reason
     
  9. LadyRaee

    LadyRaee CHEERFULLY SUICIDAL

    Messages:
    201
    Positive Ratings:
    194
    Use free Photoshop-esque tool called Krita, make 512px × 512px image, press W to go into tileing mode and voila! you can make seamless textures!
     
    • Thanks Thanks x 1
  10. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    [​IMG]
    (its not a regular resize, its a cropping resize)

    [​IMG]
    And it will just take the central 512.

    (and yes, the tools are dutch here. but for english it should be the same commands/tooltip images and help you enough there)
     
    • Thanks Thanks x 1
    Last edited: Nov 13, 2016