Home Technical Talk

Texturing a road with a tile

polycounter lvl 17
Offline / Send Message
Baddcog polycounter lvl 17
Working on a map for Zero Gear. I'm sure you're all familiar with it from the pimping thread.

Anyway, just having fun working on a different style project than I've ever done before. Building complete game level geometry in Max has it's own unique challenges. The one that's really getting me now is getting a good texture (with as little work as possible) on my road.

Basically I'm just using one 256x256 tex with white lines on side and 3 yellow stripes in middle.

I uvw mapped it using 'faces', then went around using unwrap and rotated misalignd tris 90* so they'd line up. I haven't done any fine tuning but it got me a basicaly layout pretty quick. As you can see (looking at yellow lines) I still need to go back and do some manual alignment. I thought about getting rid of yellow lines so it wouldn't be as noticable, but I think in game when you are down close to pave it will be easy to see mis-alignment anyway.

TikiIsland.jpg

I'm just wondering how you guys would've gone about textureing the road with one tiledable tex.

Replies

  • oobersli
    Offline / Send Message
    oobersli polycounter lvl 19
    dunno if it would be any faster for you, but I would have made the road with the line tool, enabled box geometry and generate mapping coords. so you just have to scale your uv's in one direction rather than having to rotate faces and whatnot.
  • rube
    Offline / Send Message
    rube polycounter lvl 19
    I think I'm going to say bascially the same thing as Oobersli.. but when we did a racing game at work what we did for the track was make a spline and then make a profile of the road and side wall and just extrude it along the path.. it automatically UVs itself that way and it's easy to tweak.
  • Baddcog
    Offline / Send Message
    Baddcog polycounter lvl 17
    Right on, thanks guys.

    I made my road with the lines tool, drew the outside, then drew inside, connected...

    I might try doing it that way too. Gotta redo it but it should tex better and it's good practice. Thanks for the tip :)

    --Edit., yeah working like a charm :)
  • Joshua Stubbles
    Offline / Send Message
    Joshua Stubbles polycounter lvl 20
    Also, to get more fidelity out of the road, you should try several textures. One main asphalt that can tile in both directions, then you can overlay polys for the white and yellow stripes, using their own small textures.
  • Baddcog
    Offline / Send Message
    Baddcog polycounter lvl 17
    I'll keep that in mind. I redid the road as suggested and it came out pretty good.

    It'll probably be awhile before I get to try it in game so I'm gonna leave it as is now and finish up the rest.
  • AndrewRH
    Offline / Send Message
    AndrewRH polycounter lvl 16
    I heard that 3ds max 9 has a new spline uv tool... dunno if that helps :)
  • Baddcog
    Offline / Send Message
    Baddcog polycounter lvl 17
    No, not really ;)

    I don't even have pelt tools :(
    But I did find a link to a good freeware pelting tool for max,maya (and XSI I believe), gonna try that tommorrow.
Sign In or Register to comment.