Difference between revisions of "Models:Misfit Model tutorial light bulb"

From Custom Map Makers Wiki
Jump to: navigation, search
(Build the bulb)
(Create the bulb cap)
Line 115: Line 115:
 
Press shift while you rotate (shift imposes a grid on movement and will rotate in 45 degree steps).
 
Press shift while you rotate (shift imposes a grid on movement and will rotate in 45 degree steps).
  
Move and scale the cap so it  
+
Move and scale the cap so it sits closely on the top of the bulb, this may take a few minutes - it's worth spending a little time at this stage exploring the controls.
 +
 
 +
Eventually your cap will fit the top of the bulb.
 +
 
 +
We now need to scale the top row of vertices to give the cap a more realistic shape.
 +
 
 +
With the vertex selection button selected drag and capture the top row of vertices and use the scale button to create a more interesting cap shape.
 +
 
 +
 
  
 
|
 
|
  
 
[[File:Lightb 12.png|500px]]
 
[[File:Lightb 12.png|500px]]
 +
[[File:Lightb 17.png|500px]]
 
|}
 
|}
  

Revision as of 10:08, 29 August 2011

This tutorial assumes you've downloaded and installed Misfit Model 3d and it works.

Before we begin

Misfit can save md3 models natively, this saves a great deal of time and effort if you wish to create your own models for inclusion in your maps - however, in order for this to work properly you should work in the final location/folder that your model will be loaded from.

In my case I have a models folder in my mapping folder, in the models folder I have a mapobjects folder. All your work should be in a seperate sub-folder of this.

For example : this tutorial model will be called the cmm lightbulb.

Create a folder mapping/models/mapobjects/cmm_lightbulb

All our work will be in this folder - graphics and model.

Textures

If you'd like to follow along with this tutorial, first download the following textures.

Plastic.jpg Bulb.jpg

Save the images to your mapping/models/mapobhects/cmm_lightbulb folder as

  • bulb.jpg
  • plastic.jpg

Open Misfit Model 3d

Open misfit model 3d - the basic layout should be familiar to anyone who's previously dabbled with 3d modelling applications.

The default display shows views of front, left, top and perspective which is a rendered preview of your model.

Lightb 1.png


Setting up your materials and groups

Before we begin to create our model we will first set up the materials (textures, images) and the material groups. These are used by misfit to dress your image and later exported with the model information.

From the main menu select materials. Click new material and type plastic. Cick ok to save this material.

Click the Change texture button and locate the file mapping/models/mapobjects/cmm_lightbulb/plastic.jpg and assign it to this material.

Repeat the process for the bulb.jpg image (add a new material called bulb, assign the bulb image to that material).

Having created your basic materials we now need to create matching groups - groups are used to group materials and permit our model to use the same material over several objects. In this example many parts will be made from the plastic material.

From the materials menu select groups, create a new group called plastic, link the material plastic to this group.

Create another group called bulb and link this to the bulb material.

Lightb 3.png

Build the bulb

We start by creating an ellipsoid, click the icon on the toolbar that looks like a small ball or select create ellipsoid from the main tools menu.

Drag the ball to be roughly the size you like and then move this to the center of the display.

It may take you a few minutes to work out how to use the interface, it's pretty simple.

The first 4 buttons on the toolbar represent the following actions

  • Select vertices
  • Select faces
  • Select connected mesh
  • Select group

We will select some of the vertices and drag them upwards to create a better bulb shape.

Click Select vertices, select the top 4 rows of vertices by dragging the selection rectangle around the area you wish to select.

The buttons on the main toolbar in positions 8 (4 arrows) and onwards have the following functions

  • Move
  • Rotate
  • Scale
  • Shear

Select the move button.

Press Shift (this locks the rotation, scale or movement to grid actions) and drag the selected vertices upwards to create a lozenge shape. An elongated ellipse.

Now click the Scale button with the same vertices selected and reduce the size, this will create an egg shape which is similar to a light bulb.

Feel free to continue to scale and move your vertices until you're happy with the shape.

The final step involves remove (deleting) the top 3 rows of vertices, we do not need these.

With the vertex selection button selected draw a rectangle capturing the very top 3 rows of vertices and press delete.


Lightb 6.png

Lightb 7.png

Lightb 9.png

Create the bulb cap

Create a cylinder and select the rotate tool.

Press shift while you rotate (shift imposes a grid on movement and will rotate in 45 degree steps).

Move and scale the cap so it sits closely on the top of the bulb, this may take a few minutes - it's worth spending a little time at this stage exploring the controls.

Eventually your cap will fit the top of the bulb.

We now need to scale the top row of vertices to give the cap a more realistic shape.

With the vertex selection button selected drag and capture the top row of vertices and use the scale button to create a more interesting cap shape.


Lightb 12.png Lightb 17.png

Create the wire

Create the ceiling mounting plate