Author Topic: QBSP3 Fix for Small Brushes  (Read 2286 times)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18801
QBSP3 Fix for Small Brushes
« on: December 04, 2013, 12:36:52 AM »
I finally tracked down what was causing the issue with small brushes getting mangled in qbsp3, so here's a fixed version, based on Geoffrey DeWan's qbsp3.  Brushes with a volume less than 1 were getting discarded.  I also tweaked some epsilons to fix other issues, like polygons having more sides than they needed.

Put it in your bsp\pball2\quake2\util directory.

This should help a lot for people doing small details in their maps.

Ace

  • Autococker
  • Posts: 661
Re: QBSP3 Fix for Small Brushes
« Reply #1 on: December 04, 2013, 12:46:35 AM »
Weird, I was just figuring out an alternative to sub-1 brushes on some details for the mapping contest map. This is great!

jitspoe

  • Administrator
  • Autococker
  • Posts: 18801
Re: QBSP3 Fix for Small Brushes
« Reply #2 on: February 20, 2014, 12:37:05 AM »
I've fixed some issues with r1 and added a little bit of debug output for close vertexes.  If you see something like:

Code: [Select]
Min vertex diff 0.0555317 at (328, 988, 56).
You might want to check that area out.  Sometimes it's due to weird splits with qbsp, but a lot of the time, it's due to brushes that are very slightly misaligned, which will result in potentially visible gaps in the polygons.