Monday, June 18, 2012

how to model and texture a Mig 29 ub fighter jet

යාලුවනේ සුභ සැන්දෑවක්.
අයියෝ මගේ නිවාඩුත් ඉවරයි.කොල්ල ඉතා දුකසේ ආවලු ආයිමත් camp එකට.
ඒකට කමක් නෑ. පුලුවන් වෙලාවට post එකක් දාන්න මේ පැත්තේ එන්නම් කෝ.
අද මන් කියල දෙන්න යන්නෙ Mig 29 ub  Fighter Aircraft එකක් හදන හැටි.

ටිකක් දිග tutorial එකක් උනාට කරගෙන යනකොට මාර interesting;
මොඩ්ලින් පාට් එක ලේසියි..
අමාරු texturing ටික..



Step 1

This tutorial can be followed by anyone using 3ds Max 2008 or later. Basic understanding of 3ds Max is required, I use 3ds max 2012 for the modeling of this tutorial so the screen shots may be a little different, however the general guidelines can be followed with almost any version of 3ds Max. I am also using Photo shop, but any layer based paint program should work for doing the photo shop stuff.

In versions earlier then 2011 you may need to increase the image sharpness in your viewport display. To do this, before doing any work go to customize, then preferences and click on viewport tab.

Next click on configure driver and then make sure background texture size and match bitmap size as closely as possible are checked. You will have to reset your 3ds max interface by clicking on file then reset. Now you should see your textures in the viewport crisp. 

Step 2

To start first we need our blueprint. You can get these many places online, however the website I visit mostly is www.the-blueprints.com they have many great blueprints all for free.

Next when you download your blueprint, save it to a directory that you will be using for modeling as seen in the image below. This will help keep everything organized. Now we will want many reference images of the real thing so we can add detail later on.

A good start is to look on Google image search and download as many reference photos of the real object you are trying to model. Another really great resource for photos of aircraft is www.airliners.net I use this a lot when modeling an airplane.

Step 3

Next we want to bring our blueprint in to 3ds max. Do this by creating a plane in the front view port and make it the same size as your blueprint. My blueprint is 1521 X 1995 you can also re scale it down to fit in your view.

Next open up your material editor; create a new texture by picking a blank texture slot and placing the blueprint in the diffuse map channel, then applying it to your plane. 

Step 4

Next Right click on your plane and chose convert to editable poly. This will turn your plane primitive into an editable object in 3ds Max.

Step 5

Next click on edge mode and select both sides of your plane, like the image below.

Step 6

Next you can use either the connect tool or the cut tool and make cuts and slices across your plane, dividing your blueprint into different parts.

Step 7

Your blueprint should be something like this when you are finished.

Step 8

Next click Detach and detach your plane into four different parts.

Step 9

When you have your four different parts they should look like this.

Step 10

Next we will want to arrange them like this, so we have blueprints in all directions. Front, Top, Side.

Step 11

Next Right click and chose object properties.

Step 12

Next UN-check Frozen in gray and check back-face cull, then press OK.

Step 13

After this Right click on the screen and chose Freeze selection. This will make our blueprints frozen in place so we will not move them around by accident. Next save your setup as Mig 29 in your modeling folder.

Step 14

So the first part of modeling is going to be the engines, since we have two of them and they are almost completely separate from the main body.

Start by creating a cylinder in any viewport and arranging it like this, aligning it up with your blueprint.

Step 15

Next pick a color for your modeling. I like to do this because it gives me more control over my modeling. You can choose any color, I like a gray blue.

Also convert your cylinder to an editable poly object, by Right clicking it and choosing convert.

Step 16

Next delete both ends of your cylinder so it is like a tube.

Step 17

Next select the back edge of your tube like in the image below and then while holding down SHIFT drag to your left so it creates an extrusion to the end of the engine.

Step 18

Next select the end edge and again while holding down SHIFT, scale in to create the extrusions and then extrude inside the tube like this.

Step 19

Next move to the other end of your tube and select the first two side edges, start to flatten them out as seen in the image by using your scale command and scaling on the Y axis. Do this for the top edges as well creating a box shape from the circle shape.

Step 20

Next rotate it so it matches the blueprint.

Step 21

Next do the same as you did for the back. Select the edges and while holding down SHIFT scale in a few times and then drag inside as seen here.

Step 22

Next select all the side edges and give them a slice of -80. This is to help our engines keep their shape.

Step 23

Next give your side edges more slices, I did six more. If they turn out slanted, just use your scale command and scale them on an axis to be strait.

Step 24

Next we need to go to our hierarchy tab, select affect pivot only and move our pivot to the center of our blueprint.

Step 25

Next we will use Symmetry to create a copy that will automatically update as we model. Apply it in your modifier list as seen here.

Step 26

Next we will start on our main fuselage. Begin by creating a new cylinder in the center. Align it up with your blueprint as seen here.

Step 27

Next select all the edges of your new cylinder and give them some slices as seen here. I also press ALT + X to make my model invisible.

Step 28

Now activate vertex mode and scale and move these vertexes around so you get something like this.

Step 29

Do the same for the front of your aircraft.

Step 30

Next select all the center edges as seen here; you can easily select all edges along a path by clicking on Ring or Loop. Click on Ring when you have some front center edges selected.

Step 31

Next click on connect and create a line through half of your model, so your cylinder is completely cut in half by the center line like this.

Step 32

Next select exactly half of your model in polygon mode and DELETE it. We only want to use half because we will use Symmetry on it to see the other side update as we work.

Step 33

Next take away the symmetry on your engine model and attach the fuselage model to your engine model, making them both use the same symmetry modifier. You can also apply a mesh smooth modifier to see what it looks like smoothed.

Step 34

Next activate vertex mode and start to move your vertexes around so you get something like this. We want our fuselage of our aircraft to match the blueprint as much as possible.

Step 35

Next we are going to create our wings. Select your edges and create two slices here, we want to create points from where we will extrude the wings.

Step 36

Next select these polygons on the side of your fuselage.

Step 37

Perspective view.

Step 38

Then extrude them out to about here. This is important because we want to get the gradual curve out to the wings, just like the blueprint.

Step 39

Next part is to select only half of the polygons you originally selected and extrude them out as seen here.

Step 40

Next activate vertex mode and start moving vertexes so you get a shape like this.

Step 41

Next select the middle edge of your wing and pull it out as seen here. Do the same to the other side as.

Step 42

Next to help our wing keep its shape when we apply mesh smooth, select all the edges across its middle and give them two slices at a setting of 90.

Step 43

Next activate vertex mode and move these vertexes in following the blueprint as closely as possible.

Step 44

This is what we should have so far.

Step 45

Next we can work on the tails, to do this lets make it a little easier to work. Activate polygon mode and select the whole fuselage by clicking on Element mode and then clicking on your fuselage. Next scroll down to Hide Selected and click it. To get it back, activate polygon mode, scroll to the Hide section and click on Unhide All.

Step 46

Next select these polygons; this will be the start of our tails.

Step 47

Next extrude up, following the blueprint. Do the same as before, extruding half way then selecting only part of the already extruded polygons and extruding them further, as seen in the following images.

Step 48

Select only half.

Step 49

Extrude the rest of the way.

Step 50

Next is to activate vertex mode and move your vertexes around so you get the right shape.

Step 51

Next while still in vertex mode, we can connect some lose vertexes. It is very important to connect as many lose vertexes as possible, because they can leave undesired texturing results when not connected.
To do this, select two vertexes that need to be connected and press connect.

Step 52

Next is to select the edges of our tail and give them a set of slices, 2 at 90.

Step 53

Next activate polygon mode and unhide your previous selection, then activate mesh smooth and you should have something like this.

Step 54

Next is the back fins, we do them just like we did the wings, select these polygons and extrude out.

Step 55

Extruded polygons.

Step 56

Next move vertices until you get something like this.

Step 57

Next select all the center edges and give them two slices like this to help hold the shape when mesh smooth is applied.

Step 58

When mesh smooth is applied we get this.

Step 59

Next to work on the cockpit area let’s select these polygons and extrude them up.

Step 60

Side view.

Step 61

When extruding something on an object with symmetry, always remember to delete the inside polygons. When mesh smooth is applied and you have polygons inside, they can create a mess of things.

Step 62

Next vertex mode and move vertexes around to achieve the look of a cockpit, follow the blueprint as closely as possible.

Step 63

If your cockpit is like mine and it needs to be closed, select these edges and move them in until both sides connect.

Step 64

Both sides are connected.

Step 65

Here I created a new edge so I can connect these two points.

Step 66

Do the same to the other side.

Step 67

Next select your cockpit area and Detach To Element.

Step 68

Next give it a new texture, something dark like glass with an opacity of 58 or 60.

Step 69

With mesh smooth we get this.

Step 70

The back end needs a little adjustment, so to do this activate element mode and select the whole engine and then hide it, by clicking on hide selected.

Step 71

Next activate vertex mode and select these vertexes, then move them into position so they align up with the blueprint.

Step 72

Next we will be creating the wheels. First of all, the blueprint I downloaded for this tutorial did not come with any wheels, if you downloaded a different blueprint with wheels, then good for you. : )

What I did to get some wheels to use as a blueprint, was to grab a photo of the real aircraft, align it up with my blueprint and then bluer out any parts of the aircraft, I would not be using. I blurred out parts of the image for copyright resigns.

So to start creating the wheels, we create a small cylinder in the side view port and align it up with our blueprint.

Step 73

Next step is to select the edges of your cylinder and then give them a chamfer like this

Step 74

chamfer your edges.

Step 75

Next select both polygon sides, then inset them in two times, then extrude in and then select only the center and extrude this in also.

Step 76

Inset two times.

Step 77

Extrude in once.

Step 78

Then extrude in again but only the center piece. Remember you are doing this to both sides at the same time.

Step 79

Next select all three center lines and chamfer them like this.

Step 80

Next select the insides.

Step 81

Extrude them in, use Local Normal as the extrude type.

Step 82

With mesh smooth applied, we get this.

Step 83

Next for the gear poles, we will use splines.

Step 84

Click on line and then draw out your gear poles as seen here. try to match up with the blueprint as best you can.

Step 85

Click Enable in renderer and also Enable in viewport. This allows you to see the size and what it will look like when you convert it to editable poly. change the size to fit as best you can.

Step 86

Convert to editable poly and then create some new edges and then select them in polygon mode and extrude in to create the sections of your poles, like they are pressure pipes.

Step 87

Next duplicate your front wheel and create a new spline or cylinder connecting the two wheels, then we can hook our poles to the center bar.

Step 88

The final result for our front wheel with mesh smooth should look like this. You can put as much detail as you like on your model, however this front wheel looks good for now.

Step 89

Next we can do the same for the back wheels, copy the front wheel and create a spline for the wheel pole, then convert to editable poly. Attach wheel to aircraft body.

Step 90

Here is what our aircraft looks like so far with the new wheels.

Step 91

Add more detail to your aircraft anyway you like. I am going to add the air vents on the top of our wings. To do this select this section of our wings and give it seven new lines.

Step 92

Next create a new line through the wing by selecting all the lines and connecting them with a new edge so you get something like this.

Step 93

Next we can select five polygons to inset and extrude.

Step 94

Here we are insetting them by polygon setting.

Step 95

Next Delete the polygons and then select all the new edges, and extrude the edges in just a little by using the scale command.

Step 96

Next while holding down SHIFT drag down so we get something like this.

Step 97

Next select all your edges as in this image; you can do this very easily by selecting one edge and clicking on Ring, or Loop command.

Step 98

Now apply a connect to your selection and give it 2 segments with a pinch of 80.

Step 99

Now when we apply mesh smooth we get this.

Step 100

Next we can create the inside of our cockpit, start by selecting the inside edge of your cockpit area. If you need to see things better you can select the whole cockpit area and hide it from view.

Step 101

Next while holding down SHIFT drag down to extrude the edge until you get something like this.

Step 102

Next part is to extrude the bottom part out and then connect the lose vertexes together by using the collapse button. Select each set of vertexes that need to be joined and collapse them together.

Step 103

Once you have a solid cockpit area, select the whole cockpit and detach to element as seen here.

Step 104

Next select all these edges along the inside walls of our cockpit area.

Step 105

Give them a connection of two segments at a pinch of 80.

Step 106

This is what it should look like when mesh smooth is applied. I also applied a different color to our cockpit area so we can see the difference; I chose a light brown gray.

Step 107

Next we can work on the cockpit bars. Remember to unhide your previous polygon selection by activating polygon mode and then scroll down and click unhide all. Next click on shapes and select a spline, we can use an arc this time. Create your cockpit bar as seen in the image and then Right Click it and chose editable spline.

Step 108

Next we want to use a modifier called Sweep. We can apply this from our modifier panel.

Step 109

Next use Built in selection as Bar and chose a small amount for length and width. I used 1.14 for L and 0.54 for W.
Then convert it to an editable poly object.

Step 110

Next activate vertex mode and move your vertexes around so you get a shape that follows your cockpit windshield. Next make a copy and move it to the back.

Step 111

Next we are going to create some seats. Start out by creating a box like this one here, convert it to editable poly and then activate edge mode and select all the edges along the X axis as seen in the image.

Step 112

Next connect them with two connections of 50 or 60.

Step 113

Do the same for the other sides.

Step 114

Next select the top polygons as seen here.

Step 115

Next extrude two times, first one time to about this height and then next select these polygons and extrude again.

Step 116

This is how high I made mine.

Step 117

Next is to give your seat back two new edges like this. I also bent my seat back a little bit.

Step 118

Next I selected these polygons and extruded them in a small amount.

Step 119

Do the same for the bottom seat but this time extrude up.

Step 120

Next select the back and front and seat edges as seen here and give them two slices with a pinch of 70.

Step 121

Mesh smoothed looks like this.

Step 122

Next place them in the cockpit as shown here.

Step 123

For the cockpit dash we are going to make a very simple display. start by selecting these polygons and extruding them out.

Step 124

Next delete the inside and rotate them up like this.

Step 125

Next select all the inside edges as seen here by clicking on one edge and then clicking on Ring. Next give them all two extra connections with a pinch of 80.

Step 126

Next we can work on giving our aircraft some wing flaps or ailerons, first select your wing edges like this and give them two new edges with a pinch of -80 to -90 depending on how large you want the gap to be between wing flaps.

Step 127

Next select both your new polygon flaps and detach to element, also give them a new texture.

Step 128

Next make some new edges for each new flap, so when we apply mesh smooth we get a nice result.

Step 129

For the back tail is the same thing.

Step 130

Same thing for the back tails.

Step 131

This is our aircraft when our tails and wings are completed.

Step 132

Next we can create the wheel doors, to do this turn your aircraft upside down by using the Orbit viewport button. Next we want to activate mesh smooth and then Right click on it and chose collapse to. Make sure mesh smooth is in between your edit poly and symmetry, so afterwords you still have symmetry on top.

Step 133

Next select these polygons and then detach to element so they become separate objects but still attached, you can give them another color as well if you like, just to know where they are.

Step 134

Do the same for the front wheel.

Step 135

Next we can work on creating some missiles. To start create a cylinder as seen here.

Step 136

Next select the back polygon and inset it.

Step 137

Next extrude in a little bit like this.

Step 138

Next select the other end vertexes and collapse them so you get a sharp point. If you want you can then move your point in a little bit so you get more of a round pointed look.

Step 139

Next go to your shapes tab and create a spline that looks like this.

Step 140

Next apply an extrude modifier to your spline selection and make it a little thicker, next convert it to an edible poly object and give both sides of your fin some new edges as seen here.

Step 141

Next we want to go to the hierarchy tab and then click on affect pivot only. Next move your pivot point to the center of your cylinder.

Step 142

Next click on Tools then Array.

Step 143

Next click on Rotate then click on preview and next move one of the XYZ settings until you get the one that rotates in the desired direction. It all depends on what viewport you used when you opened up the Array tool.

I used the X axis and set it to 360 degrees. Then set your count to 4 or 3 or 5 what ever you want.

Step 144

Do the same steps for the top part. Or just copy the ones you already made and scale them down a bit.

Step 145

If you want you can select different parts of your missile and extrude them in a little to give an effect of different parts.

Step 146

Next create a box on top like this.

Step 147

Activate vertex mode and move vertexes around so you get something like this, next give your edges some more connections.

Step 148

When you are finished you should have something like this.

Step 149

Next step is going to be texturing. So to start we first need to break up our model into different parts to be textured. So first right click and collapse to so now your model is whole with no symmetry.

Also remember to save this as a new file so you can always start where you left off if you want too.

Step 150

Next I am going to select just the wings, fuselage and cockpit area. I am only selecting the cockpit window, no seats or bars. Next click on detach and this time we want them to be separate objects. When texturing, if you do not have a super powerful computer, then it is best to texture like this.

Step 151

Do the same to your engines.

Step 152

The rest of the parts I kept as they are.

Step 153

Next un-hide all parts if they were hidden, and select the fuselage first. Apply a Unwrap UVW modifier to your model

Step 154

Next click on Open UV Editor.

Step 155

When you are in the UV editing screen you will see your model displayed in the checkerboard box, this is your UV space. Next click on Mapping and then Normal Mapping.

Step 156

Next chose Left/Right Mapping from the drop down list, you should get something like this. However you can fool around with the settings here to see if you get a better result.

Step 157

Next arrange your selections like this, making both sides of your aircraft align up with each other on the top or bottom of the box.

Step 158

Next close out of the editor and this time only select the wings part, then re-open the editor.

Step 159

This time I used Back/Front Mapping for this selection.

Step 160

Arrange them like this.

Step 161

Next we will add more of our aircraft, so close out your editor and then collapse to, so you convert everything to an editable poly object again. When we collapse to, we save our uv editing so the next time we apply an Unwrap UVW modifier we start where we left off.

Step 162

Do the same thing you did for the wings and fuselage. This time it is for our engines.

Step 163

This is the UV set up for the back wings.

Step 164

Next close out of the editor and collapse to everything again. Next select your wheels and missiles and delete half of them as you can see here. We only need to give one set texture coordinates and then copy them to the other parts of the aircraft.

So delete everything in RED.

Step 165

Next attach the wheels and missiles to the main fuselage. Remember to keep the UV editing you have been working on always attach from the main fuselage and never from anything else.

So select your fuselage and then click attach and then attach anything you like. This image is of the cockpit area applied.

Step 166

Next image is with the wheels and missiles done. When you are complete you should have something like this.

Step 167

Next click on Tools then Render UV Template.

Step 168

Next when you render your template put in your size and then click on Render. I like to use a very large size because you can always scale down if you want. So I used 4096 X 4096 it is a power of 2 also.

Step 169

Next we open up Photo Shop, bring our template we just rendered and take the magic selection tool and click on any black part to select everything black. Next we want to invert our selection so we go to Select then Inverse.

Step 170

Next copy and then paste your selection so you have a cut out of the template you just made.

Step 171

Next open up the blending options of your cutout layer as seen here and give a stroke of 8. You can open the blending options by double clicking or Right click and chose blending options.

Step 172

Next create a new layer and then Right click on your cutout layer and merge it down to the new layer. Next create a new layer under the cutout layer and fill it with a light gray color. This will be the base color of your aircraft.

Step 173

Next save your texture. You can save your texture to any format you like, however I like to use TIFF because it can hold layers and at the same time you can save it very quickly just by pressing CTRL+ S

Step 174

Next go back into 3ds Max and apply your new texture to your model. You can also create a glass texture so your cockpit stays see-through. The glass texture is very simple to make. all you do is pick a general texture slot, change the color to dark blue or black and reduce the opacity.

Step 175

Next to start creating your texture, what you do is use your cutout as a guide to where to paint. So grab your selection tool and paint bucket tool and start painting the colors you want.

This image shows the missiles and wing decals I did.

Step 176

This image is a little farther along and shows that I created the wheels, cockpit area and numbers on the aircraft.

You can use free textures from many different free resource websites, like this one here.
www.my3dtextures.com

I used a wheel texture from this site.

Step 177

The final texture is here. This shows some extra decals, some camouflage, more numbers or words and the back of the engines.

Step 178

This is the final render.



මේක මන් හොයාගත්තේ
http://www.tutorialized.com/view/tutorial/How-To-Model-a-Mig-29-UB-Fighter-Jet-in-3D-Studio-Max-2012/73527

උඩ ලින්ක් එකෙන්..
එහෙනම් සුභ රාත්‍රියක් කිව්වා අපි ගියා

No comments:

Post a Comment