I carved a Sphere into a Non-Quad Displacement. Hammer Did NOT Crash.

Discussion in 'Mapping Questions & Discussion' started by Void, Dec 21, 2008.

  1. Void

    aa Void Local Man Unable To Map, Sources Say

    Messages:
    1,804
    Positive Ratings:
    2,579
    What is a Non-Quad Displacement? Something that Hammer does not like at all. Can break Maps, and go invisible, making it near-impossible to find it and destroy it. Let's take a look at one that hasn't messed with anything yet.

    [​IMG]

    Then, there is the rarely used, and Hammer-killing brush... the Sphere.

    [​IMG]

    Now, let's put those two together.

    [​IMG]

    Remember the "Carve" tool? The one you always used before learning of the Clip tool? The one that created microbrushes. The one that crashed Hammer numerous times when you used it.

    [​IMG]

    Let's press that button.

    [​IMG]

    My God. Let's see the 2D view!

    [​IMG]

    The most shocking part of this whole series of events? Hammer did not crash.

    Enjoy this, and remember: Don't try this at home.
     
    • Thanks Thanks x 2
  2. TMP

    aa TMP Abuser of Site Rules

    Messages:
    948
    Positive Ratings:
    551
    Now run it XD
     
  3. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    Lol, compile it, I want to see the result xD
     
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,562
    Run is probably either greyed out or just goes *bing* with the window's error noise, ha ha.

    Very interesting.
     
  5. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    Now carve another sphere into that.
     
  6. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    When I tried, I lost the displacements when I carved, and it produced an infinitely high brush
    [​IMG]
     
  7. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    lol. This should be merged into a thread entitled 'Hammer horror stories'. The most violent, graphic, and offensive abuses that you have ever seen in a mapping editor.
     
    • Thanks Thanks x 1
  8. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,562
    I havn't seen an infinity brush since pre-source... oh, memories!
     
  9. Xi.Cynx

    aa Xi.Cynx Former Alias: †Blade†

    Messages:
    772
    Positive Ratings:
    723
    Not trying to steal the light, but you inspired me to push hammer to the limits!D:

    So here is what I did, and accomplished it, after about... 3 minutes of loading...

    I decided to create a Torus, but not just any old torus...---v
    [​IMG]


    And I clicked OK!

    3 minutes later after the cores were pegged at 100% the whole time...
    This is the results that I get---v
    [​IMG]

    AND!

    [​IMG]


    Everything was running smooth still to be honest. I was quite suprised as some of you may be right now too. So I figured I would show you exactly how big this was though...---v
    This one from the outside, I placed a entity there for size reference. And yes, each one of those squares seems to be a separate side...
    [​IMG]

    AND!

    This one is from the inside, and again an entity is placed for size reference. Lol
    [​IMG]


    Yep you guessed it, So I figured... Well I made it this far, might as well try to go all the way! So I removed the extra entity from the inside and did just that...---v
    [​IMG]

    1... 2... 3!

    compile, compile, compile... compile, compile, compile... compile, compile, compile...

    Eeeer

    [​IMG]


    Failure!

    But I didn't see anything really wrong in the compile log, But if anyone else does, I think I can fix it and get this thing compiled. Lol
     
  10. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,562
    Try tying it to an entity (func_detail) and compiling it within a box. You'd probably also wanna nodraw all but the inside if you do that..... for obvious reasons. Not quite sure how you'd go about that other than nodrawing the whole thing and then slapping your apply texture button as much as possible on the inside.

    It'd be pretty awesome to shove a bunch of gauze mounted buggies in there and battle it out.
     
  11. Xi.Cynx

    aa Xi.Cynx Former Alias: †Blade†

    Messages:
    772
    Positive Ratings:
    723
    Haha, I'm on top of that right now, the func_detail is taking quite a long time when i selected it all and just hit ctrl+t the box hasn't even popped up yet. it's been 5 minutes and my cores are working hard. Lol


    EDIT: okay that finished, now for the ever dreadful, nodrawing the whole thing and then demolishing my middle finger and right click mouse button.
     
  12. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    MAX_MAP_PLANES. This is one of the be-all end-all errors, since the only way to fix it is removing faces/planes from the map. Every face generates a plane it resides in, obviously faces can share the same plane, this is one reason building on a larger grid and squaring is advantageous.

    You have a 100x100 torus, meaning 10,000 brushes. The inside and outside faces of those brushes will alone result in 20,000 unique planes. The hidden faces not only touch each other and should be culled out, but 1 side of 400 "matching" brushes should all share the same plane, resulting in not many more even if the culling isn't removing the planes. This is nowhere near the plane limit, so there must be something else going on.

    You say you removed the entity, that could be the problem. If there are zero entities the compile doesn't know what is inside and what is outside, and might be attempting to process the entire volume.
     
  13. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    Now try carve a sphere into that :p

    When I tried,
     
    Last edited: Dec 22, 2008
  14. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    I carved 7 32-sided cylinders into a triangular displacement at that was the result:

    [​IMG]

    I haven't had enough so I made one with 12 32-sided cylinders:

    [​IMG]

    A detail view of the left cylinder:

    [​IMG]

    After this my computer run out of enough RAM and Hammer crashed, it means If I had 2 GB more of RAM I could make a lot more of them. hammer was wasting 1,4 GB of RAM at this moment.

    LOL
     
  15. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    I especially like the 'omgwtf' tag, lol. I just ordered another set of ram, which will bring my total up to 4 gigs, so I might give this a shot. Kudos to everyone who took what I imagine was an insanely long waiting time, for the sake of abusing Hammer :D
     
  16. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    How do you make the triangle displacements?
     
  17. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You don't. The one edge is one unit long. It actually is quadrilateral.
     
  18. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    regarding hammer horror stories, my brother keeps begging me to make a sphere and cover it in hint texture, and then compile. (he has an odd fascination in trying to get other peoples computers to crash)
     
  19. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    /cant see what all the fuss is about
     
  20. Brandished

    Brandished L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    298
    This reminds me of a moon base concept map I was trying to make a while back. I started with a 14 sided sphere, then hollowed it by -32 (I attempted a 16 at first, but Hammer crashed every time).

    This thread inspired me to take the concept a step further. I created another 14 sided sphere and hollowed it.... 3 consecutive times! I tried fourth time, but I killed hammer after my pc sat near frozen for 8 minutes. Here's the last picture I took before attempting number 4:

    [​IMG]
    [​IMG]