Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
-/TNT\-

Modelling and texturing roads

Recommended Posts

-/TNT\-

Hi everyone,

 

I decided to write my first tutorial. It will basically teach you how to make roads and texture them. Many people besides myself were looking for decent ways to do this. I wrote one.

 

You only need a 3d modeliing program (I use 3ds Max 5), this pic , and this texture.

user posted image and the texture user posted image

 

Part I

 

Step 1: What do you want your road to look like? Will it be a bridge? Will it be two sided? Will it be part of a highway? All these question you must ask yourself before making a road. In this tutorial we will make a part of a normal road. Make a top down view of the road. Like this: user posted image

 

Save this picture to the hard drive. Somewhere easy to go. This picture is only for a vague reference, the object will differ slightly. We will make a medium poly road so you it looks good and you admire it afterwards. The road has a curve in it so we can learn to model and texture it correctly.

 

1/5

Share this post


Link to post
Share on other sites
-/TNT\-

Load 3Ds Max

 

Activate the Snap Toggle and select and right click on it. On the window that appears, select Vertex and Grid Points.user posted image Now in the front viewport, zoom in until the viewport has a height of 15 squares and a length of 20. Then, select Shapes from the menu and Lineuser posted image. Check Corner on both and draw the following shape: user posted image

 

Go to the top viewport. Now, in Max press Alt+B to bring up the the Viewport Background menu. Press Files... and find the destination where you saved the picture. Press open and below select Match Bitmap and Lock Zoom /Pan. The picture will show up in the top viewport.user posted image

 

You select the shape in the top viewport and move it to the bottom of the picture, where the road starts. Position it as accurately as possible. You might need to scale it down so it fits exactly so use the Select and Uniform scale tool. user posted image You make it smaller and then reposition it so it fits:user posted imageuser posted image

 

Now right click on the shape in another viewport and select convert to poly from the convert to: menu user posted image. We want the poly to be facing to the rest of the road so we might have to select it and rotate it 90 degrees. To do that, use the Select and Rotate button on the toolbar:user posted image

You might not need to do this!

 

Select the shape and click the Absolute Mode Transform Type-In once.Now in the Z axis, type in 180:user posted image

 

That should do the trick.

 

Share this post


Link to post
Share on other sites
-/TNT\-

Modelling:

 

Select the shape. Then select the polygon sub-level:user posted image

 

Now hit the little square next to the extrude button. The poly will have changed somewhat. In the menu that appears, set the extrusion type to Group and the Height to 200. Press OK. The poly will know look like a part of a road:user posted image

 

Now extrude again. This time only by 15 units. As this will be part of the curve we are going to use lots of detail so when it is textured it will look nice.

 

Select and Rotate is the button you should click now. Select the poly at the end and rotate it 6,5 points. It should look like this:user posted image

 

Now repeat the same thing. Extrude poly by 15 and then rotate it Z: -6,5 (or 6,5). After you do it about 12 times, it shoud look like this:user posted image

 

Now to make the road curve the other way, we do the opposite. Extrude once and don't rotate. Extrude another time and rotate Z: 6,5 (or -6,5). After about 14 times it will look like this:user posted image

 

(as you see, it doesn't go accordingly to the reference pic, as the pic was just used as a vague ruler wink.gif )

 

Now extrude the poly about 190 units and rotate by Z: -0,95. Switch to border sub level. Select the last poly at the end of the model and press Cap. That should cover that with a surface too.user posted image

user posted image

 

 

 

The modelling part of this tutorial has finished, we will now move on to texturing.

Edited by -/TNT\-

Share this post


Link to post
Share on other sites
-/TNT\-

Texturing:

 

Open the Material Editor. Select a empty slot and set Glossiness to 0 and click the Lock Colors button which is between Diffuse and Specular. Then, click on the square next to Diffuse. A menu will show up. Select bitmap and navigate to the position where you saved the texture you downloaded. Now, drag the texture from the Material Editor to the object and click Show Map in Viewport. The texture will appear on the model, distorted of course but we are about to fix that.user posted image

 

 

 

Select the model. On the Modifier Tab/ Modifier List select Unwrap UVW. Now in the Unwrap UVW modifier stack select Face and then Edit:

 

A window will appear. There is where the texturing will take part. Bear with me.

 

The process:

 

If the window is maximized, restore it. Click Show Options... Set brightness to 100 and tiles to a number larger than 4. Now maximize.

 

In the Edit UVWs window select the entire model. Then, at the menu choose Mapping/ Normal Mapping and click OK. The weird heap of lines has become considerably more understandable. The top shape is the polies that are facing downwards and sideways and the bottom shape represents the polies which face upwards and front-back. We will start with the bottom shape so you see results quickly and are encouraged to continue wink.gif .

 

Share this post


Link to post
Share on other sites
-/TNT\-

Select the top shape and move it a bit upwards.user posted image

 

That is so we have room to spread out the second shape. Now, from the Tools menu, select Sketch Vertices and from the Align to drop down menu select Line. Then, click OK. Now the target is to select all the vertices at the top row of the bottom shape. Only the top line. So click and hold the mouse button down. Slowly guide the cursor over the vertices one by one. If you miss one you have to start over again as it will screw it up. The best way to do this is to zoom in a bit and take a rest when you feel wobbly. It might be annoying but you'll get there eventually.user posted image

 

When you select them all, leave the mouse button. It will turn into a pen. Now, above the top row, where the texture supposedly ends draw a straight line:user posted image

 

Don't worry if the first and last lines you intersect with other lines. That is because of the poly at the beggining and the end of the road.

 

Now you have to do the same with the three reamining rows of vertices. The second row goes right above the white line, the third row right below the white line after the road and the fourth line should be positioned at the end of the texture. Like this:user posted image

 

Now render the scene from the perspective viewport. It looks cool but the end an the beggining of the road looks stretched. That happened because they are big polygons and thus need more of the texture to appear correctly. So, select this poly:user posted image

 

Now click the Edit button to open up the Edit UVWs window. Move these vertices a bit to the right:user posted image

 

And do the same to the other poly at the end of the road, but this time move the vertices to the left. If you want you can now render your scene. The stretched textures have gone and the road looks good. Time to texture the bottom and the inside of the walls that surround the road.

 

 

Open the Edit UVWs window. Select all the top shape and move it so the largest part of it is on the cement part of the texture. Like this:user posted image

 

Now as it is the bottom part, we don't need to be so careful while texturing. I could easily tell you to just tuck all the vertices wihin the cement part and be done with it. However, we will make it look nice.

 

Now what you do is this. You select the vertices row, by row, rotate them so they are straight and place them on the grey part. Just repeat thet until it is finished. Like this:user posted image

 

Until you get here:user posted image

 

Be careful when selecting the vertices. Allways draw a box around them as there are on top of each other and you need to select both of them.

 

When you finish spreading out the verts, pull out the ones that belong to the first and last big poly at the bottom of the road. This is done so the textures aren't stretched.

Edited by -/TNT\-

Share this post


Link to post
Share on other sites
-/TNT\-

Render your scene.

user posted imageuser posted image

 

Admire your work.

 

Try to put it in-game.

 

Fail sad.gif

 

Clicky here.

 

Follow Wauzies tutorial.

 

Feel as if you've achieved something.

 

Forget to thank me.

 

I will cry cryani.gif

 

That's all!

 

 

 

-/TNT\-

 

Share this post


Link to post
Share on other sites
IntaFlex

Although I'll probably never use this tutorial, it still looks good. Congrats.

Share this post


Link to post
Share on other sites
-/TNT\-

Thanks, I really appreciate that as nobody has commented on the tut yet. It is the first one I have ever written.

Share this post


Link to post
Share on other sites
Mark

Liking it, the texturing bit is what people don't usually get, as people forget you can move faces individually in UVMapper smile.gif.

 

Standard UV Wrapping I guess, just more advanced than the average beginner modeller.

 

Lets see yer stuff in game sometime eh? tounge.gif

Share this post


Link to post
Share on other sites
-/TNT\-

 

Liking it, the texturing bit is what people don't usually get, as people forget you can move faces individually in UVMapper smile.gif.

 

Standard UV Wrapping I guess, just more advanced than the average beginner modeller.

Thanks for liking it.

 

 

The UV Unwrap technique although complicated, is still a different approach. I learned that technique the day I was writing the tut.

 

 

Lets see yer stuff in game sometime eh? tounge.gif

 

What stuff? wink.gif

 

edit: added some missing pics

Edited by -/TNT\-

Share this post


Link to post
Share on other sites
_F_

were to get this snap toggle???

Share this post


Link to post
Share on other sites
-/TNT\-

user posted image

There it is.

 

I'd advise you not to use this tutorial. I still don't know a lot about modelling but even with my small knowledge, it's a very bad tutorial. Check out xrk's if you really want to learn how to it. smile.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.