Texture Load Times verses Texture Size - SLUniverse Forums
sluniverse logo SLUNIVERSE


Go Back   SLUniverse Forums > Development Discussion and Support > Content Creation

Notices

Content Creation Discuss building, scripting, and other forms of content creation for SL.

Reply
 
LinkBack Thread Tools Display Modes
Old 11-29-2008, 01:19 PM   #1 (permalink)
Budding Texture Artist
 
Phat Dufaux's Avatar
 
Join Date: May 2008
Location: Los Angeles, California, USA
Posts: 80
SL Join Date: January 14, 2008
Business: Texture Mill

Texture Load Times verses Texture Size

I've been texturing a complicated build which includes several Mega and Sculpty Prims with touchy tiling texturing. So, I have had to make some compound textures (my terminology, please tell me if there is already a "term of art" for slicing a huge texture 1536x512 into 3 512x512's), to be spread between 3 horizontally adjacent prim.

The question: From the Visitors' standpoint, is it a faster load to have one 1536x512 texture applied to the three prims (offset appropriately); or, three seperate 512x512 texture slices one apply to each of the three prims?

Thanks in advance.

Phat
Phat Dufaux is offline   Reply With Quote
Old 11-29-2008, 02:24 PM   #2 (permalink)
Account Closed
 
Join Date: Sep 2008
Posts: 2,137

Well, for starters, you can't upload a 1536x512 texture. All uploaded textures are clamped to 1024x1024. If you upload the texture as-is, it'll become 1024x1024 and the aspect ratio will be thrown off, or in layman's terms, the image will be smooshed.

Now, it is usually going to be faster to have to load only one texture as opposed to three textures. Three small textures may, in some circumstances, load faster than one large texture, depending on the exact dimensions, but in this situation it would probably be better to go with a single texture.

Additionally, the dimensions of the texture will also affect load time. a 1024x1024 texture will take far longer to load than a 512x512 texture would, although in this case I guess it'd be a 1024x342 and 512x171 respectively. And while a 1024 texture might sound better, remember that even someone running a 1280x1024 resolution would pretty much have to have the texture take up their entire screen for the increased resolution to make any difference, because they literally wouldn't have enough pixels otherwise.

Also, sculpties and megas do take a bit of extra time to render, but it sounds like that's not really changeable in this setup.


So yeah, try to use as few textures as possible, and try to make them as small as necessary.
Jahar Aabye is offline   Reply With Quote
1 User Agreed:
Old 11-29-2008, 07:05 PM   #3 (permalink)
Doing stuff
 
WarKirby Magojiro's Avatar
busy
 
Join Date: Sep 2007
Location: Glasgow, Scotland
Posts: 2,708
SL Join Date: 14/10/2006
Business: MagoTek Industries
SLShopper Ads: 1

My Mood:

Important. Always use as few texures as possible.

In the example you've mentioned, you want to make a texture atlas for the build. Do it something like this




Put any other textures you're using in the build, in the extra space in the lower right, don't waste any space, and be as efficient as possible.
__________________
Wounds, both physical and mental, heal in time. bones reknit, therapy and drugs make you forget. Life goes on.
But nothing cures death. Please remember this.


Quote:
"Beware he who would deny you access to information, for in his heart he dreams
himself your master."
WarKirby Magojiro is offline   Reply With Quote
1 User Agreed:
Old 11-29-2008, 07:32 PM   #4 (permalink)
Mad Artist
 
Miriel Enfield's Avatar
Beatings will continue until the horse is breathing again.
 
Join Date: Sep 2007
Posts: 2,099
Business: Miriel
SLShopper Ads: 3

My Mood:

Quote:
Originally Posted by WarKirby Magojiro View Post
Important. Always use as few texures as possible.
Always use as few pixels as possible. All other things being roughly equal, it's probably better to use fewer textures (though this can raise your own workload substantially), but generally, get your texture sizes down first, and then worry about numbers of textures.
__________________


Miriel: My store! I sell jewelry, eyes, and a smattering of other stuff.
3.5 on the Internationally Recognized Trout Recreant Scale of Slutwatoosi.

"Blender is the Pai Mae of 3d programs. It hates newbies, despises windows users, and has nothing but contempt for English speakers. It will let you learn, but mostly because doing so will give Blender a chance to amuse itself by making you suffer."
- Twenty Sided
Miriel Enfield is offline   Reply With Quote
1 User Agreed:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:24 PM.
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
vB.Sponsors Copyright ©2009 SLUniverse.com
All rights reserved.

Second Life(TM) and Linden Lab(TM) are trademarks or registered trademarks of Linden Research, Inc.
No infringement is intended.