Talk:Private Estate land texture information

From Second Life Wiki
Jump to: navigation, search

Knowledge Base Article 365 has a section about the Tiling of Terrain Texture files, it says this:

Tiling textures For obvious reasons it is important to make sure your textures tile correctly. There are a number of tutorials and instructional pages on the Internet that show how to do this. There are also a number of books available on this subject, as well as many other subjects that are useful when creating textures for use in Second Life.

I posted a question on the Texturing Tips forum, asking, "Can anyone tell me, for a standard sized sim of 256 x 256 m, how many tiles are we talking about here?" No-one knew the answer, so I created a texture tga file, 512 x 512, 24 bit, no Alpha, black background, but with a thin white border around the edges. I then uploaded a new terrain file with a single height of 1m above sea-level, and loaded the texture.

Beautiful crosshatch was the result, and I could count the squares easily. The crosshatch, or grid, was 1/2 a tile, then 20 tiles, then 1/2 tile wide, and the same in length. Or, to think of it another way, a 20 x 20 grid, with a half-tile border all around it. It is clear then that the number of tiles for a standard sized sim of 256 x 256 m is 21x21 (441) tiles, and starts tiling from the centre, not from a corner. I checked this by creating another texture tga file, 512 x 512, 24 bit, no Alpha, black background, but with a thin white cross (top to bottom, side to side, through the centre). I then uploaded a new terrain file with a single height of 1m above sea-level, and loaded the texture. Again, a beautiful crosshatch was the result, but this time I was looking at a perfect grid of 21 x 21 tiles, 441 in total.