SoulPaws|IT server
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Welcome to our forum! Hope you stay here and wait when the game come to public-download! But you can see our work here! Game status- In works!


You are not connected. Please login or register

Tutorial-Modelling

2 posters

Go down  Message [Page 1 of 1]

1Tutorial-Modelling Empty Tutorial-Modelling Fri May 17, 2013 3:35 am

Cyre/Ryuuko

Cyre/Ryuuko

Anim8or is a free 3D modeling program.

If you want to learn how to make your own meshes for Impressive Title, you won't find an easier way of doing it than this!

I am going to take you through making a simple, textured ball model in Anim8or, then converting it for use in Impressive Title.

Before we begin, please note that I won't be teaching you how to use Anim8or itself, (that would take forever), but I shall be showing you how to make a simple ball model, then applying a texture to it.

If, after reading through this here tutorial, you decide you want to get serious with Anim8or, then I recommend going through this tutorial on the main Anim8or website. That tutorial was designed to teach beginners the basics of Anim8or. After going through that tutorial, you should have acquired enough knowledge to start making your own models.

Let's begin...

PART 1: Making the Model

First thing you'll want is Anim8or itself, which can be downloaded from here

Extract the .exe from the zip file to your drive, then make a shortcut to it on your desktop...

Right-click the .exe then select "Send To" then "Desktop (create shortcut)"

Let's create a simple model, a ball...

Tutorial-Modelling 1

Click on the button highlighted above, then in the middle of the screen, hold down the left mouse button and drag.

Tutorial-Modelling 2

Now double-click on the ball so we can set it's properties. Set them to the following...

Tutorial-Modelling 3

Once you've done that, with the sphere selected, go to "Build" then select "Convert to Mesh"

Tutorial-Modelling 4

Time to give it a texture...

Tutorial-Modelling 5

Click on the materials button highlighted above. Now where it say's "New" double-click on that. A window will pop up where we can buttign materials to the model.

Tutorial-Modelling 6

Click on the highlighted button above, then click the "Load Texture" button...

Tutorial-Modelling 7

Once you've loaded in a texture, select it from the list, then click "OK"

Tutorial-Modelling 8

Now give this material a name. Let's call it "BallTex"

Edit the name then click "OK"

Tutorial-Modelling 9

Your work area should now look something like this...

Tutorial-Modelling 10

With the sphere selected, click "Apply" right above the texture button...

Tutorial-Modelling 11

This will apply the texture to the sphere.

Note: Texturing in Anim8or is not always this simple, lol!

Now we need to "Floor" the model for use in Impressive Title...

To do this, with the model selected, go to Edit/Locate then select "Stand on Ground"

Tutorial-Modelling 12

That's your ball done! Save it now by going to File/Save As...

Tutorial-Modelling 13

Once you've saved it, copy it and the texture you used for it, to C:\

PART 2: Converting the Model

To convert the model to Ogre's .mesh format, we shall require the following tools...

1) Ani2Pov - Converts .an8 files to other formats.

Note: You will also need to install this and this for Ani2pov to work!

2) Command-line Tools - We shall need one of these to convert the .xml to .mesh

Download and install those, plus any required components, (such as .net), if you don't have them.

Fire up Ani2Pov then load in your ball model...

Tutorial-Modelling 14

Now select the "Ogre3D" tab then click on the "Export Now!" button...

Tutorial-Modelling 15

We're nearly there!

Copy the .xml file that Ani2Pov created, into the "OgreCommandLineTools" folder in C:\ (You have installed it, yes?)

Now we need a command prompt...

Go to Start/Programs/Accessories/ and select "Command Prompt"

In the command prompt, type the following...

cd\
cd ogrecommandlinetools

You should now be in the "ogrecommandlinetools" folder.

Note: If you want to view the contents of the folder, type: "dir"

Now type the following to convert the .xml file into a .mesh file...

ogrexmlconverter modelname.xml modelname.mesh

Example:

ogrexmlconverter ball.mesh.xml ball.mesh

Tutorial-Modelling 16

Now find all your files! You'll want to copy the .mesh .material and texture files into your map folder.

Example:

ball.mesh
ball.material
ball.bmp

PART 3: Editing the .material file (Optional)

Your model will look rather dark in-game using the default .material file. You can brighten up your model by removing a few unnecessary lines.

When you convert a model, the material file will look something like this...

Code:
material object01_slgrock1_rocktex
{
   technique
   {
      pass
      {
         ambient 0.263529 0.263529 0.263529 1.000000
         diffuse 0.614902 0.614902 0.614902 1.000000
         specular 0.200000 0.200000 0.200000 1.000000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000

         texture_unit
         {
            texture slgrock.jpg
         }
      }
   }
}

All that ambient, diffuse, specular and emmisive you can do away with!

I like my material files to look nice and tidy, so they usually end up looking something like this...

Code:
material object01_slgrock1_rocktex
{
technique
{
pass
{
texture_unit
{
texture slgrock.jpg
}
}
}
}

Note: To see any changes made to your .material file in-game, you will have to restart Impressive Title from the desktop.

Congratulations! You have just made your first Impressive Title mesh! cat

http://ryuukolion.deviantart.com/

2Tutorial-Modelling Empty Re: Tutorial-Modelling Sat May 18, 2013 4:45 am

XxMidnightskyxX

XxMidnightskyxX
Admin

I might try this someday :3

3Tutorial-Modelling Empty Re: Tutorial-Modelling Sat May 18, 2013 4:46 am

Cyre/Ryuuko

Cyre/Ryuuko

thats good Very Happy

http://ryuukolion.deviantart.com/

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum