Aussie wrote:
Sorry Karl Iwas meaning in photoshop. If you take picture I dont know how you make the image align on opposing sides so they will flow seamlessly when joined to form a texture
Figured I misunderstood!
😉
Thanks to Dwight for providing the answer. Let me add a couple of other comments since this thread was started by a student for whom these things may be new concepts.
When a "seamless" texture is repeated, you should be unable to detect where the edges of the original image lie. Even in the case of a single tile with grout repeating to show an entire surface of tile, the edges need to be managed as Dwight desribes to avoid an observable pixel line when the image is repeated.
But, a "seamless" texture does not mean that it lacks a repeating pattern - desired or undesired. An example of an undesired repeating pattern is the grass texture in the standard ArchiCAD materials which is seamless, but which has an unattractive repeat.
The wallpaper example is one where the pattern of the paper should repeat, but the edges of the base pattern should not be visible ... and so again, Dwight's technique is used to shift the pattern (offset filter) to clean up any edge pixels if required.
Back to textiles!
Fabric can be deformed, making the creation of a seamless, tile-able texture a little challenging. Camera lenses cause other issues. (A scanner eliminates the camera lens issue - but as mentioned in my earlier post, it does not give a genuine sense of the appearance of the fibers.)
Before taking a photo of a textile, is should be blocked to be as perfectly rectilinear as possible. If you manage to do this perfectly, then lens distortion is the main thing to address in making a texture.
Avoid a wide angle lens. If you use one, then use the free Panorama Tools plug-in for Photoshop to remove the lens distortion.
If the image is taken at a slight angle to the fabric / textile, then when you use offset, the rows (weft, knit, whatever) will not align since they will be denser on one side of the image and spaced further apart on the other side. Use the Photoshop Transform/Distort command along with the Photoshop Grid (ctrl-') to make the rows and columns (warp and weft) of the fabric rectilinear. Then try the Offset filter again. Repeat as necessary.
Below is a screenshot, with contrast articificially adjusted to help make the pattern show. The red grid is the Photoshop grid (you can change the color and size). The red arrows show that at the top, there is only a slight shift from the left to the right of the image, but at th bottom, there is a greater shift. The Distort command will correct this "bias"/distortion. (I just took a quick photo without blocking, and intentionally holding the camera at an angle to the surface. Bad lighting, etc. just because I'm doing this as I type.
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB