Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Texture size vs. prim size

Gromitigo Fish
Registered User
Join date: 11 Mar 2006
Posts: 4
03-16-2006 17:42
Is there a coloration between texture sizes in pixels and the prim sizes in the object tab?

For intance, if I want to make a 'poster' object. I have a texture that is 200px by 200px. What numbers should the x & y be so the texture doesn't repeat?
Nepenthes Ixchel
Broadly Offended.
Join date: 6 Dec 2005
Posts: 696
03-16-2006 18:32
From: Gromitigo Fish
Is there a coloration between texture sizes in pixels and the prim sizes in the object tab?

No.

From: Gromitigo Fish

For intance, if I want to make a 'poster' object. I have a texture that is 200px by 200px. What numbers should the x & y be so the texture doesn't repeat?


To avoid repeats set "repeats per face" to 1. This will disable the repeats per metre option.

Texture size, in pixels, is irrelevant here. However;

1) textures must have dimensions that are powers of 2 (32,64,128,256,512,1024)
2) The client resamples when uploading is either dimension is not a power of 2
3) The clients resampling is, quite frankly, crap. So resize manually beforehand.
4) Bigger textures take longer for clients to download.
5) The textures are loaded into the client video card UNCOMPRESSED. So a 1024x1024x32bit texture uses 4MB of video memory. Ergo, use the smallest texture size you can.

For your 200x200 poster, I'd resize it to 256x256 before uploading.