How to unite two or more brushes?

Discussion in 'Mapping Questions & Discussion' started by Rai4u[RU], Aug 7, 2016.

  1. Rai4u[RU]

    Rai4u[RU] L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    I have few brushes, but i want to make one brush from them. Grouping is only option?
     
  2. Idolon

    aa Idolon the worst admin

    Messages:
    1,520
    Positive Ratings:
    4,332
    I don't believe there's any way to truly merge brushes together other than grouping. Your best bet is to use vertex edit to modify one of your brushes so that it has the shape of both of them together - just make sure you don't end up with a concave shape as a result.

    I think you could merge brushes together by editing the .vmf in notepad - you'd just have to move the relevant face data from one brush into the other and delete the old brush - but that's a lot more work than your other options, and a lot more prone to failure. I'm curious to see if this would actually work, so I'll give it a shot and report back later.
     
  3. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    903
    Positive Ratings:
    1,458
    *cough*invalidsolids*cough*
     
    • Agree Agree x 1
  4. Idolon

    aa Idolon the worst admin

    Messages:
    1,520
    Positive Ratings:
    4,332
    It works!

     
    • Like Like x 6
    • Thanks Thanks x 3
  5. Rai4u[RU]

    Rai4u[RU] L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    Thanks, it help's me a lot. Shame it takes a lot of time :D
     
  6. I dinne ken

    aa I dinne ken The only non-furry on this site

    Messages:
    147
    Positive Ratings:
    167
    would it do anything for optimisation?
     
  7. Idolon

    aa Idolon the worst admin

    Messages:
    1,520
    Positive Ratings:
    4,332
    Lowering your brush count is mostly useful if you're getting near the brush limit. I don't know what kind of performance impact having fewer brushes would actually have, since it's all rendered as triangles anyways, and Source will probably cull any interior faces that would be eliminated by merging brushes. It totally depends on a situational basis, but I imagine any extra frames you could squeeze out of this would be minimal - saving 4 tris is nothing when you consider that this crate is 738.