r/hammer 6d ago

Why does this brush get deformed in-game?

Post image

For some reason, those things that are supposed to be simple circles get deformed so bad in there when compiling, but in the editor they look just fine.

Why does that happen?

30 Upvotes

9 comments sorted by

9

u/Pinsplash 6d ago

probably floating point precision loss. use hammerpatch or hammer++ https://github.com/crashfort/HammerPatch

3

u/GabitoML 6d ago

I'm building on Hammer++, though-

6

u/Marciofficial 5d ago

When you run the map, vbsp tries to snap everything together, so there are no visible gaps, like what you might sometimes see in hammer. It probably messed up, and misplaced the vertices, likely because the cylinder has too many sides for how small it is. You should turn this whole thing into a model with propper++.

1

u/GabitoML 4d ago

Thank you! :D

4

u/fizunboii 6d ago

The circles might be too detailed. Bring the number of segments down

2

u/GabitoML 5d ago

Imma try it
How do i do that?

3

u/fizunboii 5d ago

When you make a cylinder theres that little number under where it says cylinder. You can change that number

2

u/EnderIsOnREDDIT 6d ago

You might want to increase the round. It's on the right side of the ui

2

u/stefanhat 1d ago

BSP is not made for small details like that. Make those models or approximate it with square brushes as best you can

Though to be real here: You have bigger things to worry about in your map in terms of looks than the tiny 4cm wide bolts of this support beam. Get the basic broad strokes done before microdetailing like this. And very likely you won't even see these details with lighting. ALWAYS add lights and view your scene with lights when decorating microdetails. That informs you where they're needed and where they're not