Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Textures get reduced on upload?

Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
05-12-2006 03:23
Hi! I'm trying to upload here a texture that's a screenshot with text on it. The image is 834x383. However, when I use it, the result is very blurry.

My best guess is that it gets resized to 512x512, and that seems to be it, as adding white space to pad it to 1024x512 fixes the problem. But now I can't adjust the texture exactly to the prim.

I've tried to make the whitespace transparent, but that results in a weird glitch where prims placed in front of the textured prim become transparent at some angles.

Is there any way of forcing SL to make it be a 1024x512 texture without increasing the size of the image, or some other way of fixing this problem?
Eddy Stryker
libsecondlife Developer
Join date: 6 Jun 2004
Posts: 353
05-12-2006 03:26
Have you tried resizing the image to 1024x512 then re-uploading? Remember the SL compressor uses powers of two, so a dimension like 834x383 is going to get trashed by the so-so resizing algorithm. Better off doing the resize yourself in Photoshop or whatever you use.
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
05-12-2006 04:18
Increasing size to 1024x512 can work, but that's a very large texture. If possible, would try first scaling down to 512x512 ... the graphics program can do some tricks with interpolation and sharpening, and generally do better job than game client, meaning not so much blur while still maintaining reasonable file size.
Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
05-12-2006 05:00
From: Joannah Cramer
Increasing size to 1024x512 can work, but that's a very large texture. If possible, would try first scaling down to 512x512 ... the graphics program can do some tricks with interpolation and sharpening, and generally do better job than game client, meaning not so much blur while still maintaining reasonable file size.


No, scaling down will look bad. This is a screenshot of a dialog with text and fairly fine lines on it. Text looks really ugly when scaled down. Scaling up though does seem to be working better than what I've been trying so far, though :-)
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
05-12-2006 07:15
You are right that the SL client is doing a poor job of resampling your uploaded texture.

Use your graphics app to rescale the screenshot to 1024 x 512. Yes, it distorts in one direction. Ignore that for now. Don't mess with the padding you were trying to use.

Import that as 24-bit tga.

Put the texture on a prim that matches the original 834x383 aspect ratio. The texture will be just fine.

I would seriously recommend you also try using your graphics app to scale your original image down to 512 x 256. The graphics app can scale it far better than SL can. Import that, and try it, as above. If the image quality is acceptable it will load 4 times faster, because of the reduced resolution, and will cause less lag for everyone looking at your texture.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Niko Xingjian
Registered User
Join date: 16 Oct 2005
Posts: 34
05-12-2006 10:43
in this case since you are going for a fairly fixed sized and specific thing, you might consider cutting up the original image!

if you cut it into pieces that fit within the 512x512 limit then put those pieces on adjactent prims you will end up with you full size image at its original size
Cottonteil Muromachi
Abominable
Join date: 2 Mar 2005
Posts: 1,071
05-12-2006 23:10
From: Niko Xingjian
in this case since you are going for a fairly fixed sized and specific thing, you might consider cutting up the original image!

if you cut it into pieces that fit within the 512x512 limit then put those pieces on adjactent prims you will end up with you full size image at its original size


Is this called eating with your hands tied to your back?