Tutorial: Building a 3D Spaceship Model with Wings3D (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding



Message


GaryChildress -> Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 3:43:45 AM)

One thing I seldom see on the Matrix forums is a tutorial on how to customize graphics for a game. I've often had to figure things out for myself the hard way because no one ever seems to show how to do things the easy way here. In an effort to encourage more graphics modding for Distant Worlds I present the following tutorial.

Building a 3D Spaceship Model with Wings3D



This, I hope, will be part of a short series of tutorials which will ultimately culminate in a new ship graphic for Distant Worlds. This first tutorial will deal with making a very simple model using Wings3D which will then be used in later tutorials to make a 2D ship graphic for Distant Worlds.

So here goes...

Step 1: You will need to download and install Wings3D which can be found here: http://www.wings3d.com/

Wings3D is, IMO, probably the best freeware 3D graphics modeling program that I have ever encountered. It's easy to use and can make good quality 3D models, and can export them into a number of 3D formats for import into other programs. Basically I use Wings3D to create my models and then import them into another program such as Bryce or Poser to do the rendering of the model into a 2D image for use in certain games, including Distant Worlds. In this first tutorial I will simply demonstrate how to create a 3D model and then in a later tutorial we will export it to 3DS format and then import it into another program for rendering.

Below is the model which we will be making. Very simple but making it will demonstate a few of the features which can be used for making more complex models. From there you can knock yourself out experimenting and trying out other features of this robust 3D modeling program.

[image]local://upfiles/17421/9B0D5FA2182445C0A60E3BF706834213.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 3:49:15 AM)

Step 2: Humble Beginnings

Let's start off by making a simple cylinder in the middle of the screen. For the purposes of this tutorial the cylinder will be the only object we will create. Everything else will come out of it. In later installments I may touch on features such as "Combine" to combine two or more separate shapes in the screen, but for now we will just work with one simple geometric figure.

Simply right click anywhere on the Wings3D window and choose Cylinder from the context window that pops up.

[image]local://upfiles/17421/323002814D7D4030BFF592CE5CC20502.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 3:52:20 AM)

You will end up with a simple cylinder in the middle of your screen right at the intersection of the x, y and z axis.

[image]local://upfiles/17421/CA5F2F97F5E64364AE7B0F42873D6787.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 3:58:01 AM)

The next step is to get that cyliner facing horizontally across the x and z axis. You could simply do all your modeling with the cylinder facing in its default orientation but I'd like to introduce the rotate feature in this tutorial. So we're going to rotate the cylinder. The first step is to select "Body Selection Mode" by clicking the solid red wire frame cube up on the tool bar as indicated in this pic by the orange arrow. This will allow you to select the entire cylinder in a single click.

[image]local://upfiles/17421/B41A8D91310441949A55F1C293976EF9.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:03:11 AM)

Now click somewhere on the cylinder itself and the entire object will turn red. This means that you have selected the entire object. If you wanted to select a single face of the cylinder, then you would select the "Face Selection Mode" cube right next to the "Body Selection Mode" cube on the tool bar. In this case we are going to rotate the entire cylinder and not just a face of it. If we rotate a face it will distort our cylinder from what we want to start out with. So lets just select the whole cylinder.

[image]local://upfiles/17421/1C53BFFBDAB0477D96374F8164AC57A2.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:05:51 AM)

Now right click somewhere on the screen to bring up the context menu for Body Selection Mode. At the top of the menu you see "rotate" just below "move". We want to rotate the cylinder by 90 degrees in order to lay it on its side. So click on "rotate".

[image]local://upfiles/17421/2F5C366012744767ADBC755D964F08FA.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:08:12 AM)

We want to rotate it along the Z axis in order to lay it flat facing along the X axis. So choose "Z" from the menu that follows.

[image]local://upfiles/17421/6634FDAD6CC443A395D8B9F4F66A7C26.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:14:55 AM)

Now it gets a little tricky. You need to move the mouse around the screen a little until you get the feel for it. You need to move the mouse until you see either 90 or -90 in the top left corner. Again, the orange arrow points to what I'm talking about. Once you fiddle around and get it to 90 exact, left click on the mouse and the cylinder will stop rotating. If you mess up just hit the "undo" arrow in the top left of the menu bar and try the process again until you get the object right at 90 degrees.

[image]local://upfiles/17421/11113D8040BF4B0EB55C80D575F08A58.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:19:20 AM)

Now we want to start messing around with individual faces on the cylinder. So let's go up to the "Face Selection Mode" button on the tool bar and select it. Now when you click on a face of the cylinder it will only highlight that face which you selected and not the entire cylinder.

[image]local://upfiles/17421/B00944016DF3459DBFBEEE1CA160C264.jpg[/image]




D.W.O.H -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:22:33 AM)

See this is dangerous grounds for a guy like me cause I crave new ships so bad but I know if I tried that id prolly end up smashing my monitor out of plain frustration with being just ignorant to the whole graphics world

but ill mess with it just to confirm that yea I shouldnt bother,lol




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:23:04 AM)

Now go up to the menu bar and under the menu item "Select" choose "Deselect". This will unselect all the faces which were selected when you moved the entire cylinder under "Body Selection Mode". As we work with a face in this tutorial we will need to deselect all the other faces so that we can alter just the faces of the polygon which we want to alter. Now the cylinder turns back to its default gray because no faces are selected anymore.

[image]local://upfiles/17421/E55256B706834E429A09D15ADEFAB023.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:27:35 AM)

Next, select the circular face in front of you by clicking on the face. This will turn the selected face red as shown below.

[image]local://upfiles/17421/B25F53E27BCA45C394965297C6589103.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:31:41 AM)

Now, once the face is selected, once again right click somewhere on the screen to bring up the "Face Selection Mode" context menu. Choose "Extrude" from this menu to pull out a segment of the cylinder and lengthen it.

[image]local://upfiles/17421/B5EEEED48280451C908645854BAA2EA3.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:32:59 AM)

From the menu which follows on screen, choose "Normal".

[image]local://upfiles/17421/D27E29ECB715482888EDF3874AB6A521.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:40:01 AM)

Now move the mouse around the screen until you have extruded the face about this far (as pictured below). No need to get into precise numbers. Well just play around a little until we get something that looks roughly like what we want. Once you are satisfied with the length of the extrusion, simply left click on the screen and the extrusion feature is canceled. The extruded face will stay where you left off with it.

Next VERY IMPORTANT, go back up to the "Select" menu item and choose "Deselect" again. This will deselect the face we just extruded so that we can select a different face and work with it. If you don't "Deselect" faces you aren't working with, then whatever command you issue will take effect on ALL SELECTED FACES. We're just going to work with one face at a time for now. So we don't want to select more than one face for our commands.

[image]local://upfiles/17421/C834B9550F3A4B1980C5C98BAE42E8DE.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:44:18 AM)

Now we're going to navigate around our object a little until we get to the back side. Hopefully you are doing this exercise with a wheeled mouse. If you click on the wheel and then move the mouse around you can rotate your view around your cylinder (which now has two sections to it). For the purposes of this exercise, you want to rotate to the opposite side from which you just extruded. Once you get to the view below, left click somewhere on the screen to stop rotating.

[image]local://upfiles/17421/ABA6873BDB3C4C6C8835178A57301511.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:48:05 AM)

Now repeat the last procedure until you get another extrusion, this time extruding out the other side. You should be left with a figure that looks like this below. You now have two etrusions, creating a 3 sectioned cylinder like the one below.

[image]local://upfiles/17421/99D06A21040C46C5965760A5FD0295D9.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:53:30 AM)

Now, with the newly extruded face still selected, right click on the screen to bring up the context menu and choose "Scale uniform". As you scroll the mouse on the screen the circular face of the cylinder will now increase or decrease in size uniformly around the entire plane of the circular face. You want to decrease the size, creating a narrow point-like section to your cylinder. This will be the sleek front end of your space ship.

[image]local://upfiles/17421/4DE99C3C34D44EEBB19D44724729F260.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 4:58:45 AM)

Next, once again "Deselect" all faces. The next thing we are going to do is add an engine to the back of our space ship. Click on the mouse wheel again and scroll to the opposite side of your figure. Select the rear face of your ship, right click and select "Inset" from the context menu as shown below.

[image]local://upfiles/17421/744D100992064133A6FBA2205C0D8248.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:02:20 AM)

Drag the mouse until you get something that looks like this below. Then once again choose the "Extrude" feature from the context menu.

[image]local://upfiles/17421/560D294F5508477EB8484541FC658848.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:04:11 AM)

Extrude the face just a little ways until you get something like this, then, with the same face still selected, right click and choose "Scale Uniform".

[image]local://upfiles/17421/665C713FE8104DBFA5FA3BD4C5620995.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:07:27 AM)

Scroll the mouse, increasing the scale of the face until your extrusion looks almost like a cone sticking out from the back of your ship. Then right click again and choose "Inset" again from the menu.

[image]local://upfiles/17421/84935C1BEEB048CF886E39021DB99F8C.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:11:44 AM)

Keep the same face selected, right click and choose "Move" from the menu and then "X" from the small menu that follows. This will move your face along the X axis. As you move the face inward it will dig out the cone to make it look more like the engine you want.

[image]local://upfiles/17421/7C901DB6F6354C41885E3DBCF0F64D4A.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:13:07 AM)

You should now have something that looks like the following:

[image]local://upfiles/17421/E60A591A7F304D73BAB012A0C8BA6872.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:22:43 AM)

Now that the basic capsule of our spaceship is done we want to make some wings for our ship. Obviously wings aren't going to do much good in space but they make our spaceship look cool. [8D]

First off Select "Deselect" again to make sure that none of our faces are selected.

Next, clicking the mousewheel, rotate around to the side of our spaceship as seen below. Click on one of the faces on the side toward the back of the ship as shown. Next rotate to the exact opposite side of the ship and choose the exact symetrical opposite face on the other side. Now, WITH BOTH FACES SELECTED simultaneously, right click and choose "Inset" again from the menu.

[image]local://upfiles/17421/0C0575FD8B5044AFBC7E897490BFD7DE.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:27:20 AM)

Again, lets extrude our inset faces. By extruding them both at the same time, you easily ensure that both extrusions are identical. We want our wings to be symetrical. Choose "Normal" again from the menu which follows.

[image]local://upfiles/17421/19C253E94DE5409D8EB3BFF81ABFB33C.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:29:45 AM)

Extrude the wings a little ways out, left click to end the extrusion process and then right click again and choose "Scale Uniform" once again.

[image]local://upfiles/17421/B716C26F2C8C4EA48DA2B66240345DEF.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:31:24 AM)

Scale the faces until you get something like this, then left click to deactivate the scaling process.

[image]local://upfiles/17421/0A523E1B79CF4202BF94650AC3A8B66B.jpg[/image]




GaryChildress -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:34:01 AM)

Now switch to "edge selection mode" so that we can work with just the edges of our polygons instead of the faces.

[image]local://upfiles/17421/F54AD496B7514296B42E511BA5D2A5CE.jpg[/image]




D.W.O.H -> RE: Tutorial: Building a 3D Spaceship Model with Wings3D (4/7/2010 5:34:51 AM)

i have never done anything like this before and i think with your help I may be able to do something

but even tho its not exactly the same as your i followed along nicely & if i done it right the pic of it should show

[image]local://upfiles/34639/3529CC568E854F9582F9F4922A9F7DB8.jpg[/image]




Page: [1] 2 3   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.15625