Page 1 of 2
1
2
LastLast
  1. #1

    Engineer's Workshop - Enhancing Character Customization

    Engineer’s Workshop: Enhancing Character Customization
    Originally Posted by Blizzard (Blue Tracker / Official Forums)
    Now that we’re less than a week away from the release of Shadowlands, we hope you’ve had a chance to play around on the pre-patch and glow up your characters with the new character customization options! While you were fiddling with new hair styles and eye colors, you may have wondered what it takes to overhaul a major system that has been progressively expanded upon with every expansion; so stay a while, and read about how we helped bring these new options to life!

    A Little History

    When World of Warcraft originally shipped, it was our utmost priority to make the game playable for as many people as possible. To do this, the minimum specifications had to be optimized so a wide variety of hardware could run the game. As such, compromises had to be made. Should individual fingers be added to characters’ hands when it could impact frame rates, or should that processing power be directed at a gameplay feature instead? Since our launch in 2004, those concerns have faded due to performance increases in each generation’s hardware, offering us a chance to explore new ideas and upgrades.


    So, what did we change and how were the early characters built? Originally, the data model was relatively straightforward, but as time went on—and new features were added—the strain started to show. Per race and gender, only five features could be customized (later expanded to eight in bLegion), but what does one do when you've already used all five? How would someone create Demon Hunter NPCs prior to Legion, when Night Elves already used all five slots? Designers clearly had a flash of inspiration when they used the item system to effectively add another feature; since shirts come first in the "paste hierarchy," they could make it appear like there were tattoos by adding alpha and transparency to the whole shirt, minus the tattoo parts. Clever!


    Systems, Gameplay and Data Layout

    The technical gymnastics discussed above are not what we want to go through every time a developer wants to create something special. So, we gathered such lessons from expansions past, and knew that we ultimately wanted an unbounded amount of customizations, where each feature would be separated from the rest (such as eyes, face, beard or moustache), rather than locked to five generic slots. We wanted it to be easier to maintain, and we didn't want to duplicate large swathes of data (see our "spreadsheet" style editor below, where every cell is a face variant crossed with a skin color choice). Most of all, we wanted to reduce the overall load on artists creating assets and designers hooking them up.

    Pictured: The old customization editor used prior to Shadowlands pre-patch.

    To start off, we took a loose affiliation of database tables, where each record held monumental amounts of information, and split the whole thing into smaller, more logical data groupings. In turn, this allowed us to part ways with the spreadsheet editing and create a series of custom and auto-generated editors that would look very similar to what would be eventually shown to the player in game. In the end, the new data layout allowed all the flexibility we need, as well as offered us opportunities for cool new customizations that weren’t possible before, such as allowing Worgen and Gilnean forms to be changed independently.

    With our asset pools and new editing experience adding new choices is now more straight-forward!

    Finally, as we had totally overhauled the data and gameplay elements, we also needed to be prepared for all of the players logging in on day one with the old data, and make their characters look the same as they did before pre-patch (not to mention tens of thousands of NPCs). We created a silent conversion process with almost 9,000 rules to take care of this, which takes into account things like the Human beard option now being split into beard, mustache, and sideburns. The automation team built a tool that could compare before and after screenshots en masse, for QA to quickly identify any mismatches. If all went well, our players could log in on pre-patch day and hopefully not notice that anything happened at all to their beloved characters!

    Rebuilding the Engine

    To facilitate the new customization options, a complete overhaul of the engine was required. In the past, each unique set of customization options required its own texture, and choosing different options would change which unique texture was used for a given character. The number of new Shadowlands character options has sent the permutation count into the range of millions, so we wrote a brand-new character system to procedurally generate player textures on the fly.

    Among other changes, all texture processing code was rewritten from scratch using SIMD (Single Instruction Multiple Data) extensions and a system built for managing shared resources between characters that use the same textures. These changes maximize processor utilization and helps us avoid performing duplicate texture work for intensive scenes. In tandem with the new database layout, this allowed us to create a lightning-fast, 100 percent data-driven system, moving away from manually set up database tables. Here’s a GIF of what happens in the engine when it receives a request to build an orc.

    Intermediate textures are generated while using a greyscale texture and a mask to generate a procedurally colorized tattoo.


    A screenshot from an early prototype, showing textures used and their inputs and outputs.

    User Interface and Animations

    With the increased number of customization options, the user interface had to be completely rewritten from scratch for Shadowlands. The new system allows designers to create and categorize as many customization options as they want, without any need for reengineering the underlying code or systems to support it. Each option can also have as many choices as we want, and designers can choose to display each choice using a custom name, up to two color swatches or with just a number. A lot of work also went into making the whole experience much more responsive to player input, allowing choices to be viewed as the player hovered their mouse over them rather than having to click on each one to view it. The entire customization UI is now also shared between character creation and the Barber Shop.


    We also rewrote the entire race and class selection screen, which now allows our outstanding designers and artists to add custom animations and effects. Because we are in the creation screen, the main game systems aren't running yet, so this required an extensive refactor. In the new system, the artists and designers have full control over which animations and effects play for every single race, class, and gender combination, and can make changes as needed.


    We hope you enjoyed the glimpse behind-the-scenes of character customization as much as we've been enjoying the creative looks emerging from these changes! Stay stylish, Azeroth!

  2. #2
    Legendary! SinR's Avatar
    10+ Year Old Account
    Join Date
    Dec 2010
    Location
    My Own Personal Hell
    Posts
    6,365
    Imagine if Blizzard added in height sliders?

  3. #3
    Still so confused why human faces and scars are tied to different skin colour options.

    Would it be THAT much of a crime to let people have Asian features with black skin?

    Not even going to ask why all the face scars are tied to black and Asian faces lol

  4. #4
    Here’s a GIF of what happens in the engine when it receives a request to build an orc.
    Orcs = Dwarves..

    Also I found it funny that apparently demon hunters are wearing a tattoo shirt.

  5. #5
    Quote Originally Posted by rogueMatthias View Post
    Still so confused why human faces and scars are tied to different skin colour options.

    Would it be THAT much of a crime to let people have Asian features with black skin?

    Not even going to ask why all the face scars are tied to black and Asian faces lol
    One step forward, two steps back.

  6. #6
    Quote Originally Posted by SinR View Post
    Imagine if Blizzard added in height sliders?
    Boob slider

  7. #7
    Old God Kathranis's Avatar
    15+ Year Old Account
    Join Date
    May 2008
    Location
    Austin, Texas
    Posts
    10,122
    Quote Originally Posted by GreenJesus View Post
    Orcs = Dwarves..

    Also I found it funny that apparently demon hunters are wearing a tattoo shirt.
    Only the NPCs. Back in the day if you were playing around with WoW Model Viewer you could actually find the item IDs for all those tattoos and put them on any player character model.

  8. #8
    they say they now can easily add new stuff. the question is, will they?

  9. #9
    Mechagnome Asaliah's Avatar
    15+ Year Old Account
    Join Date
    Feb 2008
    Location
    Singapore
    Posts
    582
    Straight backs for trolls and undeads please !

  10. #10
    Quote Originally Posted by rogueMatthias View Post
    Still so confused why human faces and scars are tied to different skin colour options.

    Would it be THAT much of a crime to let people have Asian features with black skin?

    Not even going to ask why all the face scars are tied to black and Asian faces lol
    Yeah, i don't understand that either...

  11. #11
    Quote Originally Posted by Sunderella View Post
    they say they now can easily add new stuff. the question is, will they?
    I hope so, and think they will.
    It certainly felt like they really dug into some races, ran out of time, and added minimal stuff to the remaining races (pandaren/gnomes/gobbos) so they at least got something for launch.

    Much as they've slowly been rolling out heritage armor for the "base races", I hope to see a slow creep of new additions across the patches. Eye/skin/hair colors/tatoos/scars/jewelry/etc feel like fairly easy additions and they can still label these minor additions "content" for each patch. "Easy" win.

    Hopefully they'll share some of the assets like hair from applicable allied races with their base counterpart (Which they've already begun to do : Mag'har). Really think the lightforged draenei should get the new tail, tentacle and horn options at a minimum. Dark iron could benefit from hair styles without the embers too. They'd never shown that trait before and suddenly all of their hair was on fire.

    More resource heavy stuff (new models) like "straight backs" and hair styles feel less likely, sadly.
    Last edited by Villager720; 2020-11-17 at 06:37 PM.

  12. #12
    I mean I look at the first side by side and think to myself meh, I could care less I don't even know what my characters faces look like because they all have helmets on them and you never see their face anyway. If it does not affect gameplay I could honestly care less I would still like the game if it had Classic graphics.

  13. #13
    I love how they make it seem like a long, daunting process but people self trained port this stuff over to WotLK clients with virtually little issues lmao

  14. #14
    So hard work, that even I can do it.

    If they have procedural texture generation, then where is my armor dyeing?

  15. #15
    Banned Strawberry's Avatar
    15+ Year Old Account
    Join Date
    Jul 2007
    Location
    Sweden/Yugoslavia
    Posts
    3,752
    It's amazing that the game still looks good considering it was released 16 years ago.
    But I'm still critical of its. The game does look good generally but in many places, the textures are stretched, ugly, and flat.
    I'm waiting on a new good looking MMORPG that will be good enough to play.
    I'm not playing WoW currently. I'm playing Star Wars The Old Republic. It's a game that is similar to WoW but looks better.

  16. #16
    I am Murloc! Maljinwo's Avatar
    7+ Year Old Account
    Join Date
    Mar 2017
    Location
    Buenos Aires, Argentina
    Posts
    5,309
    It's nice to see that adding new customization options is easier now

    So, where the hell are my troll beards

  17. #17
    Warchief Alayea's Avatar
    10+ Year Old Account
    Join Date
    Apr 2010
    Location
    Oregon, U.S.A.
    Posts
    2,229
    I've enjoyed the new customization options and appreciate the workshop blog delving into it.

    That being said, it's an eye-straining experience at the barber shop because of the poor lighting. I can understand why characters now have to face away from the wall due to the system overhaul, but not the lack of updates in the lighting department.
    Last edited by Alayea; 2020-11-17 at 08:07 PM.
    Alayea - Enhance/Resto (Main) Lithala - BM Gekkani - Holy/Shadow
    Mathrie - Fury/Prot Mayae - Resto/Bal Elita - Frost/Blood
    Chrystie - Frost Draika - Combat Ioreth - Ret/Prot
    Vexbolt - Destruction Yin - WW/MW Yolis
    Urwenn

  18. #18
    *Eyes glaze over*

    Hm yes I see

  19. #19
    Quote Originally Posted by SinR View Post
    Imagine if Blizzard added in height sliders?
    Imagine getting stuck in doors. I guarantee it.
    P.S.
    Boob slider or nothing.
    Quote Originally Posted by Shadoowpunk View Post
    Take that haters.
    IF IM STUPID, so is Donald Trump.

  20. #20
    Quote Originally Posted by rogueMatthias View Post
    Still so confused why human faces and scars are tied to different skin colour options.

    Would it be THAT much of a crime to let people have Asian features with black skin?

    Not even going to ask why all the face scars are tied to black and Asian faces lol
    That's just not true, my paladin is quite Caucasian and has a dueling style face scar on her face.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •