Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    53
  • comments
    29
  • views
    123503

Clothing and the Game Engine

Sign in to follow this  
sunandshadow

453 views

Whenever 3-d models are being used to make a game, the most effecient way to generate a large variety of content with out requirng too much modeling work is to design mix-and-matchable elements, as I was saying before. There are two important principles of such a system: a structure of slots into which elements are placed, and interchangeble variants of each element.

The slot structure I decided on for the MMORPG is a simplified one. It has only 6 slots: Footwear, Undergarment, Overgarmant, Hat, and Veil. The base undergarment is a shirt and pant set in crepe cotton with a turtleneck and bell sleeves and legs. Then there's a variant on this base: the sleeve and legs are all tied closed at wrist and ankle. And another variant: The legs are closed at the knee so they can be tucked into boots. Note that these are all the same garment, just worn in different modes. Now there's a different base garment: of the same general shape so it is interchangable with the first, but this one is made of a flat fabric, not wrinkled, and has the sleeves and legs wrapped like a dhoti (Indian pants). Obviously this one will also need a version with knee-length pants so it can be worn with boots. And a third base garment: a skintight shirt and pants set made from the model's skin, with only cuffs and a collar added. Oh, and there are also male and female versions of all these base clothing sets, so any character can wear them.

So all of those variants go in the base clothing slot. These can be worn without an overgarment, or there are several kinds of overclothing, each of which can be worn with any base: 2 kinds of robe, an x mantle, a soldier's uniform, an officer's uniform, and some capes and cloaks. I may add an apron later. For overclothing, it comes in a full range of colors like the underclothing, but each piece of over clothing also has one or more textures available for it (a texture consisting of an embroidered or embossed design, or a color pattern like a gradient fill or stripes.) Fortunately making those is the texture artist's job, not mine. ;)

Anyway, the goal is that the game's engine can look at any charater's 6 clothing slots, see which items they have equipped and what color/texture each has, and generate a stylish-looking character on the spot. Again, fortunately making this work is not my job, but hopefully my careful design has laid the groundwork that will save the 3-d modeller and clothing display programmer a lot of work and headaches.


This concludes my little talk about designing clothing concepts unless anyone has any questions or requests for additional information. :)
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!