Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
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> |
||
|---|---|---|
| bspinfo | ||
| bsputil | ||
| common | ||
| include | ||
| light | ||
| qbsp | ||
| vis | ||
| COPYING | ||
| Makefile | ||
| README.txt | ||
| tyrlite.txt | ||
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