Convoy Trucking

Hyde Park => GTA & SA-MP => Topic started by: Rubber on June 25, 2013, 22:38

Title: [How-To] Use all the tools in ZModeler
Post by: Rubber on June 25, 2013, 22:38
Tool Selection
The tool selection area of ZM contains all the tools you will use to edit models. It is comprised of the following tool types: create, display, modify, select, and surface. Each of the tool types and their respective tools are explained in greater detail below.

IMPORTANT: I will not be covering ALL the tools right away. I will cover the important ones first, and fill in the non-important ones later when I have time.

[hide=Create tools]
Create
As the title suggests, the 'Create' tools are used to create things.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/create_zps97a0ad80.jpg)

Copy: Creates a copy of an object. To use this tool, select it and right click on any object in a viewing window. A copy of the object will be placed in the exact location of the parent object. Notice in the model tree that there is a new layer with the same name as the object copied.

Polygon: This is used to create polygons on existing objects!!!! There are three types of polygon creation: fan, single, and strip. The polygons created are ONLY ONE SIDED. This means you will only be able to see them from one side. You can use this tool to fill in unwanted openings, or create surfaces where there are none.
     
     Fan Polygon
     1. Click on 'Create', 'Polygon', and 'Single'.
     2. Left-click on the Vertex Selection tool (refer to Editing Levels Toolbar to see which one), then left-click on the object you wish to add a polygon to.
     3. Left-click to start the first polygon point and click several more times to create more polygons in a fan shape.
   
     Single polygon
     1. Click on 'Create', 'Polygon', and 'Single'.
     2. Left-click on the Vertex Selection tool (refer to Editing Levels Toolbar to see which one), then left-click on the object you wish to add a polygon to.
     3. Left-click to start the polygon. Click 2 more times to finish the polygon shape. You can move the points around later, if you wish. You can also texture this
     polygon just like any other polygons.

     Strip polygon
     1. Begins the same as the first two types of polygons.
     2. Left-click to place polygon points. This type of polygon creation is best used for creating flat rectangular sections (although, there is an easier way).

Surface: As with polygon, it creates surfaces which can be used to create parts. Unlike polygon tool, however, the surface tool creates a new object instead of requiring a base object to add to.They are also one-sided, so you must make sure you are creating the part in the right view for it to show up. Surfaces can be textured after they are created. There are three types of surfaces to create: Grid, loft, and revolved. I have never needed to use the latter 2, so I won't bother explaining them. If you click the little box to the right of the surface tool, it will give you more options for creating surfaces. These options look like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/surf_zpsb85fc757.jpg)

If 'triangles' is selected, the surface will be comprised of triangles. If 'quad' is selected, the surface will be made of quads (quad means four-sided). An example of the differences can be seen below (Triangles on the left, quads on the right):
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/gridded_zps0ad5bd67.jpg)

Grid: A grid is a rectangular-based surface. If you click the little box to the right of the grid tool, you will get these options:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/grid_zpsb57e1a3d.jpg)

The two inputs required by the user are columns and rows. The number of columns is the number of vertical sections that will be created. Rows specify the horizontal number of sections. An example of these differences can be seen below. The one on the left is comprised of 4 columns and 2 rows. Likewise, one on the left has 2 columns and 4 rows.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/gridexample_zpse2f95ba3.png)
To begin creating a grid, set up your options and left-click in a window. Move the mouse and click again. And voila, a grid is created!
[/hide]
==================
[hide=Display]
Display
The display section contains tools and options for changing display variables.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/display_zpse2913a52.png)

The only tools that are important in the Display section are 'Disable' and 'Enable'. These tools allow you to disable and enable the ability to select and modify points/edges/polygons on objects.

Let's say for example there are two objects that are overlapping and I need to edit just one of them (but can't differentiate between the two...can't select which one I want to edit). If I disable the one that is blocking the object I wish to edit, I will not be able to select or modify that object, but it will still be visible. It is pretty useful when you need to adjust one object relative to another, but don't want that object to get in the way of things.
[/hide]
==================
[hide=Modify]
Modify
The modify tools do exactly that; they modify objects or parts of objects.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/modify_zps31c18024.png)

[hide=Align]
Align: There are three types of alignment tools: Axis, line, and plane.
     Axis align: Aligns points (verticies) of objects with one of the three axes (X, Y, or Z). In order to do this, follow these steps:
     1. Select the point manipulator on the editing levels toolbar and click on the object you wish to modify (you MUST be in the point editing level to use this
     tool).
     2. Click on the align axis tool.
     3. Select the axis you wish to align points with. Take note of the coordinate system in the lower left corner of each window. The points you select will be put
     into a line that is perpendicular to the axis you select.
     4. Be sure 'Auto' is on (found in the lower right-hand corner of ZM).
     5. Select the points by holding shift to select multiple points. Let's use this next example to prove the point. I drew a standard 8-sided tube, but I wanted
     one side to be flat. I began by selecting the points on the inner diameter first (points 1, 2, and 3 on the first image). Note: I chose X axis to align to. In this
     window, X axis was left/right.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/axis1_zpsdc74c75d.png)
     6. Now that you have the points selected, make sure the 'Selected mode' is on (in the lower right corner).
     7. Hold down the Control key and left-click on one of the points you have selected. The outcome of my example would look like this so far:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/axis2_zps7c476b85.png)
     8. Since I want a flat side of the tube, I have to apply steps 5-7 on the outer diameter (points 4, 5, and 6 in the next picture).
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/axis3_zps7ae13e2d.png)
After applying step 7, the final outcome is this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/axis4_zps5b22ee79.png)

     Line and Plane alignment tools are not really used and are basically self-explanatory.

     Screen alignment aligns all the selected points in the same plane as the view window. For example, I created a cone, but I want it to be flat. To do this, I
     selected the top view and selected all the points on the object like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/screen1_zpsaf59752f.png)

Now, hold Control key and left-click on one of the points that are selected. The result should look like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/screen2_zpsd26915de.png)

Notice how the object is now flat. This is an easy way to flatten objects very quickly.
[/hide]
[hide=Attach]
Attach: Attach is used to join multiple objects onto the same level on the model tree. I'll use an example to demonstrate.

To begin, you need several objects you wish to combine. Here, I have a sphere, a box, and a cone that I want to join into the same layer. Note the layer tree. There are 3 object layers shown here, before we attach:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach1_zpsef37b4cd.png)

Click the small box to the right of the attach tool. You will see a menu that looks like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach2_zpsa5750a38.png)

Click on 'Attach multiple'. A menu like this pops up:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach3_zps9394d8fb.png)

To the right of the 'Attach to' section, you will see a 'Change' button. Click on this. The object that you select in this menu will determine which object will be used as the base layer (this is the object that all other objects are attached to). In this example, I selected the Box to be used as the base layer, as shown here:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach4_zps96e08efd.png)

After selecting 'OK', you will now see this updated menu:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach5_zpsa2f34ae4.png)

The objects in the list on this menu are the objects that can be attached to the base layer ('Box'). Note that 'Box' is not on the list. This is because we already chose it as the base layer. By holding Control key, you can select multiple objects to be attached. As shown here, I have selected both the cone and the sphere:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach6_zpsf0bf487e.png)

After you have your objects selected, click 'OK'. This attaches all the objects that were highlighted. The result is this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/attach7_zps8d634f50.png)

The main thing to note here is the fact that there is only ONE layer in the model tree. That layer is 'Box' because we selected that as the base layer. Also note, now all the objects are combined into a single object, as evidenced by the blue highlighted object on the left screen.

Use this tool when you need to attach parts to a car mod. Let's say you have a new muffler that you made and want to attach it to a car mod. You would choose the chassis as the base layer and attach your muffler to it.
[/hide]
[hide=Break and connect]
Break: Break breaks verticies on objects. Rarely used.
Connect: Connect is the opposite of break, it connects verticies on objects. Rarely used.
[/hide]
[hide=Delete]
Delete: As the name states, it allows the user to delete objects or parts of objects, depending on which editing level you are in. You can delete verticies, edges, polygons, or whole objects. Also, you can use the delete key for a shortcut. When deleting multiple objects (or verticies, edges, etc.) be sure the 'Selected Mode' is ON.
[/hide]
[hide=flip]
Flip: By using flip, you can fix wrong mesh or texture problems easily. Basically, 'Flip' flips the side of a surface that gets textured. Let's say, for example, that I have a license plate that is textured on the back side, instead of the front side. Simply click the 'Flip' tool and click the license plate and the texture will be on the correct side.
[/hide]
[hide=Mirror]
Mirror: As its name suggests, the 'Mirror' tool mirrors a part around a given axis. To use it, be sure to select the right axis you want to flip the part around. To demonstrate, here is an example. I have a cone that I want flipped upside down. This is a side view of the cone before:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/mirror1_zps7159f3ce.png)

To begin, select the 'Mirror' tool. The box to the right of the tool displays these properties (I usually leave them the way they are):
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/mirror2_zpsb2d3f31d.png)

Now, select the axis in which you want to mirror the object. In this case, I selected the Y axis to mirror it vertically. Now click on the part. You should end up with something like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/mirror3_zpsab095f04.png)

The 'Mirror' tool will become very useful when getting into the UV Mapping of parts.
[/hide]
[hide=Move]
Move: Move is probably the most commonly used tool on ZModeler. To use it, select the 'Move' tool on the list. As with many of the other tools, it can be used on objects, polygons, lines, and points. Be sure to check the 'Editing levels toolbar' to see which level you want to edit. Also check 'Auto' and 'Selected Mode' features to make sure they will provide the right function. Keep in mind you can move objects in certain directions (X, Y, or Z), refer to the Coordinate System section if you forgot this.
[/hide]
[hide=Rotate]
Rotate: Another commonly used tool is the 'Rotate' tool. This is used just like the 'Move' tool. You can rotate objects, polygons, edges, and points. I use the 'Rotate' tool most commonly when UV Mapping (explained later in this section).

The main thing to remember when using the 'Rotate' tool is the center about which it rotates. This center point shows up as a little purple X on the screen. This next tutorial should prove the point. Let's say I want to rotate this Box around the lower left corner of it:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/rotate1_zpsaab7dbd6.png)

Notice the little purple X on the screen. Use the 'Move' tool to move it to the lower left corner of the box. This will make the box pivot around this corner. It should look like this once you move the Purple X to the right location:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/rotate2_zpsaceabf36.png)

Now hold the left mouse button and click on the object to rotate it to the required angle. The result is this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/rotate3_zpscd931c24.png)
[/hide]
[hide=Scale]
Scale: By using the 'Scale' tool, you can make objects bigger or smaller. This tool is pretty easy to use; Just select the tool and hold left mouse button and drag the mouse over the object. Keep in mind you can scale in any direction you want. This tool is an absolute MUST for UV Mapping.
[/hide]
[hide=Submesh Tools]
There are a few different tools under the 'Submesh' category. The most important is probably the 'Detach' tool. There is a pretty good example of detaching a part here: http://www.forum.convoytrucking.net/index.php/topic,39431.msg227020.html#msg227020
[/hide]
[/hide]
==================
[hide=Select]
Select
Selection tools give the user options for selecting objects, polygons, edges, or points on objects. A lot of these tools are extremely useful and should never be forgotten. They may not be used very often, but some of them will get you out of a pinch.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/select_zps024732f3.png)

There are only a few tools from the list that I use on a regular basis. They are: invert, polyline, and [By Material].

[hide=Invert]
Invert: It selects the opposite of what is currently selected. Let's say you have an object that has 500 polygons and you want to select all but 5 of those polygons. It is faster to first select those 5 polygons then use this 'Invert' selection tool to flip the selection so the other 495 polygons are selected.
[/hide]
[hide=polyline]
Polyline: By using 'Polyline' selection, you can draw a complex shape around the points, edges, or polygons you want to select. Here is another example. Here I have a cone like this:
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/poly1_zps0ccc332e.png)

I want to select only the 3 polygons in the upper right side of the cone. To do this, select 'Polyline' selection and right click multiple times to create the selection pattern. Be sure to close off the selection by right clicking back to the start point. It should look something like this (the blue dotted line is the selection line):
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/poly2_zpscc420241.png)

[/hide]
[hide=By Material]
[By Material]: This tool lets you select polygons by the material in which they are textured. The main thing to remember is that you MUST be in the polygon editing level in order to use this tool. To begin using the tool, enter polygon editing level and click on whatever object you wish to edit. Next, click the '[By Material]' selection tool. A menu will show up with a list of all the materials that are used on the mod. Select the material you wish to select on the object, and select 'OK'.

This tool is extremely useful in retexturing a mod.
[/hide]

Unfinished section!
[/hide]
==================
[hide=Surface]
Surface
The surface tools all pertain to texturing of objects in ZM.
(http://i1059.photobucket.com/albums/t437/RubberofCVT/Random%20GTA%20SA%20screenshots/surface_zps141dc689.png)

Unfinished section!
[/hide]