Introduction. There are two basic ways to apply more than one texture to one object:

Similar documents
An Approach to Content Creation for Trainz

Tutorial: How to make low poly car. By Jirayu Tanabodee

Auto Texture Tiling Tool

SketchUp Tool Basics

A Guide to Autodesk Maya 2015

Tutorial 4: Texture Mapping Techniques

We can use square dot paper to draw each view (top, front, and sides) of the three dimensional objects:

Introduction to Google SketchUp

This view is called User Persp - perspective. It's good for rendering, but not for editing. Ortho will be better.

Auto Texture Tiling Tool

SketchUp Starting Up The first thing you must do is select a template.

Brief 3ds max Shaping Tutorial

3ds Max Cottage Step 1. Always start out by setting up units: We re going with this setup as we will round everything off to one inch.

An Approach to Content Creation for Trainz

Designing Simple Buildings

Beginning Paint 3D A Step by Step Tutorial. By Len Nasman

ROTOSCOPING AND MATTE PAINTING In Blender v2.48a

Tools for Asset Repair by PEV. Images2TGA Revision 1.2 to suit Images2TGA Version Introduction. What Can Images2TGA Do? 25 Septembert 2012

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 1 The Blender Interface and Basic Shapes

Textures and UV Mapping in Blender

Troubleshooting in Microsoft Excel 2002

Polygon Modeling Basics Chapter 1 - Vertices

Quick Start Guide to using Light Converse along with Pangolin LD2000 and BEYOND

A Guide to Processing Photos into 3D Models Using Agisoft PhotoScan

Introduction To Inkscape Creating Custom Graphics For Websites, Displays & Lessons

Introduction to SolidWorks Basics Materials Tech. Wood

Modeling Level Design

Blender Lesson Ceramic Bowl

Basic Tutorials Series: Apply Products. RenoWorks Support Team Document #HWPRO0006

SketchUp. SketchUp. Google SketchUp. Using SketchUp. The Tool Set

Week 1 The Blender Interface and Basic Shapes

Lesson 11. Polygonal Spaceship

Open Blender and click anywhere to remove the Splash Screen.

SmartArt Office 2007

Creating a New Plan File

Caustics - Mental Ray

Translating your CAD Model to a VRML Model

Tutorial How to Remap Carth's eyelashes :D

Setting Up Gmax. by Vulcan - Tuesday, September 27, Setting Up Gmax - Initial Settings.

UV Mapping to avoid texture flaws and enable proper shading

Arrows and Watermark

lundi 7 janvier 2002 Blender: tutorial: Building a Castle Page: 1

Reference Image. Source:

Photography by Christina Sizemore. Mudbox Hotkeys

AUTODESK FUSION 360 Designing a RC Car Body

Lesson 6 Adding Graphics

Rock Tutorial: Creating A Rock Like Seen In Gears Of War With A Focus On Normal

Gmax Terrain Tutorial

1. Open PowerPoint and you will see the introductory screen that contains different themes and templates. From the selection displayed, choose Slice.

Instructions for Importing the Color Books. [3DS Max, AutoCAD, Google SketchUp, Photosho] 3DS MAX Installation Process

Introduction to Flash - Creating a Motion Tween

UDK Basics Textures and Material Setup

To build shapes from scratch, use the tools are the far right of the top tool bar. These

manual 3D STELL WERK.COM

Computer Essentials Session 1 Lesson Plan

TUTORIAL 03: RHINO DRAWING & ORGANIZATIONAL AIDS. By Jeremy L Roh, Professor of Digital Methods I UNC Charlotte s School of Architecture

This lesson introduces Blender, covering the tools and concepts necessary to set up a minimal scene in virtual 3D space.

Working with the Dope Sheet Editor to speed up animation and reverse time.

Microsoft Excel 2007 Creating a XY Scatter Chart

Chapter 4 Determining Cell Size

LAB 09 Create the Building Block Model

How to Create Greeting Cards using LibreOffice Draw

Autodesk Inventor - Basics Tutorial Exercise 1

Split the 3D Editor Viewport

2.2 - Layouts. Bforartists Reference Manual - Copyright - This page is Public Domain

ILLUSTRATOR. Introduction to Adobe Illustrator. You will;

Apple Modelling Tutorial

Creating Interactive PDF Forms

QUICK START USER MANUAL

3 Polygonal Modeling. Getting Started with Maya 103

SOLIDWORKS: Lesson 1 - Basics and Modeling. Introduction to Robotics

Let s Make a Front Panel using FrontCAD

Photoshop tutorial: Final Product in Photoshop:

It is a good idea to practice View Control tools for 5 minutes at the start of every 3D session, before doing any other work.

BRYCE 5 Mini Tutorial

LESSON 2 MODELING BASICS

Chapter 6 Formatting Graphic Objects

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

Part II: Creating Visio Drawings

Mastering Truspace 7

Creating a Text Frame. Create a Table and Type Text. Pointer Tool Text Tool Table Tool Word Art Tool

BASICS OF PIXLR EDITOR

Transforming Objects and Components

All textures produced with Texture Maker. Not Applicable. Beginner.

PLAY VIDEO. Fences can be any shape from a simple rectangle to a multisided polygon, even a circle.

BSc Computing Year 3 Graphics Programming 3D Maze Room Assignment Two. by Richard M. Mann:

User Interface Guide

Spiky Sphere. Finding the Sphere tool. Your first sphere

Wizard PDS. Automated Perimeter Definition System. January Education and Training Center Wizard Date 5/4/2016. Page 1

Animation Basics. Learning Objectives

Excel 2013 Intermediate

Unit 21 - Creating a Navigation Bar in Macromedia Fireworks

Tutorial: Understanding the Lumberyard Interface

Firstly, I would like to thank ProFantasy for hosting this tutorial on the RPGMaps Blog. Thank you!

Select, Move, Rotate and Scale

Photocopiable/digital resources may only be copied by the purchasing institution on a single site and for their own use ZigZag Education, 2013

The Villa Savoye ( ), Poisy, Paris.

Fig. A. Fig. B. Fig. 1. Fig. 2. Fig. 3 Fig. 4

VLSI Lab Tutorial 3. Virtuoso Layout Editing Introduction

RadianceIES: Radiance Images

Transcription:

Introduction For recent versions of Trainz, gmax will not handle the standards for new material types and options such as Specular and Bump or Normal mapping. The Trainz forum has published techniques to update gmax capabilities, and PEV is developing a plugin to implement the new standards and possibilities, which may prove useful. Nevertheless, models made using the basic gmax 1.2 are still suitable for, and function in Trainz TS12. Mapping a texture to an object for use in Trainz is not difficult. I assume you have some knowledge of creating basic objects in gmax, and will concentrate on mapping two different textures to a building object. The texture for the roof will be tiled, and the wall textures are taken from a complete texture file for the building, selecting relevant parts for the walls. You would make these textures in Paint Shop Pro or Photoshop, to the correct recommended size, and save them as tga files. There are two basic ways to apply more than one texture to one object: 1. Using standard materials as separate materials, applied and mapped to specific surfaces. 2. Making a multi-material and designating each face of the object with an ID that identifies the sub material to be applied.

Part 1: Standard Materials This part will cover the first option, using a material for the sides using the Unwrap UVW modifier, and a different roofing material that will be tiled, using the UVW Map modifier. 1. First make a box on the origin, two segments high. In the front view move the top vertices together on to the Y axis, and weld them together to make a pitched roof. 2. Open the Material Editor 3. Select New. 4. Select Standard. 5. Select OK.

You can now choose a material to load in the dialogue screen that opens. 6. Double click in the black Bitmap square to open the file menu. 7. Find and select the wall texture. 8. Click Open to load into the editor.

The Material Editor should still be open. 9. While you should name the material (instead of the Map #6), to be easier to recognise later, I have found that immediately typing in a name now, often crashes gmax, and it has to be reloaded. Come back later and name the material. 10. With the model building selected, click on the Apply button. 11. Click the blue and white cube so the texture will show on the model.

12. The building is showing wire frame mode, so press F3 to show the basic brown on the object (true texture will show when mapped). 13. Press the up arrow to expose the top level Material Editor. 14. You can click the 2 sided button if that is required. 15. If you need to go back to the material for reloading etc, click the M button, (our material has been loaded into the Diffuse slot).

16. The Material Editor is still open so press the New button for the second texture, while the screen will change to show a blank orb and Mtl #2 in my case, it did not open the black Bitmap box, it happens. 17. Click the square button to the right of the Diffuse, to open the bitmap load box. 18. Double click in the black Bitmap square to open the file menu (see steps 6 to 8 above). 19. Find and select the roof texture. 20. Click Open to load into the editor. Do not apply this texture to the building at this time.

21. Open the Navigator to check the loaded textures 22. It will likely show no materials, just some standard symbols. Click the Entire button to show all the loaded Materials. 23. Notice I have now named the wall material wall, and the [building] at the end of the name says it has been Applied to our building. 24. I have not named the roofing material yet (Mtl #2) nor applied it.

I applied the wall texture to the whole building first, because it has the most surfaces (walls). Time to map the texture. 25. Select the building and then the Modifier menu. 26. Open the Unwrap UVW modifier immediately the building should show the texture on all faces. 27. Click the plus sign on the Unwrap UVW heading to expose the Select Face option.

28. Click the Select Face button. 29. Click on one side face of the building - press F2 to show the selection in red to verify. 30. Click Planar Map. 31. Click Edit, the Edit UVW screen opens. 32. Click the triangle at the bottom (to Red) to limit the vertices showing to only the surface selected.

The corner vertices of the wall have been selected and show red, we need to select a pair of vertices at a time and drag them around until they surround the part of the wall we require for the side wall. 33. Drag the mouse around the two vertical ones on the right, to select them. 34. Select the Move tool from the Edit UVWs screen, hold the shift key down and place the mouse pointer over one of these vertices, drag it sideways to where we want it because we initially selected two, they both follow the movement. The Shift key makes them move orthogonally - horizontally in this case, (the first direction of movement of the mouse). 35. Drag the mouse around the bottom two vertices, hold the Shift key and push them up the page as before.

36. Close or iconise the screen to the bottom task bar for the time being. 37. Press F2 to turn the wall from red to normal texture and we can see the selected part is now showing on the wall. 38. To do more walls, press the Select Face and repeat all the above steps, 29 to 37. 39. When the walls are finished, you can Collapse the modifier. Right click on the Unwrap UVW and select Collapse All.

If we have to re-open it later, the mapping co-ordinates we have just determined will be preserved, the textures will appear on the walls just as we left them. Don't forget to periodically save the work, increment on save is useful. Time to place the roof texture and map it using the other modifier, UVW Map. 40. Select the building. 41. Select the Modify menu if not already open. 42. Expand the Editable mesh view so we can choose the Polygon sub object. 43. Click on one of the roof slopes, and press F2 to verify this selection. Press F2 off.

44. Open the Material Editor and the Navigator. 45. If the last added texture (the custom_orb) is not showing in the Editor, double click the material orb in the Navigator, it shows in the Editor. 46. In the Editor, click Apply. 47. Click the blue / white cube to show it on the roof panel. Note the texture covers the whole roof poly we selected, and corrugations run the wrong way. We can rotate the texture 90 degrees in PSP or PS and resave it, or we can deal with it in the Mapping process with a Gizmo. Note also the wall mapping is undisturbed by applying the texture to the selected roof face.

To make the mapping simple I will rotate the texture 90 degrees in PSP and resave it. Make sure it is saved as an uncompressed tga file. I will go back to the original orientation later and show how the Gizmo can correct the orientation in gmax, a bit more work. This rotation will make the tiling straightforward. The rotated texture should automatically be reloaded into the Editor. 48. If the rotated texture were not reloaded, open the Material Editor, make sure we have the correct material showing and press Reload. The grooves should now run down the roof.

49. Select the roof plane again if not already selected. 50. Click the UVW Map Modifier (for tiling). 51. Select the Box option this maps in the vert and horiz axees, not up the slope. 52. Type in some tile values in the U and V boxes, say 3 and 8. Work out how many horizontal tiles would suit the building and the corrugation sizes, try not to just guess. The vertical tiles of three would show up well if the bottom edge of the tile (sheet) were dirty or rusty. 53. Collapse the modifier when finished if you re-open it later, the mapping info will be lost, so get it right, and make a note of the values for later use if necessary. We have applied two textures to the building, and mapped them using different modifiers. We should explore the problem when the grooves run the wrong way. You might have easily used the texture on a number of surfaces as above, and then find that you have an end surface that runs the wrong way. Rotating the texture in PSP or PS now would destroy the earlier work. For this example, so I do not destroy the existing roof we have mapped, I will rotate the texture back, in PSP or PS, colour it differently and give it a different name. I have added some dirt on the bottom of the sheet so the sheet ends show on the roof. The new material will need to be loaded into the Material Editor as the third texture. Follow the same steps above to do this.

I will place it on the other sloping roof face and map it. Again, 54. Select the building. 55. Select the Modify menu if not already open. 56. Expand the Editable mesh view so we can choose the Polygon sub object. 57. Click on the second roof slope, and press F2 to verify this selection. Press F2 off. 58. Click the UVW Map Modifier (for tiling). 59. Select the Box option this maps in the vert and horiz axees, not up the slope, all these steps as above. 60. Click on the plus sign in the UVW Mapping name to expose the Gizmo name. Click on this name (goes blue). 61. You will see a yellow box surrounding the roof plane showing the gizmo is active. 62. At the top menu, select the Rotate tool, we will rotate the Gizmo 90 degrees. 63. At the bottom menu line, select the angle snap tool. 64. Go to the Top View. Make sure the Gizmo is still active (blue name and yellow box) otherwise we will be rotating the object not the mapping Gizmo and texture. 65. Place the cursor over the centroid of the box, it will change to a rotating symbol because of step 62 above. Left click and hold and drag away from the centroid, so the yellow box rotates, release when it rotates 90 degrees, the angle snap toggle we chose makes this easy to achieve, verify the angle value in the bottom co-ordinate box. 66. At the top menu, left click on the Scale symbol and hold down until the non uniform scale symbols show, choose the middle of the three. This allows us to scale on the X and Y axis separately, so we can make the yellow box again surround the roof shape.

67. With the non uniform scale tool chosen (66 above) place the cursor over the green Y axis and the cursor changes shape. 68. Left click and hold down, and drag the mouse up or down the page until the yellow box touches the top and bottom edges of the roof line. 69. Place the cursor over the red arrow as before. 70. Left click and hold down, and drag the mouse up or down the page until the yellow box touches the sides of the roof line. You can drag or push the cursor up or down the page to rescale the yellow box, and if it goes off the top, it will re-appear down the bottom. If you do this in one push, you can read the correct scale change percentages in the

bottom co-ordinate boxes. If you raise the mouse halfway through and replace it down on the page to continue, you loose the absolute value of the scaling in the co-ordinate box. 71. Now go to the tile box and enter in the tiling values, but note that because we have rotated the texture using the Gizmo, the U and V values have flipped (U and V are the local axees of the Gizmo plane, and they rotate with the plane, unlike the global axees X, Y, Z which are constant. Collapse the modifier when satisfied, remember if you reopen it, you will have to start again with the gizmo rotation and scaling, so write the values down. You could have left the gizmo alone after rotating it (not rescaling to fit) and guessed tile value to type in, the yellow box is of course in the ratio of the sides, so you can mathematically work out the correct values.

Part 2: Using Multi-materials and Material IDS Make a new box and load the Materials into the Material Editor using the following. 1. Select New to open the material type box. 2. Select Multi-Material 3. Click OK A new screen showing the default settings for the materials will open.

5. The default number of materials is 2, you can change this for more. 6. Two materials are at present unnamed, with material ID 1 and 2 to the left. 7. Open the Navigator and choose Entire to show the materials. 8. Find the new Multi-Material, two blank slots are shown for the new standard materials.

Now load the first material as ID 1. 9. Double click on the orb for Mtl #0 to open the Editor at the correct level to load the wall material. 10. Click the square button to the right of the Diffuse label to open the Bitmap load box. 11. Double click the black square of the Bitmap. 12. Select the file for the wall. 13. Select Open to load it note the following image is a composite from different screens.

Now to load the second material as ID 2. 14. In the Navigator, click the orb of the Multi-Material to show the following screens. 15. Mtl #0 has the material Mtl #11 loaded as the wall. 16. This material now shows in the ID 1 slot of the Editor, note ID 2 is still blank. 17. Double click the orb of Mtl #1 in the Navigator to open the Editor at the correct page to load the correct material. 18. Repeat the above steps 10 to 13 to load the second material as ID 2. The two materials are now loaded for the model.

19. Select the building and make sure the Editor is still on the top level (screen above), the Multi-Material. 20. Click on the Apply button to place both materials on the building at the same time. 21. Notice that the Show button (blue /white cube) is not active, we need to select each material and Show separately. 22. Double click on the orb in the Navigator for Mtl #0, and Select the Show button (21) in the Editor. You will notice that the blue orb next to the Mtl #0 will change from blue to red when the Show button is activated. This tells you if a material show be showing on an object. 23. Repeat step 22 above for the second material, Mtl #1. In the following picture I have named the materials, the Multi-Material is called Composite material, the sub materials are Wall and Roof.

Select the new box and convert it to an editable mesh, delete the floor poly as not needed. We need to allocate material Ids to each of the surfaces, to match the wall and roof material. Scroll the Modifier menu upwards to expose the Material ID selections. 24. Select all the wall polys of the box, and use the F2 key to verify selections. 25. Type in 1 in the material ID box for the walls, press Enter. 26. Select the roof polys, and type in 2 in the material ID box.

We have now allocated the correct IDs, and notice how the roof takes on a green shade and the walls a brown one. The correct textures will appear after mapping is complete. Select the box and in the Modify menu select the Unwrap UVW modifier. Notice how the texture now appears. Map the walls using this modifier, just as we did in Part 1 of this tutorial, and collapse the modifier.

Select one of the roof polys and open the UVW Map modifier, and tile the roof as in Part 1 of the tutorial, using the Gizmo if needed, collapse the modifier, then do the second roof poly. You should be able to finish the mapping. The use of Multi-Materials can save slots in the Navigator. You will have noticed that after using a lot of standard materials, the Navigator combines them into different Multi- Materials, and you end up with many entries to sort in the Navigator for later selection. Material IDs can be used to select polys quickly, for instance: 27. Click the Select by ID button. 28. Type in 1 and click OK, because the F2 key was on, all the walls show red as selected. Summary We have mapped the building using two different materials, and using two techniques for combining materials. Once you have practiced the procedures a few times you will find the mapping quite easy to do. Ian Manion (Vulcan) May 2008 Amendment Notes and Comments 19/05/08 Initial issue. 26 September 2011 updated.