Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Upload image

Leslie Mimistrobell
Registered User
Join date: 29 Jan 2007
Posts: 8
11-02-2007 07:16
I am trying to upload rl photoes into sl. But it was stretched pretty badly. Does anyone know if there is some way to keep the original aspect ratio of the photoes or I have to resize them? Thanks
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
11-02-2007 07:19
you have to use the standard sizes in combinations of 1024, 512, 256, 128 pixels. The easiest way is to throw it into Photoshop and crop to 512x256 for a photo. Just make sure you keep the original aspect ratio in Photoshop and it will upload fine. If you don't set your sizes to denominations of 512 pixels then SL will just estimate for you and stretch them to whatever it thinks is closest.
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
11-02-2007 07:21
when applied to a prim of the correct proportions, it will appear correct. if you want to show the picture as a snapshot to somebody else, then make sure the original image is cropped to the standardized sizes, eg 256 x 256 (or any size square with do) but for other sizes in proportion to 256 x 512 or 256 x 1024 etc
_____________________
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
11-02-2007 07:27
OpenGL requires that all images be measurable (in pixels) in powers of two on each side. SL will accept powers of two between 8 and 1024. If you don't size them that way yourself, SL will automatically resize them for you, and as you've discovered, the results are not always pretty. Photoshop, Paintshop Pro, or GIMP will do a much better job.

If the original aspect ration is not measurable in powers of two, paste the picture onto a larger canvas that is. For example, if your picture has an aspect ratio of 5:3, it would fit nicely onto a 1:1 canvas. You'll just end up with 2/5 of the canvas above and/or below the picture being empty space. That's fine. You can hide the empty space in SL. When you apply the texture to a prim, set the vertical repeats per face to 0.60 instead of 1, so that it shows only the 60% of the image that has the picture on it and none of the blank space.

For more info, including a list of all allowable sizes, as well as guidance on how to choose the best size of the job, see the sticky at the top of the texturing forum, called Texture Size, Pixel Counts, Video Memory, and File Formats.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Conifer Dada
Hiya m'dooks!
Join date: 6 Oct 2006
Posts: 3,716
11-02-2007 12:52
Images / textures often appear with wrong proportions in upload windows but don't worry. if the surface of the prim you want to apply it to has the correct proportions, the image will be fine - as long as you set it to 1 'repeat' horizontally and 1 vertically.
_____________________