Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
Go to file
Tyrann 5b9cb50f11 [PATCH] qbsp: Fix AddHullEdge logic
Fix the logic that decided which edges were to be added to smooth the clipping
hulls. The original logic is completely backwards and throws away all the hull
edge clipping planes you want, while potentially keeping the worst corner
cases.

This patch corrects that logic - for that reason, regressions are expected as
we will now be adding more planes to the maps and clipping more things at
wierd angles. Compile times will probably increase and clipping errors will be
more common, at least until some more tuning of the various epsilons is done.

While we're hacking the function, hoist some calculations from the inner loops
up to the outermost loop. Not that this function is that performance critical.

Signed-off-by: Tyrann <tyrann@disenchant.net>
2007-08-20 21:21:17 +09:30
bspinfo Import initial sources 2006-08-28 23:58:10 +09:30
bsputil [PATCH] bsputil: Attempt correct byte-swapping in bsp -> wad export 2006-10-09 13:02:07 +09:30
common Import initial sources 2006-08-28 23:58:10 +09:30
include Import initial sources 2006-08-28 23:58:10 +09:30
light Import initial sources 2006-08-28 23:58:10 +09:30
qbsp [PATCH] qbsp: Fix AddHullEdge logic 2007-08-20 21:21:17 +09:30
vis Import initial sources 2006-08-28 23:58:10 +09:30
COPYING Import initial sources 2006-08-28 23:58:10 +09:30
Makefile [PATCH] qbsp: Remove malloc retry logic 2007-08-19 05:32:46 +09:30
README.txt Import initial sources 2006-08-28 23:58:10 +09:30
tyrlite.txt Import initial sources 2006-08-28 23:58:10 +09:30

README.txt

Updated 2006-07-22

------------------
 Tyr-Utils (v0.1)
------------------
  Website: http://disenchant.net
  Author:  Kevin Shanahan (AKA Tyrann)
  Email:   tyrann@disenchant.net

A collection of command line utilities for building Quake levels and working
with various Quake file formats. I need to work on the documentation a bit
more, but below are some brief descriptions of the tools.

Included utilities:

  light   - A modified version of id's original light tool. Used for lighting a
            level after the bsp stage. This util is also known as TyrLite; see
            tyrlite.txt for detailed usage instructions.

  vis     - Standard vis util; creates the potentially visible set (PVS) for a
            bsp. This version had been slightly modified from id's version to
            reduce the compile time a little.

  bspinfo - Simple util to print out some stats about the data contained in a
            bsp file.

  bsputil - Tool for working with a bsp file. Not sure where this one is going,
            but for now all it can do is extract the entities lump from a bsp
            file into a text file. Might add a bsp -> wad extractor at some
            stage too.

  qbsp    - Not here yet. I need to re-write my modified TreeQBSP util either
            from scratch, or using some GPL'd sources as a base. Damn it.

---------
 License
---------

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA