Cryptic Studios Team
Join Date: Jun 2012
Posts: 1,973
"What do you mean you 'updated every texture everywhere'!?"
"Why does everything look crisper now!?"
"Taco! What did you do to my textures?!"

ALL YOUR TEXTURES ARE BELONG TO ME! MUWAHAHAHA!

These are some of the questions you may have been asking me/yourself/others around you if you've been playing on Tribble for the last week or two. And they are good questions. And better yet, I have answers!

Alright, so before I get into what I did exactly, let's go over the basics of what a MipMap is, since that is what most of these changes involved.
In essence, every texture in every game is actually a whole series of textures, called a 'Mip Chain.' This is basically a series of duplicate textures, each smaller than the last. In games, all textures have to have dimensions that are a power of 2. So while the original texture might be 1024x1024, it's mip chain will be every power of two from that down. (1024, 512, 256, 128, 64, 32, 16, 8, 4, 2).



spaceLike this!



This is one of our new Romulan interior ship textures, and what it's Mip Chain (or MipMap) would look like.
Each of these different sized textures, is called a Mip. I'll be referring to Mips and MipMaps (the whole chain) more later.

What are MipMaps used for? I'm glad you asked! When you are standing somewhere in the world, the textures on the nearest objects will display at their full size. But, there's a box over there, 500 feet away. It's very small on screen, and if we just loaded the whole texture on to it, there is a ton of useless data that doesn't actually get displayed. :::cue horns::: Enter the MipMap! Instead of loading that whole texture, we load one of those much smaller mip maps onto the box. Now there is a lot less wasted data on that box, and we can use that to load more textures on more stuff nearby.

Each texture's mipmaps are automatically generated when we convert our photoshop files into something the game can understand. When we do this conversion, it's called 'Processing a Texture.' When Zer0 says we 'Updated every texture everywhere' what she means, is that we REPROCESSED every texture everywhere. It does not mean that we repainted everything by hand. We simply reprocessed them with some different configurations, to yield a different result.

This will be on the test.



So, with that out of the way, there are 4 main things that were done to textures.

spaceCRUNCH!
Crunch is a new compression algorithm that we use to make our textures take up much, much less disk space on your hard drive. The textures get uncompressed when they are sent to your video card, and thus, the compression has very little impact on the look of anything in game. However, this does mean that the patch size for a new user is reduced significantly, and any future texture patches will be much smaller as well.

spaceMip Splitting
Remember Mips? Mip Splitting is where we take the biggest mips in the chain, and break them off into their own textures. What this does is allows people with lower end systems to only load the smaller mips, and not bother loading some of the biggest textures in the game (which wouldn't be displayed anyway).

spaceMip Reversal
Mip Reversal is basically what it sounds like. We flip the order that they were stored in. Previously, when a texture tried to stream in, it would try to load the whole thing, and then it would drop down through the chain, to the appropriate Mip. That seemed silly, so we flip it, and now, when you run around, it starts with the smallest mip, and works it's way up through the chain to the right level.

spaceMip Sharpening
This is probably the most noticeable of our 4 reprocessing techniques. If you look back at our MipChain, those smaller Mips tend to get blurry, and lose data as they get shrunk. So, much like a photoshop sharpen filter, we sharpen up those mips a bit, to make them pop out more at a distance, and look better on lower end systems. This sharpening does not happen to the full texture, only the mips the lower mips. Now, there are some textures that look worse with this sharpening, and those textures can be unsharpened on a case by case basis (and many already have), but overall, we believe the sharpening has drastically improved the look of the game, both at a distance, and on low end systems.



That's pretty much it. We did have to reprocess the whole texture library to do this, but overall we're very happy with the results, and we hope you are too.

Edit: why did all of my apostrophes turn into question marks?! WHAT MAGIC IS THIS!?!
-The Artist formerly known as Tumerboy



Quote:
Originally Posted by mightybobcnc View Post
Tacofangs, what is your beef with where's Sulu?

Last edited by tacofangs; 05-10-2013 at 05:45 PM.
Lt. Commander
Join Date: Aug 2012
Posts: 170
# 2
05-10-2013, 05:34 PM
Not only did you improve the game, you actually improved my understanding of how you improved the game. Explanation above is outstanding.

Thanks Taco!
Career Officer
Join Date: Jun 2012
Posts: 828
# 3
05-10-2013, 05:38 PM
Reduced file space and improved quality, for those of us that TL;DR. Very nice explanation. You're my favorite taco ever.
CHARACTER GRID (@Lord-Ice):
___ |___ _ Fed ____| ____ _KDF __ ____| Rom
Tac_|_Thomas Hale_| __ __Illusion _____| Silence (K)
Eng | ___Antilles _ _| _ Mirror Rygobeth__| N'Vek (F)
Sci _| __ Rygobeth _| _Lukor Son of Q'Tar | Devala (F)
Captain
Join Date: Jun 2012
Posts: 2,622
# 4
05-10-2013, 05:50 PM
Whoa, thanks for this detailed explanation.

It sound really well thought out (at least the parts I can understand) and it sure seems to help improve the performance.
Let us wear Swimsuits on Foundry maps or bridges please! I would pay zen for that.
Empire Veteran
Join Date: Jun 2012
Posts: 6,628
# 5
05-10-2013, 05:52 PM
very cool. performance improvements are always worth it
gateway links-->Norvo Tigan, Telis Latto Ruwon, Sochie Heim, Solana Soleus
Former PWE Community Team Lead
Join Date: Jun 2012
Posts: 9,046
# 7
05-10-2013, 06:13 PM
<3 <3 <3

Cheers,

Brandon =/\=
Brandon "BranFlakes" Felczer | Former Community Team Lead for Perfect World Entertainment
Captain
Join Date: Nov 2012
Posts: 1,223
# 8
05-10-2013, 06:28 PM
This looks very helpful for folks like me with both questionable systems and internet plans. Anything that cuts down on patching size is a godsend.
--------------------------------------

"We are smart." - Grebnedlog

Member of Alliance Central Command/boq botlhra'ghom

Last edited by tsurutafan01; 05-10-2013 at 06:33 PM.
Career Officer
Join Date: Jun 2012
Posts: 71
# 9
05-10-2013, 06:59 PM
Thanks for the explanation! Does this mean that once LoR hits Holodeck, it might
be a good idea to remove the old game folder and redownload the whole thing (if that end up taking less harddisk space, I mean)?
------------------------------------------------
Joined in March, 2011. Lifer since December, 2011.
Career Officer
Join Date: Jun 2012
Posts: 765
# 10
05-10-2013, 05:37 PM
Thanks for the update Taco.
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 Off
HTML code is Off


All times are GMT -7. The time now is 01:16 AM.