Nepenthes Ixchel
Broadly Offended.
Join date: 6 Dec 2005
Posts: 696
|
12-15-2005 13:25
Every texture size I've seen has been a power of 2 (64, 256, 512, 1024, etc). Is this a requirment or just a common convention? I tried to find documentation on this but so far have failed.
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-15-2005 13:26
No, I've used loads that weren't (just now, actually).
|
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
|
12-15-2005 13:27
Ahhhs highya Nepenthes. This is a requirement within SL. If you upload something from the outside that's not scaled to a power of two, it will be resized to fit. For example, a graphic that's 1011 x 656 gets turned to 1024 x 512.
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
12-15-2005 13:38
and sl doesnt always do a good job resizing it
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-15-2005 13:39
*looks at just-used textures with a critical eye*
|
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
|
12-15-2005 14:50
Power of 2 sizes are required by graphic cards, or more specifically by standard OpenGL (the graphics api that's used by SL). Uploading a non-power of 2 size will result in SL resizing your file as well as converting it to the jpeg 2000 format it uses internally. This can sometimes cause some loss of detail. I prefer to work with power of 2 sizes while I'm designing as it helps me keep in mind what I'm doing. It's also worth mentioning that resizing and scaling algorithms often work better when working with a power of 2. So for example, scaling down from 2048 to 512 can give better results than say 2111 to 512.
|
Nepenthes Ixchel
Broadly Offended.
Join date: 6 Dec 2005
Posts: 696
|
12-15-2005 20:56
Thanks all. I think I'll stick to resizing prior to uploading, I've never had great luck with automatic resizing. As a side-note, if you ever want to start a flame war go to a photographic forum and ask about fractal image resizing software, and if it's better than the resizing built into regular image editing programs. 
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
12-16-2005 04:28
There are people that have discussed elsewhere on this forum that some 3*2^n pixel sizes are supported and imported without resizing into SL. I think if you hunt for the thread about picks and profiles images that was discussed this week there's a partial list.
Sorry, can't find a link, can't get multiple browser windows or tabbed browsing at work.
|