[sldev] WTF happened to my texture?

John Hurliman jhurliman at wsu.edu
Tue Oct 9 21:17:34 PDT 2007


Jason Giglio wrote:
> Alan Grimes wrote:
>> SL has a problem with text.
>
> You know about XyText and XyzzyText... right?
>
> Anyway, your problem was you need to resize the image to 512x512 
> before uploading it.  You can use it at whatever aspect ratio you want 
> later by setting the texture repeats parameter of the prim face.
>
> Right now it always rounds down to the next power of two.  It probably 
> should go for the closer power of 2 isntead of always rounding down, 
> but that's a minor issue. 

You could also use SLImageUpload and upload lossless for something like 
that where you don't want the client to download four different quality 
levels or so of the image.


More information about the SLDev mailing list