Brushes not staying lined up after compile

Discussion in 'Mapping Questions & Discussion' started by Pocket, Jan 1, 2010.

  1. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    So I've got a really weird problem. I had just discovered that arches and cylinders always snap to the grid, which of course makes manipulating them a lot easier than I had thought, so I thought I'd try making a simple spiral staircase with a smooth underside. After a lot of messing around with vertex editing, I had something that looked perfectly fine in Hammer but, when I compiled, suddenly broke up into a jaggedy surface, thusly:

    [​IMG]

    And I'm like, WTF mate? All four corners of each step line up with the grid just fine, so it can't be that. (And yes, I did turn the steps into func_details, not that it's relevant.) And there's no unusual slowness to the compiling process or errors. So what is causing the compiler to choke on the coordinates of the steps so badly?
     
  2. pitto

    pitto L3: Member

    Messages:
    109
    Positive Ratings:
    73
    I think the problem is because each underside face of the step has four points, and these points are not co-planar (cannot make a flat plane through all four)

    Really a spiral stair case would be best done using a model, however if you really want to use brushes you could try cutting each step along the diagonal so the underside faces are all triangles. Since there is always a flat plane through 3 points it should work, however I would expect that you could end up with odd lighting.
     
    • Thanks Thanks x 1
  3. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    223
    Try alt+p. By the looks of it hammer will probably say that those solids are invalid, and if you click fix they will end up like they do ingame. I would suggest trying what Pitto said, but if it still fails, you may need to use a model, scrap the idea or just make do with what you get.
     
  4. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    I noticed that they say to do that, for like ramps and stuff, and couldn't figure out why; in Hammer the shading is vague enough that they looked perfectly solid so I didn't bother. I'll be trying that and it will probably work. Thanks!
     
    Last edited: Jan 1, 2010