• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

WC3 modelers to SC2 modelers.

Level 31
Joined
Feb 23, 2008
Messages
1,711
I couldn't leave without making a tutorial could I... ;)

Well SC2 is on the horizon and I'm worried that a lot of modelers for WC3 won't be able to transition due to a lack of up to date graphics knowledge. Therefore, I think it would be a good idea to look at some of the differences between modeling in older times and modeling now. This entire tutorial is meant for all the WC3 modelers planning on making models for SC2. Note that I am not going to teach you how to model or make textures. Nor, will I teach you how to convert your model to whatever format SC2 uses. This tutorial is here to point out the differences in the makeup of a modern day model and an old school model. This is for people who already understand how UVWrapping, polygon editing, and basic animation work.

Prepare for massive brain explosions.

I am going to cover these topics. Please, read them in order.:
1. Materials
2. Mesh/UVW
3. Lighting/Smoothing
4. Animation
5. Particles

MATERIALS:

Well the first obvious difference between old models and new models is poly count. It's fairly obvious that the Marine in SC2 has many times more polies than the Grunt in WC3. Or does it? More importantly, does it matter? What I am about to tell you may come as a shock. Prepare yourself.

A models static visual quality is not solely dependent on poly count and diffuse map quality.

That means that a model with 2000 polies in many cases can look just as good as one with 20000. It also means that the diffuse map (I'll explain what a diffuse map is in a minute.) is not the only actor in the materials world anymore.

This is because over the last couple of years, game engine programmers have gotten smart. In early 3d video game days, we would just make the graphics as good as a renderer can handle, regardless of the nasty visuals. Now we have a new technique. Instead of sacrificing visual quality for the renderer's limits, we trick the renderer and the person viewing the graphics. Most of the 'tricking' is done with materials. Now, obviously it has a lot to do with the increase in machine performance. But, materials are probably the largest difference in the graphics now and back in the WC3 days.

First, we need to work on our terminology. In the WC3 days, we only worked with diffuse maps. We called them textures or materials. While these terms technically fit, they are not only used to describe a diffuse map.

Today, we do it a bit differently. Instead of one single map, we actually use anywhere from 1 to 20 or so maps. These are the main map types used in games today.

1. Diffuse: This is the main visual aspect of most materials. This is what we would call "materials/textures" for WC3.

2. Specular: This determines the shininess or glossiness of a model. It also determines the intensity based on location. (Shiny on the armor and dull on the wood.)

3. Normal: This is what makes games today look amazing. This combined with specularity and shadows can make your model look amazing. It can add geometric detail (or atleast what looks like geometric detail to us) to models without adding polies. I'll show pics later on.

4. Opacity: This determines what parts of the mesh are visible. In WC3 we would just alpha out parts of the diffuse texture. This is basically the same except it is a texture in itself. I'm not sure if SC2 will use opacity maps or if it will rely on alpha channels.

5. Height: Behaves similarly to a normal map. Except a height map only inherits z values. In other words, it can only determine up and down. Height maps in games are generally used for things like terrain. Supreme Commander for instance. Unlike in WC3 where the terrain is premade mesh based, in Supreme Commander, mappers had to literally draw a map for their map. It works on a greyscale value system. The lighter the higher, the darker the lower. When you work with map editors for various games where you can smoothly raise and lower terrain with a good falloff, what your really doing is painting a height map. The engine is simply converting the greyscale image into a mesh that is your terrain.

6. Emissive: Sometimes called "glow maps" simply say to the engine, "this spot is always fully lit, regardless of the lack of light." You'd get a similar effect in WC3 when you turn off a material's ability to inherit fog and shading. Of course, it works differently now because you have actual light being cast. An emissive map, is not to be confused with a "light map" which tells the engine, "cast more light here than the rest of the model". I don't think SC2 uses light maps though. Depending on the engine, emissive lights can actually cause the effected areas to "glow". SC2 does this, and it is also color based. So, a red emisive map glows red, and a blue one glows blue.

There are more types of maps, but being an RTS game, it's unlikely that SC2 will use the others. Each of these maps tells the engine what to do based on their pixel color and luminescence. Some maps work off of a greyscale, while some work off of a RGB vector. Normal maps work off of a normal XYZ vector. All of these big words and crap actually mean something. So, I'll go through each map type adding layer upon layer until you completely understand.

NOTE: All of these new textures are possible because of lighting. Even if you could directly input something like a normal map into WC3, the engine has such a crappy lighting system that it would have no effect.

MATERIALS-> DIFFUSE:

A diffuse map is the most strait forward of the bunch. You paint a picture, and that picture is what you see on the model. Your familiar with this type of map from WC3.

attachment.php


Here is a sphere model with a diffuse map I got from the good peeps at CGtextures. Note that the model is receiving light all over. No shadows or anything. This is the technology of WC3. Just a plain old diffuse map.

attachment.php


Let's add some directional lighting to the mix.

attachment.php


Already, looking a lot better. This is why WC3 models just look ugly sometimes. It's all about lighting.

Because engines now use actual calculated lighting, you no longer need to paint shadows into the diffuse map. This actually makes the 2d artists job a lot easier.

MATERIALS-> NORMAL:

Now that we can light up our models realistically, it's time to use the normal map. Of course, before we use the normal map, we have to actually figure out what it is.

A normal map tells the light within the engine where the detail is. So, instead of having millions of polies for tiny little details, you can use a normal map to tell the lighting where and how to cast shadows.

The normal map used in 2 main ways. The first is to add detail based off of the diffuse. So, for instance, on our copper texture above, the normal maps can tell the lighting system that there are crevices in between the copper plates that are deeper than the surrounding area. The second way it is used is to add detail not based off of the diffuse directly. For instance, if you have a model of a man, and you want that model to be under 400 polies, you can generate a normal map based off of a much more detailed version of the model (with tens of millions of polies) and then apply the normal map to the lower res version to simulate the detail.

You can use a combination of both methods, of course. Note that the normal map DOES NOT EFFECT THE GEOMETRY. It only effects the lighting.

Here is what the normal map for our copper texture looks like after it's been generated.

attachment.php


It's an ugly sucker...

The colors may confuse you. To be honest they confuse my too. That's not really an issue. All you need to know is that unlike the diffuse map which has RGB data, the normal map relies on normal XYZ vector data. Of course, technically it is all RGB data, but the engine does not see it that way. All the color in that picture is telling the engine where the detail is so that the light can cast shadows accordingly.

Here is what our model looks like with diffuse + lighting + normals.

attachment.php


This is the stuff that makes games look great. No need to add polies. With lighting, all you have to do is tell the engine where to cast shadows.

So, how does one go about making a normal map? Well, I've never heard of someone literally painting a normal map by hand, but it technically can be done. What you would normally do is generate one using a plug-in. NVidia has a plug-in for photoshop, and there is also a plug-in for Gimp. Use Google to find them. All you do is give it a diffuse, and it generates a normal. No pain necessary.

MATERIALS-> SPECULARITY:
Now that we have our diffuse, our lighting, and our normals in place, it's time to add some shine.

Specular maps are fairly easy to make most of the time. Normally it's just a flat white texture. (Or gray if you want less intensity.) In some game engines, your not even required to make one. It just does it for you. The only time they ever get complex is when you only want certain areas to be shiny. In that case you just take your diffuse, and paint black where you want no shine, and gray to white for various levels of intensity. The normal map takes care of the shadowing.

Here is what the model looks like with diffuse + lighting + normal + specularity.

attachment.php


It's just a white texture.
That's pretty much it for this model. With texture maps you can make a fairly low poly model look fairly high poly from any angle. That's how you trick a game engine.

Remember, when dealing with spec maps, only some parts of the model have levels of specularity. You should paint only those areas on the wrap. Also, try not to paint strait white. Add some noise effects and some variation to add realism. Try looking at some of the spec maps in SC2.

When you compile all of these textures together, you get a material. You wrap the model with the diffuse, and then apply the material to it for the game.

MATERIALS-> EMISSIVE:
An emissive map tells the engine to disregard the lighting for a certain area of the model, and to be lit by itself. This is called, "self-illumination". The emissive map can also cause a glow effect, depending on the engine, or on the settings. It can also, depending on the settings, effect the lighting around them and act as a light source themselves.

You've seen an emissive map in almost every recent sci-fi game, for things like lasers, screens, explosions, weird glowy buttons, etc. It's actually quite simple.

Here is a basic sphere model with nothing but lighting + diffuse map.
attachment.php


Let's say we want this model to be lit in certain areas, in a cloudy pattern.
attachment.php


Right, now, it doesn't look like much of a difference. Let's turn the lights off.
attachment.php


You see, the lighting has no effect on the area defined by the emissive texture.

Now, how about we add some glow.
attachment.php


This amount of glow is a bit much, but I want you to see the difference.

The map, just looks like this.
attachment.php


It's very simple. Keep in mind, that you can have it color based. Or, you can take the diffuse, and black out what you don't want to be emissive, and the rest can be. This was done with the SC2 marine portrait.

There are a lot of uses for an emissive map. You'll sometimes see games use it for the sky. They will have a texture spread onto a large sphere, and use this for sky. Then, they will take the texture (diffuse) and make it emissive so that the sun area glows much like it would if you were to look at the sun in real life.

MATERIALS-> BLEND MODES AND LIGHTING MODELS:
The blend mode is what determines how the material on the mesh interacts (visually) with other materials. You should be familiar with this concept from WC3. For instance, in the Magos editor for WC3 you could change the blend mode to things like alpha, masked, blend, and additive. You should already understand this concept.

Lighting models are where the light in the engine comes from. I believe (Correct me if I'm wrong someone.) that SC2 uses a PHONG model. Which basically, just emits light. (All you really need to know.) WC3 on the other hand uses an unidirectional light source. This means that the WC3 models are all lit all around. (Bad bad bad...)


MESH/UVW:
Now that we have covered the new texture maps, we can apply this to a new method of poly modeling.

In WC3 we would always try to limit our models to below 500 or so. Obviously, in SC2, we can go much higher. But, just because we can doesn't mean we need too. Because we now have normal maps, little details do not need to be polies. What we need to do with polies is more beveling and extruding. Why? Because, if you remember, I said that normal maps do not change geometry. The only polies needed are ones that matter, obviously. And the ones that matter are the ones that change the overall shape. Not the little shapes on the big shape. In other words, if you have a big box model, and in one little corner there are little pipes and stuff made out of mesh, you are waisting polies. That stuff can be done with the normal and diffuse maps. It would be much more visible if you were to bevel the edges of the big box. The biggest rule regarding performance and polies is: the size of the poly doesn't matter. It's how many of them there are. So, don't make giant undetailed shapes with little super detailed shapes all over them.

Also, you no longer have to worry about your models clipping distance. You can make your model however large you want and all the edges will still be visible no matter how far from the center of the model the camera is.

UVWrapping behaves almost the same now as it did back in WC3 times. Except, now, we have a higher standard. You can no longer make a mesh and do a planar wrap on one side while the rest is stretched, and hope to get away with it. And please, PLEASE, do NOT wrap a model BEFORE it's done being made. ALWAYS FINISH THE MODEL FIRST. (Unless of course, it's separate pieces.) And, don't worry about wrapping maps other than the Diffuse map. Once you make a material out of the maps, your other maps with inherit the same UVW.


LIGHTING/SMOOTHING:
The main difference in the lighting from WC3 to SC2 is that in SC2 there is actual dynamic lighting... Lighting is the key to good graphics. This also means you have to pay more attention to your model's smoothing.

The smoothing of your model is how the lighting rolls from poly to poly. Or doesn't roll. If a model is completely smoothed, every poly will look like they connect with a bevel, or are part of the same poly.
Here is a model without smoothing.

attachment.php


Here is a model with smoothing.

attachment.php


It's fairly straightforward.
Be sure to smooth your model properly before exporting. I won't tell you how to smooth because, it changes from program to program.


ANIMATION:
Animating for next gen RTS games is fairly similar to animating for WC3 but again, with a higher standard.

SC2 uses IK. That means that now, your anims can interact with the world in a much more realistic way. aka the colossus. This is also more helpful to animating in general as you can move joints in a realistic motion when generating keyframes. You may even be able to use the biped bone structure in 3ds max. The model itself though, must be in FK when imported. You can make the anims in IK then convert them later.

IK is short for "Inverse Kinematics". The only real way to explain how it works is with a mental picture. Try this experiment.

Get a cup from your kitchen, fill it with water, and place it on a table. Sit down at the table. Now, reach for the cup and pick it up to drink it. IK simulates this.

When you extend your arm out, it is all one fluid motion. You did not have to think about how to move your shoulder, move it, then think about how to mover your upper arm, move it, etc. This is what animating with IK is like. Your moving one bone, that tells all the connected bones to move to the logical position. If your were to animate without IK, you'd have to move each parent bone down through the children bones till you get the position you want. With IK, it is much easier.

This is what allows the colossus in SC2 walk over stuff and have it's legs touch ground. The engine is telling the tip of the leg to touch the ground directly below it. And, because of IK, the rest of the connected parts all move accordingly in a fluid motion. It really is quite simple.

IK in a nutshell, is the ability to change a parent bone's position and rotation, based off of what you do to the child bone.

You may have also heard of FK. FK is the opposite. It means "Forward Kinematics".

FK in a nutshell, is the ability to change a child bone's position and rotation based off of what you do to the parent bone.

You'll need to have the final anims be in FK. You can convert it later. But, for me anyway, it's easier to animate in IK than FK. The engine has it's own IK system implemented.

IK and FK are also used in robotics.


One thing to note is that because you have lighting, you do not need to keep the model close to the pivot throughout the animation. And, I'm sure SC2 uses some sort of collision model for projectiles, so it could be all over. The zergling is the perfect example. Look at the walk loop. He falls back then jumps way forward. The unit is actually walking at a steady speed. The model on the other hand, is not.


PARTICLES:
Again, similar but with a higher standard than before. You can no longer do the old Blizzard trick and make your buildings or units instantly disappear on death. Todays standards require some actual effects. Your going to need to bind your particles to your mesh much more often now. DON'T BE LAZY!

I'm not sure how the SC2 particle editing system works so I can't comment on it much.

Instead of giving you a SC2 specific particles tutorial, I'll just give you some general do's and don'ts regarding modern particle systems for games.

1. Never ever have all your particles emit from one spot. That's something that is generally not even excepted in WC3 modding.

2. Keep in mind that your not trying to make your particles look good in a screenshot. They need to look good from any moving angle. This is because particles are always billboarded.

3. Use a host of different emitters for different materials. That way, each element (sparks, fire, smoke) can all behave differently.

4. Try to use grid sprites as much as possible. Particles looks awful if it's just the same pic with no animation.

5. Have particles happen at different times at different places that actually make sense. If you have a fort model with an empty middle, it would make no sense to have the middle explode while the walls fall.

6. Flare effects are your friend. When you see a flare on an explosion in a game, it looks nice, but the real reason the designers put it there is to kind of
obscure their particle effects.

7. Have your particles behave realistically by attaching them to a bone or object. Then, you can simply animate that bone/object.

8. Try to use a variation of sizes and speeds. Randomizing your particles' speed and size makes it look more natural.


CONCLUSION:
That pretty much covers everything I wanted to talk about. So, have fun in your SC2 modding endeavors!
 

Attachments

  • 1.jpg
    1.jpg
    124.2 KB · Views: 5,166
  • 2.jpg
    2.jpg
    97.6 KB · Views: 4,991
  • 3.jpg
    3.jpg
    246.9 KB · Views: 5,320
  • 4.jpg
    4.jpg
    137.7 KB · Views: 4,831
  • 5.jpg
    5.jpg
    154.2 KB · Views: 5,722
  • 6.jpg
    6.jpg
    36.3 KB · Views: 4,727
  • 7.jpg
    7.jpg
    43.7 KB · Views: 4,753
  • BronzeCopper0020_21_S.jpg
    BronzeCopper0020_21_S.jpg
    381.1 KB · Views: 6,052
  • 8.jpg
    8.jpg
    42.9 KB · Views: 4,603
  • 9.jpg
    9.jpg
    57.8 KB · Views: 4,291
  • 10.jpg
    10.jpg
    58.6 KB · Views: 4,361
  • 11.jpg
    11.jpg
    67.6 KB · Views: 4,258
  • 12.jpg
    12.jpg
    78 KB · Views: 4,224
Last edited:
Level 48
Joined
Apr 18, 2008
Messages
8,416
Wow. That's some pretty amazing tutorial.

Great job. I really love the part about the new materials. I didn't know how that shit is made until I read your tutorial(I never really liked that shine effect though... Sometimes it just looks so overused that everything looks like plastic).

It's a very helpful tutorial, and I really learned a lot from it. I'd like to know more about the particle system in SC2 though. It looks farily the same as it looked like in WC3, except... More awesome. :p
But I can't really tell, my graphic systems are set on the lowest. So, you know, I can't really see all those awesome effects and various kinds of maps and all that... At least I think I can't.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
Wow. That's some pretty amazing tutorial.

Great job. I really love the part about the new materials. I didn't know how that shit is made until I read your tutorial(I never really liked that shine effect though... Sometimes it just looks so overused that everything looks like plastic).

It's a very helpful tutorial, and I really learned a lot from it. I'd like to know more about the particle system in SC2 though. It looks farily the same as it looked like in WC3, except... More awesome. :p
But I can't really tell, my graphic systems are set on the lowest. So, you know, I can't really see all those awesome effects and various kinds of maps and all that... At least I think I can't.

Well, I'm not really sure how SC2 particles work. But, I will put a general do's and don'ts for modern particle systems later today.

Glad it was helpful!

Oh and yeah, normally the specularity would be toned way down. But, I wanted you guys to see the difference a lot clearer.
 
Last edited:

Zwiebelchen

Hosted Project GR
Level 35
Joined
Sep 17, 2009
Messages
7,236
Good tutorial. However, can you present us some sources? I mean, some of the things you mentioned are just assumptions. We do not really know about what will convert properly to SC2 and what not (maybe except for the maps). You should mark the assumptions so that people are aware that this is still a matter of testing.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
IK used for reapers and colossus. http://www.teamliquid.net/forum/viewmessage.php?topic_id=56555

Maps can be seen in vids.

Mesh/UVW all just technique.

Particles all just technique.

Lighting/Smoothing is basic modeling knowledge. I've never seen an engine not inherit smoothing in a long time. Blizzard can be silly though... Heck, even WC3 inherited smoothing.

Clipping distance. If you watch vids of the single player demo, you can see the edge of massive doodads.

Zerg movement, k this one was an assumption. It's a logical one. Blizzard programmers would not be stupid enough to code a speed interval when they could just do it in the animation... It's been done like that for years.

Most of this stuff isn't SC2 specific. It's just basic modeling knowledge so WC3 modelers can get up to speed and understand what people are talking about when they do talk about this stuff.
 
Last edited:
I have a couple questions.

1. How are each of the maps made? Diffuse is drawn in Photoshop or something, specular is too right?
2. What about normal maps? Are they generated somehow? And if they are, in what programs?
3. I'm looking at the normal map for the Marine right now and it is a shade of orange whereas your example is blue. Does the colour effect it at all?
4. For the marine portrait there are 3 maps (that I saw at least) diffuse, emiss, and nm. So what is an emiss (emissive?) map and an "nm" map.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
I have a couple questions.

1. How are each of the maps made? Diffuse is drawn in Photoshop or something, specular is too right?
2. What about normal maps? Are they generated somehow? And if they are, in what programs?
3. I'm looking at the normal map for the Marine right now and it is a shade of orange whereas your example is blue. Does the colour effect it at all?
4. For the marine portrait there are 3 maps (that I saw at least) diffuse, emiss, and nm. So what is an emiss (emissive?) map and an "nm" map.

1. Diffuse is the same as a texture for WC3. Specular is generally just a blank white texture. (Or gray if you ant less intensity.) But, if you only want some parts of the model to be shiny, you simply only make those parts white. The rest is black. Note, that the UVW is the same as the diffuse. As are the others. It's all the same UVW for a material that contains different texture maps.

2. Normal maps can be used for different purposes. You can either just be emphasizing detail inside the diffuse, (like in the tutorial) or you could be adding more detail. For instance, if I wanted to add more detail, I'd make a very high poly version of a model, then I'd tell the program to generate a normal map for the low poly version. I use Mudbox, Maya, Softimage, and 3ds max. (There are more, I just don't use them.) They all handle this. But, if you want to simply emphasize existing detail in the diffuse, there are plugins for Photoshop and Gimp than can generate normal maps based off of your diffuse. Of course, you can technically draw one by hand, but that's a bit insane. The closest thing to drawing one by hand is to make a texture that has black to white areas. (Darker the deeper, lighter the higher. Same as a height map.) Then, you'd tell the plugin to generate a normal based off of that.

3. Orange is a color used in a normal map. The color just determines how deep the detail is. If the entire map is based off of orange, it is the same as if it were based off of blue. The color also determines the roll from deep to shallow.

4. lol I forgot about emissive maps. I'll add the section to the tutorial shortly. And, I'd have to see the "nm" map to determine what it is. I assume it means a normal map.

Hope that helps for now! I'll try and get the emmisive map tutorial online as fast as I can.

Interesting to see how everything differs from War3 to SC II and so..

not too sure if that all will make modeling easier or harder tho..Oo

Depends. Making a material is obviously more complex. Not really that hard. You no longer have to paint shadows on the diffuse.

As far as modeling is concerned, yes you have to put more detail, but your not so limited.

Animating is easier because of IK.

Particles are harder now.
 
Yay. A response. :D

3. Orange is a color used in a normal map. The color just determines how deep the detail is. If the entire map is based off of orange, it is the same as if it were based off of blue. The color also determines the roll from deep to shallow.

Hmm, I still don't really understand this. What do you mean "deep"? and.. what would happen if the normal map was.. let's say.. green? (I don't know, just trying to get info.)

I'd have to see the "nm" map to determine what it is. I assume it means a normal map.

Ah, yeah. It is. I just looked at it again.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
Hmm, I still don't really understand this. What do you mean "deep"? and.. what would happen if the normal map was.. let's say.. green? (I don't know, just trying to get info.)

Well, there are specific colors.

It's hard to explain with words. Look at this pic: http://download.blender.org/documentation/bc2004/Roy_Schulz/images/CorrectNormalMap.jpg

That's the normal map for a perfect sphere. Each color tells where the detail is rolling off too.

You really, don't need to worry about the actual making of a normal map. This is because, it's generated for you. You don't actually have to paint it. :D

Anyway, I just got the emissive tut up! :D
 
Let me correct you on something:

Models don't use IK, they use FK.

The IK System is implemented in-game and uses an iteractive IK -like system to fit the collosus legs to the ground.

Even though models use FK, they can be animated in IK and later converted. It's also quite possible that Start Tools, themselves do it already as some models have tracks of biped naming and hierarchy structures.

About Specular map: normally you make it out from the normal map not just working over black and white.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
Let me correct you on something:

Models don't use IK, they use FK.

The IK System is implemented in-game and uses an iteractive IK -like system to fit the collosus legs to the ground.

Even though models use FK, they can be animated in IK and later converted. It's also quite possible that Start Tools, themselves do it already as some models have tracks of biped naming and structures.

About Specular map: normally you make it out from the normal map.

Ok, so the model itself can be animated in IK? But it is converted to FK. And you can obviously animate in FK to I guess.

And, I aways just let the normal map handle the spec map. Why would I need to make my own spec map unless I wanted it to only be glossy in certain areas? Unless of course, the spec map does not get plugged into the normal map. Does SC2 plug all of it's maps together? I can't imagine them not doing that...

EDIT: Added what you said about IK.
 
I have also noticed that for some reason the sc2 NM has only green channel and other channels are deleted.

The NM can be less detailed as spec map. U can add noise to ur spec so the glossiness will be more realistic.

Another thing to know is that game models are using coloured specular maps. So that the specularity could be more realistic. If u render in max with b/w specular u will have good specular highlight because of ur lightning but this wont happen in game. So U have to use coloured specs to imitate the spec highlights. U cant have same highlights for metal and skin.

sm_final_textures_a.jpg

superman_final_texture_shot.jpg
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
I have also noticed that for some reason the sc2 NM has only green channel and other channels are deleted.

The NM can be less detailed as spec map. U can add noise to ur spec so the glossiness will be more realistic.

Another thing to know is that game models are using coloured specular maps. So that the specularity could be more realistic. If u render in max with b/w specular u will have good specular highlight because of ur lightning but this wont happen in game. So U have to use coloured specs to imitate the spec highlights. U cant have same highlights for metal and skin.

sm_final_textures_a.jpg

superman_final_texture_shot.jpg

Sc2 uses color based spec maps? Nice.

And about the highlights, yeah, that's why you'd paint it only on certain parts for variation.

Anyway, I'll add what you said.

Does SC2 plug it's spec maps into the normal maps? Or do they not effect eichother. If the maps aren't plugable, then it would be much harder to make materials..I can't imagine Blizzard being that stupid, but you never know...
 
Sc2 uses color based spec maps? Nice.

And about the highlights, yeah, that's why you'd paint it only on certain parts for variation.

Anyway, I'll add what you said.

Does SC2 plug it's spec maps into the normal maps? Or do they not effect eichother. If the maps aren't plugable, then it would be much harder to make materials..I can't imagine Blizzard being that stupid, but you never know...

I dont quite understand what are you talking about . The NM and Spec map are two different maps. And they do different effects. How you can plug them together ? Do you mean they should make something like one shader with multiple maps ? At least if you look at their MPQ database the NM Spec Diffuse Glow maps are separate. Maybe I dont understand your point of view. Could you explain a bit more please :)
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
I mean do the two maps effect each other. In most engines, when you put a spec map and a norm map into a material, they plug into each other. So, if you have a blank white spec map on a sphere, with a norm map, the spec map is detailed because of the norm map. I work with Unreal Engine 3 so it may be different...
 
I dont know how you can put maps into materials in sc2, but it seems to me like a NM in max. You can put NM and additional bump map for additional effect, which is grey scale. So here you put specular instead of this bump.

Or do you mean , when you create a Spec map, you base it on NM ? something like this :

http://www.modwiki.net/wiki/Start_a_Specular_map_with_a_Normal_map

?

Do they affect each other. Well I have made a basic test with both maps. Here some pics :
Just NM
rvd8qc.jpg

Just Spec
35aq4o5.jpg

Spec and NM
2a8j02p.jpg

Different scale NM and Spec maps
141lfua.jpg

Spec map in NM slot
2vdfpn4.jpg

NM map in Spec map slot
33ausk4.jpg
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
Aha. The pics were what I wanted to see. I was just making sure that everything renders together. Very noice.

The only reason I see to make a spec map is too only have certain areas be specular. The normal map should be able to handle the detail. But, if you want a better amount of detail, detail your spec maps. Correct?

Of course, normally, my nm maps are the ones with the massive amounts of detail. But, it can go either way. Can you change things like gloss and intensity?

Keep in mind, I don't have SC2, so everything in the tutorial is just stuff I've seen in various engines. None of which are RTS engines.

Oh and, nice to know it supports grayscale bump maps.

Thanks for all the juicy brain additions!
 
Yeah, you are correct. Without specular map, your model will have specularity but it will be random. So if u have a metal box for example. It will be just shiny in places where light hits it, but if you want to make only edges to be shiny, then u have to make a map which will mask everything apart the edges. So when light hits the box, edges of that box will be reflective but not the whole box. For more detail, you should detail all your maps, the more the better. But of course if you want some small scratches on your metal surface, just include them into colour map and into your sepc map and the effect will be nice. The NM is used to imitate some larger details in this case. Something like small buttons or some large bumps. You also can make NM in photoshop or in max. You can convert grayscale maps, or bump maps into NM. I am not sure about bump maps in sc2, coz the original models doesnt have that, but you can make the NM as detailed as you wish and it is not that hard actually. Just good use of photos

I am not much into games myself. I am thinking about it atm. I would liek to work in games company but here in Finland we have only few small game companys and most of our 3d industry is in advert making.
 
Level 31
Joined
Feb 23, 2008
Messages
1,711
Ok good. Because that's how it works with all the other engines. :D

Yeah, you should go into freelance modeling. It doesn't matter where you are. Obviously, though, you don't make as much until your 4th or 5th year.

If you go freelance, you'll end up modeling for games. The gaming industry is 10 times as massive as the movie industry.
 

Ice

Ice

Level 10
Joined
Sep 4, 2004
Messages
153
sc2 modeling in maya

will there be any way to import and export models in maya 2010? and i heard that modeling characters in SC2 will be pointless because we dont get alot of space and some other problems i donno just a form i read. please inform me or link me to current galaxy editor notes.
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
So you just take some texture that you have in normal (diffusive) state and use photoshop/gimp to make it dark for specular, orange, purple using all methods of colorify and such and then combine them? DO you just 'recolor' textures to look such ways then simply combine them?
 
Level 5
Joined
May 27, 2007
Messages
162
Probably one of the best tutorials I have read in a long time. +rep.

It is especially useful how you comment and let people know the interactions and relationship between the game engine and the effects and tricks which can be achieved in a modelling program, which adds details but not poly's.

I am looking to get back into 3dsmax, and specifically, creating models for SC2. I really hope the 'bones' animation system used by max is recognized by the engine :)
 
Level 26
Joined
Jun 15, 2006
Messages
2,651
nice tutorial, but I mainly only read the materials part deeply. mesh and lightning wasnt that interesting to me, because it wasnt that new to me :p
The animations part was also intersting. Particles will need more information, but I guess this will come once we figure out what the changes to wc3 are.

At the end I will have to wait for some free tools I guess :p
 
Level 16
Joined
Sep 19, 2011
Messages
829
5. Height: Behaves similarly to a normal map. Except a height map only inherits z values. In other words, it can only determine up and down. Height maps in games are generally used for things like terrain. Supreme Commander for instance. Unlike in WC3 where the terrain is premade mesh based, in Supreme Commander, mappers had to literally draw a map for their map. It works on a greyscale value system. The lighter the higher, the darker the lower. When you work with map editors for various games where you can smoothly raise and lower terrain with a good falloff, what your really doing is painting a height map. The engine is simply converting the greyscale image into a mesh that is your terrain.
You are missing something important about the heightmap! It doesn't work just for the terrain, a more better use for it would be for parallax high which enhances the illusion of depth. There are many types of parallax or displacement. A different and better displacement would be the dx11 tessellation wich tessellates the geometry while parallax only works like a distortion on a flat surface. Keep in mind that these are expensive materials to use!!!

My sample of Sc2 Parallax Height

210613-albums7170-picture81823.jpg

210613-albums7170-picture81825.jpg

210613-albums7170-picture81826.jpg
 
Hmn this tutorial is very outdated and based on many speculations.

I would like to point out that Sc2 uses FK. Ik is only an special behavior added to a set of bones which is extremely expensive so it should be spared, unless you want to do some in-game dynamic animations like moving a machine arm, cliff legs, etc.

Particle Systems are way more complex. Their capabilities are like 4 times WoW's particvle emitters capabilities and 6 times Wc3's. They support physics, can be oriented in millions of ways, can use instanced geometry and can be linked to one another to generate chained particle effects.

Ribbon Emitters are also quite a thing in Sc2 since they have been implemented in such way that generating capes, flags and other useful things be easy.
 
Top