MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Fri Nov 22, 2024 10:56 am



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Conserving texture memory
PostPosted: Fri Apr 14, 2000 7:20 pm 
Member
User avatar

Joined: Sat Feb 26, 2000 2:01 pm
Posts: 0
Each texture used in a track eats up a chunk of precious video memory, 256x256 model textures equal 16 small 64x64 textures.... so using too many model textures can really "clog" up a game and cause jerky lag even when the 'complexity' is low. Too many models have killed many tracks due to having more textures than can easily swap in and out of texture memory, you get those long pauses as the game tries to load the upcoming textures.


One thing to do is be efficient in your texture use, squeeze as much as you can into a 256x256 texture and then map the heck out of it ;-)

I have seen some really stupid things done with custom models. Lets say someone needed a solid color to map to something, so instead of using a single 64x64 solid colored texture they used a 256x256 SOLID colored texture -- well that is only 16 times bigger than it needed to be! Thanks for clogging up my video card pal ;-) (I think I have an idea for the new fix-it pod Phin ;-)

Truth is you can often get by with adding a small patch of a solid color to a portion of an existing 256x256 texture and mapping your faces to it. A solid color is a solid color, it's the same whether it's 1 pixel wide or 256 pixels wide

A neat trick for saving texture space:
In certain circumstances you can shrink a 256x256 texture to 64x64 and save it under a new filename. Then load up the model that uses it and "normalize" it to the new texture and save the model under a new unique filename-- all the mapping will stay proportionate, only your texture will be a bit more blurry than the original.

This trick works great for the mtm2 cow, it's hard to tell the two apart but one is 1/16th the texture load as the original! Try it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2000 8:01 am 
Member
User avatar

Joined: Wed Mar 01, 2000 2:01 pm
Posts: 98
Location: California
Thanks for the tip. I am guilty of wasting texture memory on models myself, I'll try to keep this in mind the next time I make one.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2000 1:26 pm 
Member
User avatar

Joined: Sat Feb 26, 2000 2:01 pm
Posts: 0
Like I've got room to talk... I have a custom backdrop that uses 14 large textures, hehe (that is almost 900kb worth!). I must admit it is the coolest backdrop I've yet seen (wait and see for yourself ;-) but it comes at such a steep price.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2000 7:01 am 
Member

Joined: Sat Feb 26, 2000 2:01 pm
Posts: 621
Location: Mississippi , USA
sheesh man .... 14.... good grief

well take ur own advice :-)

lets see 14x4 = 56

56 divided by 16 (# of 64x64's it takes to = take up the some amount of memory according to wk) = 3.5


hmmmm

14 vs 3.5 wow.... heheh it would take a while tho....



------------------
<IMG SRC="http://psyco.karf.net/sig.gif" border=0>

[email]psyco@karf.net?subject=mtmgbbs[/email]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group