From: FD Spark
How do you go about creating Texture sheets?
I have put multiple textures in on texture for like display purposes but I don't entirely understand how one would use each indivual texture that way.
I have though discovered if I shade textures in certian tones I can recolor them on prims in different hues and patterns.
There also are certain textures that appear one way in art program, another on prims, and another way in appearance clothing some of those textures I discovered are very interesting and beautiful but I don't really understand how I did it in first place because I tend to mess with things and then forget how I have done them.
LOL
First, texture sheets can only be used on prims, and not on clothes, because you need to be able to specify repeats and offsets in the horizontal and vertical direction to use them.
There is no way to specify repeats or offsets on clothing textures. They map to wherever the UV map for the clothing template sends them. For that reason, a texture that is a solid square of vertically striped fabric will kind of make a striped shirt, but the stripes on the arms would be going roughly sideways, while the stripes on the body are more or less vertical. And seams wouldn't match, and the stripes may not be the same width in all places... Overlay a texture square with one of the clothing templates, and you'll see what parts show on the clothes.
Most texture sheets can not be tiled at all, or can only be tiled in one direction (see below). If the textures are all in a row, vertically or horizontally, then the direction where the texture touches opposite edges might still be tilable semlessly.
The most simple example I could give you is 4 square textures in one sheet. In your graphics program, make 4 square textures, perhaps 256 x 256 each in size. Then make a 512 x 512 texture, and paste the 4 textures in the corners of the larger one. I use guide lines in Photoshop to make sure they line up. You import that into SL, and apply it to 4 square prims. On all of the, set the repeats per face to 0.5 in both directions. Now you see the inside corners of all 4 textures. Set the offset to 0.25 H and 0.25 V, and you'll see just one of the 4 textures. 0.25 and -0.25 gets another. -0.25 and -0.25 another. And -0.25 and 0.25 gets the last one.
To get the values for other layouts, you just need to do some math, or some experimentation. They don't all have to be the same size. You could, for example, make a single texture for a large rectangular table top that also had on it narrow textures for the table edge, the table legs, and a few small square ones for an ashtray that will go with the table.
Obviously a 4 x 4 texture layout can't be tiled to repeat just one texture. But let's say you wanted to do a texture sheet for trim to go on the edge of a table. You could take several wide, short textures and stack them vertically, using vertical repeats and offsets to select thye texture, and could still use horizintal repeat values of 2, 3, 5, or whatever to repeat the pattern around the edge of the table.
One gotcha with texture sheets. Sometimes when you specify to show just part of a texture, you get a little of what is beyond the chosen edge showing. So if a texture sheet was a black rectangle and a red rectangle, and you were showing the black half, you
might get a little of the other area showing on the joining edge. Tweaking the repeats to 0.49 instead of 0.50 will push that past the visible area.