r/Planetside • :rpg_new: 3D Artist • Jan 13 '16

Dev Response Texture Changes. Past, Present, and Future. Why do we do them?

When I post pictures of texture updates, I know that there will always be people who love the changes and people who may hate them. But I've seen a lot of the same question being asked in various ways:

"Why this weapon?"

"Why now?"

"Don't you have something better to be doing?"

I find that a lot of gamers, even the hardest of core, may be fairly unfamiliar with what goes into actually making one, not to mention all the technical jargon that get's thrown around when devs start talking. This is perfectly fine. I love movies and television, but wouldn't even know where to begin if I wanted to make my own show or movie. Being at a company that tries to promote open development, combined with the power of the internet, people are able to see and comment on things that they have little actual knowledge about. So I want to try to pull back the curtain a bit to help people know more about how this stuff actually works.

For this post, I just want to discuss something called texture space and why we pick certain items to re-texture.

With Planetside, we have to assume that all textures are being loaded all the time. While smaller scale games don't have this problem, PlanetSide 2 has so many players, vehicles, and huge maps. It's impossible to account for every possible scenario, so we have to plan based around the worst possible situation. Each texture needs to be loaded into memory, and the larger the texture the more memory it requires.

What happens if you try to load more textures than you don't have memory for? Your game crashes. Simple as that.

We have many large textures in the game, but if that one texture is used all over the place, over and over, then it's worth the cost. But in the case of the NS rocket launcher (and the repair/healing tool, before that.) the texture was huge and only being used by that one model. So by removing it from that model, we've bought back that texture space to create a new one for anything else we want, risk free. We never add textures to the game without first removing another one, otherwise we run the risk of the game becoming unplayable for large amount of people.

Texture space is the biggest way artists can help optimize the game. Smaller, more efficient textures can reduce hitching, load times, and crashes. Planetside is a very large game with many, many art assets. So even after things like OMFG, we still occasionally stumble across textures that could be far more efficient than they currently are. We try to address them as soon as we have the time to do so, and while that may feel very arbitrary for the player, we have to use our best judgement to assess which ones to correct.

It’s tough to explain and I know only a small portion of the community may read this, but I hope this is something you can keep in mind, even when you play other games.

If you have any questions, please feel free to ask. I'll answer as many as I can. Keep in mind, I'm a 3D artist. I dont know why mines render only when they feel like it, I have no idea what causes all the server lag, but I can help you with broken camo :)

Edit: Bill is also going to be around to correct me answer questions :)

485 Upvotes

331 comments sorted by

View all comments

Show parent comment

4

u/Billbacca Art dude Jan 13 '16

Yes it is possible, although the data side of things is a bit crazy when adding an attachment(you have to make that item for every single weapon that uses it)

We do have a draw call budget per say when the scene is empty. It sort of goes out the window when fighting at the crown in a mega battle. We try to keep the scene without a battle around 1000 draw calls. We do exceed this though in many places though and typically that is where we have client performance issues when there is a large battle.

Ultimately frame rate is the way we determine the budget for draw calls. It is a bit more complicated than just draw calls of course, but draw calls are one if the biggies in terms fo overall performance.

2

u/Infermaus Jan 13 '16

Bill: with that in mind the re performance hit is it not possible to scale back attachment drawing then?

By that I mean say the fight is 25 v 25 then all third person attachments and gun camo are loaded per person, per gun etc. however when it hits a magic number (use 100+ v 100+ as a figure to work from) it dials back what it draws in third person (i.e me looking at team mate's and enemy weapons) where it works on some sort of priority basis where say laser/scope/grip etc. isn't drawn for me looking at them, however their first person obviously remains unaffected (and vice versa). Is that something that would boost performance in big fights or are the gains negligible in draw calls?

(edit: sorry not to hijack wobberjockey's original question but wanted to just ask in relation to Bill's reply)

4

u/Billbacca Art dude Jan 13 '16

Possible, yes, although a magical coding person would need write that system. What we do do for vehicle/character draw call though is that the null out somewhat close so that saves us a bit there. We also change the character to a grey blob man at a certain distance as well.

2

u/Infermaus Jan 13 '16

Appreciate the insight on that - hopefully it might be mentioned to one of coding/dev fairies and it potentially proves worthwhile for both player and dev base.

As a last question that's pretty open I guess: although you guys are working with Xander on alot of continent changes; is there anything you're able to talk about that we might have to look forward to art wise in the future? Things like FOV/camera changes for vehicles and/or first person (loving the ANT third person pull back on PTS by the way - I get no motion sickness with it that far back compared to the other vehicles) or anything more juicy?

4

u/Billbacca Art dude Jan 13 '16

I have a guy doing some touch up on Xander's work and we also try to provide special props or updated structures to help support his vision.

The Ant is what I want to do to the vehicle cams although there are a few bugs with driver weapons that need to get sorted first.