What's better? Having several texture files or cropping sections of a single one?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  06 June 2006
What's better? Having several texture files or cropping sections of a single one?

While building a ship with lots of hull signage, I was wondering how EIAS deals with texture files, what the most efficient way of doing it would be, render speed-wise:

1- The usual: lots of independent texture files.

2- Putting lots of elements into a single texture file, then doing each texture mapping entry by cropping to delimit the relevant element area of that single file (which in this particular case would make things like changing signage fonts in a single master texture .PSD file quite easier that dealing with a lot of different files).

Does Camera work faster if most texture mapping entries refer to a few common texture files instead of each being a different one, via some caching strategy? Would cropping a large file be less efficient that dealing with several small ones?
 
  06 June 2006
Hi, Juanxer
Originally Posted by juanxer: Does Camera work faster if most texture mapping entries refer to a few common texture files instead of each being a different one, via some caching strategy? Would cropping a large file be less efficient that dealing with several small ones?
Any render engine (count Camera) prefers to use more memory to allocate each map "directly" (i.e. as unpacked array) cause an operation "get map's pixel" is at least 10 times more often than, say, "get facet/vertex". Thus a "multi-map" would eat a lot of your time to prepare it but without real speed up.
 
  06 June 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:18 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.