[Olrox's Hints on Creating Textures & 3D Models]

Improving the artwork in Warzone2100 - not for mod discussions

[Olrox's Hints on Creating Textures & 3D Models]

Postby Olrox » 11 Jan 2010, 04:15

Hello everybody!

I'm here to make something MaNGusT asked me some weeks before, but I just wasn't in the mood then (and I feel sorry but I couldn't help but kept away from the forums as I've planned, until today).

He asked me to send him a layered image file, like the ones I've used to work with, with the effects and textures, and some hints on how I've developed the effects.

I'm glad to say that I can do that perfectly, as I rely on very, very basic effects, most of them resulting from combinations of many different simple effects that pretty much anyone can handle. More than attaching a simple file with a few pointers, I'll provide you all with a proper guide on how I make textures, and a few basics about meshes as well.

I'm writing this because I really think that there are some people that like my work, and if I leave this guide, maybe there will be someone that can improve those techniques and provide the community with even better artwork. For this effect, I'll make a complete list, from the very first step, to where I couldn't help anymore.

Without further delay, I'll start explaining how I was producing the content right away. (damn, I can’t add paragraph spacing :stressed: I’ll add a blank line to separate paragraphs)

The Steps
Step I: The 3D mesh

This is the first thing to do, as it is the base of the model. The textures are going to be applied into the surface of the 3d meshes, according to the texture maps. Basically, those meshes are composed by polygons, whose vertexes vary in coordinates (X,Y,Z). Those polygons are visible according to their normals (imagine those interrogation room windows), that is, usually you can see through them if looking "behind" the normal, and from the other side, there will be whatever graphics assigned to the polygon. This is "usually" true because there are 2-sided polygons, that act like truly opaque surfaces, with two normals.

To make a 3d mesh, you'll need attached polygons (with common vertexes or edges). Most Computer-Aided Design (CAD) software make those operations quite simple, and usually you’ll start with a tool that creates a primitive object, such as a simple cube, and develop it by dividing and creating new vertexes, moving them around, rotating, extruding, duplicating, welding, etc. To learn those procedures, very basic tutorials on modeling will surely be enough.

After the creation of the mesh (or solid, in case you’re working with AutoCAD), you need to export or save it into a .3ds file, or at least be sure that you can do this later without loosing the texture map. To continue your work, you’ll need a software that supports UV mapping, I think that the best bet for free software is Blender, or, if you have access to a fancy tool like 3DSMax, great! You won’t use any advanced tools, so most CAD software should be enough.

After you have your 3D mesh, we are ready to go into the next step!

Step II: Creating a texture map

In this step, we’ll effectively make a map of the model, so that the computer knows which parts of an image file should be displayed in which faces of a 3D model. Imagine that you have a dice, and you must specify where you want each number to go: that’s similar to what we are going to do, but our job is much more fun, because usually 3D models have way more than 6 faces!

The name of the tool varies a little, but is usually called UV mapping, or something with “mapping”. If you are searching for a tutorial on this, and there are no matches for “mapping”, try “texturing”, and you’ll certainly find what you’re looking for.

Basically, during this mapping procedure, you’ll decide from where you’ll start unwrapping the model, and from which angles the polygons are going to be seen when putting them together on a 2D map. Don’t be too fussy about this procedure, because it’s the starting point for the map, and usually for models with many flat, sharp faces, like most in warzone, it’s better to manipulate the map itself rather than configuring the mapping tool to make a suitable map.

My personal choice is to handle each polygon to achieve a coherent map. If you still want to have a suitable map by configuring the tool properly, please refer to a specific tutorial: I’ll move to the next procedure, and that’s the unwrapping part.

Right, now that the software knows where to start “cutting” the model, we are going to unwrap it so that it fits a 2D surface. This step is crucial for the quality of the textures, as it can promote or ruin any interaction effects between the faces, and that’s why I’ll speak about it on a separate step.

Step III: Organizing the texture map

Imagine that you’ll have to create a jigsaw puzzle. However, you have the pieces and want to paint the picture on them. How will you do it, imagine how each edge would connect to each other and paint each piece separately, or organize them, so that you can paint the picture as if it was only a big rectangular screen? Crazy folks, gtfo, we are going to organize the pieces.

That’s pretty much about what we are going to do, being the polygons, the pieces. We have good and bad news, first the bad news: You can’t assemble the full “jigsaw” into a 2D surface, because the pieces are irregular, there’s no way to connect all of them as they’re supposed to be while on the model. Good news is, you can stretch the pieces, affectively making them connect to other ones they wouldn’t be able to otherwise! However, we need to be careful because over-stretched parts will look… too much stretched.

This part requires the creativity of the artist. As we are going to apply the effects into a 2d surface, and the connection between the pieces is given by the way they are disposed on the map, we NEED to organize it according to the effects we want to apply. If two faces are meant to be adjacent and share an effect (like a pipe or window or whatever thing that crosses one face’s edge and enters another one), you must make them adjacent, if you don’t want unnecessary work and waste of time, and do want quality.

When organizing the map, select the faces you want to be connected, on the model view, and then take a look at how they are disposed in the map. Manipulate them with the tools at your disposal, break, weld, rotate, align, mirror, stretch, rescale… master the shortcuts if you ever want to do this without loosing too much time, or even loosing your line of thinking.

After you are happy with your map, and think that it is ready to be used to apply a texture into the mesh, you should export a template. This one will be an image file: It’s preferable that you save it in .bmp, .png or .tga formats, with high quality (there’s no need to have a high resolution. In most cases, you can use a 512x512 page for an entire model of the size of 1 tile and the result will be more than enough detailed), so that you can make accurate selections in the next steps. It’s exactly like a real map: you don’t want it to look blurry because you depend of it to know where things are. If your map is confusing of blurry, you won’t be able to make a good texture because you won’t be able to know which part of the texture page is going to be applied into with face.

It is highly recommendable that the person that is going to make the textures is the same person that’s mapping the model. A good knowledge about the way the model was mapped is fundamental for creating a high-quality model with nice effects and that feel that it has more polygons, smoother and more detailed shapes than it really has. Especially because we are working with a RTS game, the secret of a good model is a good texture. Geometry can’t be too complex, or the performance impact will be too high, and a laggy RTS is a true nightmare. Actually any laggy real-time game is a nightmare.

Having this in mind and thinking carefully about the effects you are planning to use while mapping the model, you are ready to go on to the next step towards a good model.

Step IV: Creating the texture page

Now this is the part where creative graphical work must be carefully done, with no hurry. Take a deep breath and go get a cup of coffee, because if you don’t do a good work here, the model isn’t going to achieve its full potential. Schematics help a lot for you not to forget which effects you want. Don’t even think about making a non-layered texture page, because you WILL loose your time if you do so. In layered images, you can make shadows, relief, reflection, transparency and shapes in a way that the spectator will be surprised when looking at your model with and without textures. In the best results, people will even think that you are cheating, and made additional geometry.

For making this layered image, you can use the famous Photoshop, or other software that can work with .tif or .psd or whatever layered image file you want to work with. If you don’t already know what a layered image file is, be sure to learn before going on, it is crucial. After opening the image creating and editing program, you should copy & paste, import, or do whatever is necessary for the texture map’s template to be added as a single layer. Not the background, leave the background at a separate layer, as you can change its colors separately, to easily spot visible seams, this way.

Start with the most basic of features, and always keep your layers organized so that what is meant to be “below” is indeed below in the layer order. First of all, paint the texture with the color you want (at least most) your model to be. Remember that you can always apply effects in separate layers to change the color, so that you can change them later. By all means, don’t avoid creating additional layers: it won’t affect the final file size as it is going to be flattened when saved as .png files again. But keep the similar things close so that you can spot the group of effects, and then the single effect that you are looking for.

To apply those effects, my personal, amateur, method is to create a new layer with the shape I want the effect to be applied. In photoshop, I paint it all black and go into “blending options”, under the layer list. Then, I set the blending method to “screen”, and whoa, the layer is now invisible! This way I can use it as a mask to apply the effects, but also use coloring tools to change the visibility in certain areas (if you paint the layer with white, you’ll notice that it is visible again, because a white screen effect makes the things lighter).

After that, there are no secrets other than using many simple effects. The ones I use most frequently are:

Bevel and Emboss
Inner Shadow
Outer Glow
Inner Glow
Gradient Overlay
Color Overlay


If you explore those effects properly, changing the settings to see what they are capable of, you know everything you need to create texture as good as, or even better than mine. Remember to use smooth effects and combine them frequently. The key to a high-quality texture is the cohesion of the effects, the interaction between the polygons. For some tips about making camouflage patterns and metal plates, please refer to the Tips section.

Also, remember to apply the texture into the model frequently to see how it looks like. A nice trick, to know the positions of your effects and view how they are going to be positioned in the model, is to draw red (or whatever contrasting color) shapes when applying the textures. The next step explains how to apply the texture into the model.

Step V: Applying the textures

Now we are going to use the map to tell the rendering software which texture it is going to use, and which parts goes where (you don’t have to solve the jigsaw, you’re going to see how it looks like when already solved).

For that, you’re going to apply a material to the model. For that, open the materials dialog, and create a new one, of the simplest type, or just modify the “default” material, calling it whatever you want. After that’s done, you must find where are the material’s “maps” listed (should be easy to find). You need to change the diffuse map, which applies a texture, in color, tone and shape, directly into the model’s surface. Change it to “bitmap”, “image file” or whatever is the name of the map type that allows you to select a proper image file. Then, search for your texture (which you should save in .png, flattening it) and select it as the material’s diffuse map. After that, you just need to apply it into the mesh and render it: if the model was mapped properly, the texture should be applied just like the map was organized. After that, you can close the render dialog, modify the file, and render it again: the software should reload the file automatically.

After all this, you can export your model to the .3ds format, so that you can export it to .pie via the “3ds2pie” exporter (search around the forums: there is a topic specifically about that). You should be asked either to preserve the texture coordinates or not, and of course you want! This way, the .3ds file will remember the map, so that you can assign the texture page to it in any other program, and the textures should be applied according to the map you’ve made.

The Tips
Tip I: Camouflage

I’ve developed a nice method for making camouflages, for using as a base for the other effects. It makes the model look less “empty”, and promotes the military feel of the model, especially units. For creating them, just have the area painted with a single color of your choice, nothing special. Then, you must use the “texturizer” tool (it’s called like that in Photoshop), or whatever tool that can create bricks relief.

When applying the bricks relief, set the light position to left or right, it doesn’t matter, but the important thing is that only the small edges are visible in the effect, and a little roughness all over the area. This should be applied with a good intensity, and the scale should be set so that the width of the relief is somewhat like the width you want for your camouflage spots’ outlines.

After applying the relief effect, apply the “sponge” effect, which will make your reliefs look like splattered spots of the same color but different tones. If this stage already pleases you, it’s ok! However, if you want more “stripy” patterns, you should apply a “angled strokes” effect, then you can apply additional sharpness so make the spots more visible. I’ve attached a sample camouflage map that I’ve created using this technique.
NPcamo.png
New paradigm camouflage pattern sample, made for body parts' textures by Olrox.
NPcamo.png (103.86 KiB) Viewed 15853 times


Tip II: Metal Plates

A good way to create metal plates is (brace yourselves) paintbrush. Well, not for the final effect, but for creating the shapes for you to use in a proper tool, like Photoshop, in the same way I’ve mentioned in “Step IV: Creating the texture page”, using Bevel & Emboss effects (specially with “chisel hard” setting).

When you’re at paintbrush, select black as primary color (left click) and white as secondary (right click). Then, go to the “Line” tool and select the fourth thickness option. Then, select the “Rectangle” tool and then the option with border and filling. After that, have fun making rectangles with alternate left/right clicks, making interesting shapes.

After making those shapes (always remember that you can create perfect squares or vertical/horizontal lines by pressing the shift key while clicking), copy & paste everything to your original tool and separate the black/white parts into separate layers, then make both of them black, setting the blending mode to screen. After this, just configure the bevel & emboss effect until it looks good enough!

Tip III: Bumps & Scratches on Metal Paint

-

This is as far as I dare to explain about making models for Warzone 2100: Modifying resources, compiling, altering batch files, and this kind of stuff is just out of my knowledge (sort of, I don’t feel confident enough to explain what little I know to anyone).

I really hope that this helps the artists to create good quality content for warzone, and even help those who already do so, to improve their work. I’ve attached a .tif texture page for anyone to take a look at how I organize my layers and how I set up my effects. Anyone is free to edit and use this walkthrough and its attachments in any way, it was made for you folks anyway!

[The extension tif has been deactivated and can no longer be displayed.]


If anyone wants to know how I create any other effects, please post the question here and I’ll add the answer to the "Tips" section as soon as I manage to answer it. MaNGusT can provide you with the Mantis .3ds mesh so that you can apply the texture and see how It looks like.

[i]Best Regards,
Olrox
Last edited by Olrox on 23 Jan 2010, 23:18, edited 3 times in total.
User avatar
Olrox
Art contributor
 
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Square » 12 Jan 2010, 19:08

oh my god! I was wondering how you create your stuff... but now :)

Thank you very much
thanks thanks :D :) yaah

gonna print it out and read it all evening :)
User avatar
Square
Trained
Trained
 
Posts: 76
Joined: 06 Jan 2009, 15:45

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Per » 12 Jan 2010, 19:46

Wow, that was a lot to read :) Thanks a lot for your effort to explain.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
 
Posts: 3549
Joined: 03 Aug 2006, 19:39

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Terminator » 12 Jan 2010, 23:33

You won a competition of the biggest topic message :D
Death is the only way out... sh*t Happens !

Russian-speaking Social network Group http://vk.com/warzone2100
User avatar
Terminator
Regular
Regular
 
Posts: 1037
Joined: 05 Aug 2006, 13:46
Location: Ukraine

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Thyranim » 13 Jan 2010, 01:25

please stick this one !
System: Intel C2D E8400 3,0GHz // 8,0 GB RAM // nVidia GTX285 2GB // Windows Vista Ultimate x64 SP1
Thyranim
Trained
Trained
 
Posts: 188
Joined: 20 Dec 2008, 16:35
Location: Germany

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Olrox » 21 Jan 2010, 20:25

I'm afraid that something really bad happened to the attachments, after all - that's very unfortunate.
But I must know if I should replace the previous attachments of this topic (and other ones from other topics, if anyone miss them), or if it's okay to wait for the staff to solve the problems.

Other that that, I'm happy with the shown appreciation for this little guide, It makes me feel better for sure. Also, I'm glad that it was made a sticky: this way, at least this part of my work (hopefully) won't be lost in time!
I only wish that someday I can edit the topic, adding more Tips, to enrich its content.
User avatar
Olrox
Art contributor
 
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby lav_coyote25 » 22 Jan 2010, 05:46

please by all means olrox... and glad to see you here. :)
User avatar
lav_coyote25
Professional
Professional
 
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Olrox » 22 Jan 2010, 06:26

That's nice, thanks! - I'll probably add new content this weekend :D
User avatar
Olrox
Art contributor
 
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Olrox » 23 Jan 2010, 23:16

20000 character limit on the face, ouch!
Here it is :P

Tip III: Bumps & scratches on metal paint

Well, no metallic part have a truly realistic feel if the paint is intact, in warzone. The tanks are shot, an maybe the bumped parts are straightened again, but no one would care about re-painting it, right?
Maybe good scratch effects can be made using a tablet, with custom brush patterns and stuff. But I'll explain a simple method, that works just good enough.

Start by creating a blank layer, just transparent, nothing at all. Now use the brush tool with the "dissolve" method, set at something about 1~3% intensity (so that you've got a reasonable ammount of scattered dots), using a gray color of your choice, to represent the metal color. After doing that, select all of the area (everything, not just the dots) and apply a distortion effect, my personal choice is "Ripple", set to small magnitude, many peaks, etc.

Most of the "scratches" should be looking rather blurry now, and we don't want that because we're going to apply a layer blending effect using them: they must be sharp shapes. For that, you can use the brush tool with the "overlay" method, using the same gray color you were using before: you will notice that the scratches are getting more nitid as you keep applying the effect.

After you've got satisfactory scratches, let's make them more satisfactory by adding small bump affects to them (something bumped into the paint to scrath it, obviously). For that, it is interesting that you make the scratches' edges even more sharp: for that, get the "magic wand" selection tool, set to a threshold of 50, and select the transparent part of the layer. Delete it, and any of the blurry edges left should be gone now. If not, raise the threshold and keep deleting the partially transparent parts until the result is satisfactory.

Now, go to the layer's blending effects, and apply a small (1 or 2 pixel) "chisel hard", "outer bevel", Bevel & Emboss effect. Apply it to make sure it looks right for you, try adjusting the intensity of the effect until it looks good. After that, you can add some outer glow of the same gray color (1-2 pixels again), with a lot of noise, for the edges to look
rough. Another option is to add inner/outer glow effects with a brownish-orange color for the edges of the bump/scratch to look rusted (which happens often when you bump a mettalic part even if it doesn't have paint, due to some rust-protection methods which only protect the surface).

In the end, you should have decent bumps & scratches. If you don't like a particular one, you can use the "eraser" tool to erase the parts which you don't like, or use the "liquify" filter to change its shape. I've attached a Small Tracks texture page I've made so that you can take a look at the bumps & scratches layer (Layer 5) I've used.

[The extension tif has been deactivated and can no longer be displayed.]



And I've included a pack with a model set, HPV Cannon Viper Tracks, made as a concept for Art Revolution by me. You need to apply the included textures, or your own (keeping in mind the texture map, of course). The HPV Cannon texture is exactly the same as the the one also included in this post, so you can edit the layers to see how the result looks!
Attachments

[The extension rar has been deactivated and can no longer be displayed.]

User avatar
Olrox
Art contributor
 
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby elio » 11 Feb 2010, 10:58

very cool stuff :) thanks for your effort.
i think you should put this article in the wiki Artwork section ;)

regards
elio
elio
Regular
Regular
 
Posts: 508
Joined: 09 Jun 2007, 22:11

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby Olrox » 11 Feb 2010, 13:29

elio wrote:very cool stuff :) thanks for your effort.
i think you should put this article in the wiki Artwork section ;)

regards
elio

Glad you like it :D
BTW, I've recently learned about baking models by reading your guide, for example ;) I was wondering it there wasn't a tool to make what it does before, and then read, searched around blender forums a little bit after reading your guide once again, and then figured out how to do it in 3DS Max - Was a great "discovery" & addition to my methods xD
I think that you were the one to help me improve my work the most, ever since I've started making models.
Thank YOU!
User avatar
Olrox
Art contributor
 
Posts: 1999
Joined: 03 Jul 2007, 19:10

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby noccy » 06 Aug 2010, 15:30

Woah! Excellent post, I bow before thee Olrox! :D

I believe it is Blender time. Wish me luck ;)
noccy.com | xmpp: noccy(at)chillat.net | xfire: noccy80
User avatar
noccy
Trained
Trained
 
Posts: 45
Joined: 01 Aug 2010, 22:21
Location: Karlstad, Sweden

Re: [Olrox's Hints on Creating Textures & 3D Models]

Postby cnceo » 18 Dec 2013, 10:44

I know this thread is quite old, but as it is a sticky, I think it's worth to put some additional tutorials in here.

Of course you'll find tons of tutorials on "g00gle" or youtube etc. For for my part I mainly learned blender from http://www.katsbits.com/ .

This site covers just about everything you need with very detailed explanations, such as:

Basic modelling: http://www.katsbits.com/tutorials/blend ... layout.php
Basic character modeling: http://www.katsbits.com/tutorials/blend ... inning.php
Rendering Normalmaps: http://www.katsbits.com/tutorials/blend ... inning.php

and many other things. If anyone knows other good tutorials and links I'll be happy to check them out as well.

Another thing: some artists seem to struggle with is to edit *.pie files. Me and many others use WMIT to convert *.pie files to *.obj files which can be edited with blender. There is also a python script as the conversion involves mainly parsing a textfile. A problem which I usually see is that there is no official host for up-to-date WMIT binaries. I have a dropbox link to windows binaries but I'm not sure if I'm allowed to post it (even though you can find it by searching the forum...). And another link I have is from the github https://github.com/downloads/iNoDlite/w ... _win32.zip , but those binaries date to 2011. Maybe we can find some solution, where to host up-to-date WMIT binaries.
User avatar
cnceo
Trained
Trained
 
Posts: 101
Joined: 23 Sep 2013, 11:49
Location: Germany


Return to Artwork

cron