Home Technical Talk

Modelling & Texturing Environments

polycounter lvl 10
Offline / Send Message
dale22x polycounter lvl 10
I've decided to learn to make environments but, I'm a bit unsure how to go about making them.

I'm doing this small toilet stall set to try and learn some of the techniques involved.


toilet.jpg

I understand how to make the objects in a scene (the toilet seat, toilet paper and whatever other props are going to be in there. BUT how do i go about making the walls? I could do it like i make any object. just model, map, and texture. Though that seems okay for just this, but if i were to do the entire washroom it sounds pretty silly. This is sort of the method I used for a set i had to do for school.(image below) all the walls of the tavern were mapped and textured like I texture any other model.


tavern01.jpg

considering the level of detail that is present in just one brick, i assume most games usually use tiled textures for walls. However they still manage to get different looking strains and cracks on them.

So, how exactly should I be going about doing this.


I've been unable to find any tutorials on making an environment like the millions of ones showing workflows for making characters, cars or other objects. If someone knows of one , please share =)

SLS_Unreal3_Floor_01.jpg

Replies

  • Kawe
    Offline / Send Message
    Kawe polycounter lvl 8
    I think it is about knowing the scene. What will be seen and what won't be seen? It's not just where the character will walk around.. but what areas are in shadow? A shadowed object barely needs texture.

    As you said most games use tileable textures and there are many different methods to break up the repetition. One of the "older" ways is using vertex coloring. There's also multitexturing for some games as well as just using light and shadows to break it up. Another way of breaking things up is using geometry. Like putting a modeled brick sticking out of the textured brick wall.. or just putting planes with a dirt texture hovering right above the ground.

    Depending on the tileable texture you could also play around with flipping and rotating the UVs.

    Uhm.. well.. I dont know all the tricks but there sure are plenty.

    For unreal they like to use multiple normal maps. First they have a "real" normal map that fits the texture and then they have this "dirt normal map" that gets apparent when you get closer. If you can get your hands on Unreal Tournament 3 or Gears of War you can check it out in the editor that comes along with the game.
  • Jonathan
    If you're referring to the detail normal map, then yes, it helps pretty well. Be sure to remove the blue channel by multiplying a vector-3/RGB set to 1,1,0 with the detail normal map, and tile it with a "Texture Coordinate" and finally add the regular normal map and detail normal map with an "Add" node.

    Also, there's less and less BSP/CGS (whatever the editor you're working with calls basic building blocks) in games these days, so more and more items are actual 3d meshes than editor-based "building blocks."
  • Eric Chadwick
  • warby
    Offline / Send Message
    warby polycounter lvl 16
    the answers provided are allready pretty good the one i am missing that i think is the most common is " DECALS " :)
  • Mark Dygert
    Also, trim everything, it helps you to hide seams and provides breaks for you to insert different tiles. Also use wire bundles, pipes, support beams, light fixtures and vents to hide seams.

    Crits about the scene:
    - Trim the brick edge on the right you can't expect maps to handle sharp corners like that. Sure you can pack on some pretty expensive maps that will help, or you can just slap some trim on it or turn that corner into a support beam that runs floor to ceiling. Considering it looks like stairs are running up that wall? As good as any place for a major support beam.

    - The 1950's retro beer poster, has to go. Too clean, wrong era. There are a lot of things you can stick on the walls to give the place character.

    - The support beam in the corner, is next to a "painted into the texture" support beam, looks bad and doesn't make sense from a construction stand point. There needs to be more beams at regular places, 2nd floors don't hold themselves up.

    - Spend some polys on the support beams on the ceiling it will help to close in the space and add some detail and very little cost.
  • Eric Chadwick
  • dale22x
    Offline / Send Message
    dale22x polycounter lvl 10
    hey guys, this is all really helpful.

    i picked up ut3 yesterday and looked around in the editor a bit...some of tile textures are confusing..but i'll figure it out....


    oh and vig, thanks alot for the crits on the tavern. But thats jsut a really old set i made. I'm working on the washroom stall right now. it might be easier for me to work with something a bit smaller.


    anyhow, i've started working on it...i'll post my progress soon.

    OH,...and guys....i was thinking...i would make the set more or less inside max,...and then pretty much transfer it part by part into unreal.....

    is that a logical aproach to this or is it normally done differently
  • Mark Dygert
    It's pretty standard to build modularly. Instance things where you can and reuse pieces. For example the stall walls could be one prop copied to both sides or a few times to fill out an entire bath room.

    To get some difference out of them you can texture each side uniquely and build the piece symmetrical and that way you will be able to flip it and get a different facing texture to break up the repetition.

    2 walls makes 4 unique looking walls ect... Think about doing this with other pieces that have faces that face the walls, like support beams. It will help cut down on textures and props you use. Hope that helps sorry if that seemed really obvious already its often over looked.
  • Eric Chadwick
    okkun let me post his quickie bathroom tile tutorial to the wiki. It might help you out.
    http://wiki.polycount.net/3D_Tutorials/Modeling_Bathroom_Tiles
  • Ryno
    Offline / Send Message
    Ryno polycounter lvl 15
    You'll need at least two UV sets for variation. A very simple method is to tile your texture on your first UV set, but not to use too much grime in it. Then create a grime texture which will be used as an overlay, put that on your second UV set, and make sure it tiles at a different interval.

    If you want to get more involved with breaking up repetition in the original diffuse/spec/normal, you could use the grime pass in conjunction with the following:

    Make 2 wall textures that line up fairly well, but with different details in different areas. (Darker bricks in different spots, different chips, some grime). Then create a random black and white mask texture.

    Create 2 UV sets. The first is for your brick textures. Let's say you scale the 1st set of UVs so that a 10 meter expanse gets the brick texture(s) repeated 5 times.

    Now set up a second UV set for the mask, and scale the UVs so that it tiles at a different preferrably odd/fractional interval. Maybe something like 6.5 repetitions per 10 meters should work. In your shader, hook up the two diffuse/spec/normal materials, as a composite/blend type material, and use the black and white image to mask between them. So brick texture 1 will be displayed where the black is, and brick texture 2 where the white is. Since the mask and the diffuse/spec/normal (DSM) maps tile at different intervals, you shouldn't see details popping up at even intervals with the DSM maps as they are being masked in and out between the two sets.

    If you wanted to get ambitious and add a third UV channel for grime at a different tiling interval, it would be tough to notice any tiling repetition. But your shader would also be getting fairly expensive. I'd only use this on very large surfaces such as terrain or really massive walls.
Sign In or Register to comment.