UV Mapping

edited December 1969 in Carrara Discussion

I want to take a cube and turn it into a building. I have the Pictures of each side of the building. I need a good tutorial to create a custom map. I have 2 Phill W tutorials but I was looking for a simple way to unfold the cube. Anyone with a good idea.

Comments

  • evilproducerevilproducer Posts: 9,040
    edited December 1969

    Shell1850 said:
    I want to take a cube and turn it into a building. I have the Pictures of each side of the building. I need a good tutorial to create a custom map. I have 2 Phill W tutorials but I was looking for a simple way to unfold the cube. Anyone with a good idea.


    I haven't seen the tutorials, but people seem to like his style and what he covers. Is there a reason that the tutorial is too complex?

  • edited December 1969

    From what I understand, a cube should unfold in the shape of a cross. Best I can do is get 6 cubes in a row.

  • JoeMamma2000JoeMamma2000 Posts: 2,615
    edited December 1969

    Any object can unwrap in any way you want it. There are built-in automatic unwrapping modes, but you can also do it custom, any way you want. I would suggest reading a book on the basics which covers UV unwrapping, because you're going to have to understand "seams" and other stuff if you want to do what you are suggesting.

    Another option I suppose so you don't have to worry about that, since you're doing a simple cube shaped building, is to make 5 separate polygons, arrange them in a cube, group them, and UV each one individually with the different images.

  • HeadwaxHeadwax Posts: 9,921
    edited December 1969

    hi shell sorry don't have car on this laptop, if you look hard enough in the uv map area (right hand corner of vertex room when uv map selected) you may find an option to export the map.

    So select all the verticie of your object, choose box uv mapping - and export the uvmap, open it in photoshop, put some numbetrs on it and bring it back into carrara so you kknow what side is what number, -

    then in photoshop add your real textures to this uvmap , if you take your original exported uvmap as the top layer and turn the parameter to 'multiply' you will see where the boundaries of the map are.... sounds like mud eh ? :)

  • WendyLuvsCatzWendyLuvsCatz Posts: 37,711
    edited December 1969

    if you select relax uv's and or unwrap (I am never sure, I prob should read the manual lol!) you can lassoo the sides and drag them around, resize and rotate
    you can also move single points.
    I am no uv guru, pretty ignorant actually but I have done this to fit photos to objects like leaves etc, also done a little bit retexturing clothes with images (nothing too complex, as I said, I am pretty ignorant!)

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    You want to unfold a simple cube in across form?

    1. In UV mode, select all the faces
    2. Select the model tab and change the default to custom
    3. Select the edges as shown in my pic
    4. Select the unfold tab, make sure it is in seams mode, hit the plus sign and hit unfold. Done.
    5. If the UV map doesn't fit on the grid, go to the operation tab and hit fit
    6. You can box-select all the verts in the map and rotate to suit.
    7. Go to the display tab and export the UV map.
    8. If you are having trouble identifying which part of the map in you 2d app matches which face on the model, have Carrara open with the model in the VM, select a face on the model, note which face on the UV map is highlighted and orient yourself.

    I see you want to make a house from the cube - that probably means cutting in new edges and some extruding? Be aware that this will mess up the UV's - do the mapping when you are finished modelling.

    Hope this helps to set you off on the right track.:-)

    CUV.jpg
    800 x 733 - 31K
  • edited December 1969

    Thank you. :-)

    Trouble with this program there so many steps to do something. That means it is more versatile. The learning curve is steep.

  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    Hi Shell1850 :)

    for future reference,.. In the UV Mapping section,. under "operations", there are three basic options for box mapping.
    (See pic)

    You can also "export" the flattened wire-frame layout as an image which you can use as a template to build your texture map.

    One other thing to note is that the simple Box mapping layout may reduce your ability to texture a large building with high detail,..
    As an alternative method,. you could define each side of the building as a separate shading domain, and use Flat mapping on each side.
    this gives you a larger working texture area.

    You should also consider making individual levels or "floors", so that each floor can be textured separately.

    Hope it helps :)

    Boxmapping.jpg
    800 x 718 - 91K
  • WendyLuvsCatzWendyLuvsCatz Posts: 37,711
    edited December 1969

    hi Andy %-P
    Shell, I am uploading a silly video I made NOW!
    will post link when done
    basically I boxed mapped a cube, selected one face at a time, relaxed uv's and dragged it to one side
    then resized each one and positioned each on different parts of a texture map which was a photo of lots of doors and windows on the side of a building
    can do lots of different really lowpoly houses using just the one texture this way
    been playing with this since Scifi funk asked a simillar thing a while back

  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    HI Wendy :)

    I had to take some time out due to family issues.

    Just thought I'd add to your good advice here :)

    Once you click the "Apply" option for the selected Box mapping layout,.. each of the faces / sections, should be detached, and can be moved around,.. so, you don't actually need to click "relax selected UV's" they should be movable once you click apply.

    Also, If you double click on an edge in the UV layout, it should select that face / section and then you can move it in the UV layout.

    Q: Why are you a troll now .. that doesn't seem right, unless trolls are now helpful and friendly.

    Andy :)

  • WendyLuvsCatzWendyLuvsCatz Posts: 37,711
    edited December 1969

    yeah, I never read the manual :red: for uv mapping! ;-P
    just trial and error mostly, I just found they tended to not want to detach, prob did not click apply properly, tend to lag esp using cam studio
    I have been "moderated" a fair bit and comments removed so I must be turning into a troll ;-P
    (added that at 1001posts)
    hope all is ok for you, we all missed you, a few of us have been trying to help others between trolling! :snake:

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Hey Andy, good to see you back - missed you around here

    Shell, if you think that is a lot of steps, wait till you really get into modelling - and not only in this app - they are all the same.

  • ds-mail_2e0cb9c256ds-mail_2e0cb9c256 Posts: 70
    edited December 1969

    Shell1850 said:
    I want to take a cube and turn it into a building. I have the Pictures of each side of the building. I need a good tutorial to create a custom map. I have 2 Phill W tutorials but I was looking for a simple way to unfold the cube. Anyone with a good idea.

    I'd suggest a completely different and I think easier method . . . don't use UV's, don't need to unfold; simply apply a texture (image) map to each side (and top if needed) using flat mapping as the shader

  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    Thanks Roy :)

    Good to be back :)

    Wendy, that explains things ,. I just noticed the "Forum Troll" is part of your pic LOL Doh !

  • edited December 1969

    Thanks everyone. A lot of good information to digest.

  • edited December 1969

    I am having success with unfolding a map of a cube.

    Next question is - How do I a apply UV mapping on a cube and only paint one surface. without affecting the other surfaces.

  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    HI Shell1850 :)

    When you UV Map a cube (a single object) then by default, the entire object is UV Mapped.

    When you apply a colour or texture maps to that cube, it will be applied to all of the cube, and any texture map, will be positioned according to the UV Mapping direction you specified.

    If you want to have "Different" shaders, applied to each of the sides of the cube, you would either create a set of "Shading domains" (one for each side of the cube) .. or, you could use a single shader and a texture map with different textures in the areas where each side is depending on the UV Mapping type and layout options you've selected.

    In the UV Mapping options for "box mapping", there are three layout options, ..Each of these "Layouts" will change the position of the flattened Cube "Wire-frame, in the UV Mapping grid.

    You can Export that flattened Wire-frame "layout" as an image, which can then be used as a "template" to position photo's or textures, to create a final "Texture Map", which can be applied to your Cube model. (see pic 1)

    In Carrara's shader room, you can also create a "layers list" shader, where each shader in the list can have different colours, values, or texture maps, and can be applied to the Cube using flat mapping which allows you to specify the placement of each shader
    EG: top, left, right, front, back, bottom. (see pic 2)

    Pic 3 shows Layers list,.. Multiple shaders on multiple domains, and a single texture map on a single shading domain.

    cube_mapping.jpg
    1164 x 749 - 128K
    layerslist_mapping.jpg
    939 x 610 - 106K
    UV_Layout_export.jpg
    1220 x 751 - 116K
  • edited December 1969

    Thanks 3DAGE

    I knew about Layers List but Flat Mapping is new.

  • MistaraMistara Posts: 38,675
    edited December 1969

    Flat mapping. That looks kewl

Sign In or Register to comment.