Eric Wasylishen
9982abe9bb
docs: lets make this v0.15.10
2017-07-30 13:35:54 -06:00
Eric Wasylishen
f23a96c352
docs: update changelog
2017-07-30 12:42:47 -06:00
Eric Wasylishen
c8ac9d2670
light: print position of degenerate faces during phong shading
2017-07-30 12:01:00 -06:00
Eric Wasylishen
c314b29f82
qbsp3: set up cmake build
2017-07-28 00:00:15 -06:00
Eric Wasylishen
3e549bd38f
qbsp3: import qbsp3 from https://github.com/id-Software/Quake-2-Tools
2017-07-27 23:51:34 -06:00
Eric Wasylishen
a910dd861a
qbsp: csg: mirror faces, even for solid, to help leaf content assignment
...
Mark them as skip so they don't get saved.
This fixes csg_fail.map (in combination with -epsilon 0.1)
2017-07-24 23:12:37 -06:00
Eric Wasylishen
38a7d6a944
qbsp: expose PointInLeaf as debug helper
2017-07-24 22:57:43 -06:00
Eric Wasylishen
a936686fe5
qbsp: allow empty leak lines for pathological maps (single brush)
2017-07-24 18:07:40 -06:00
Eric Wasylishen
c300170752
qbsp: disable q3map stuff
2017-07-24 14:13:57 -06:00
Eric Wasylishen
9377663e3c
qbsp: fix rejecting valid brushes in SplitBrush
2017-07-23 16:29:00 -06:00
Eric Wasylishen
51fa4dc056
qbsp: expose WriteBspBrushMap
2017-07-23 14:20:35 -06:00
Eric Wasylishen
8bfe9b4602
qbsp: exportobj.cc: helpers for exporting face/brush vectors
2017-07-23 14:15:10 -06:00
Eric Wasylishen
3efc9c1f3e
qbsp: make Contents_Priority public
2017-07-23 14:08:34 -06:00
Eric Wasylishen
39aa7dcd0f
qbsp: add FilterStructuralBrushesIntoTree
2017-07-23 13:13:09 -06:00
Eric Wasylishen
b38c04b372
qbsp: clean up brush memory leaks
2017-07-23 13:12:14 -06:00
Eric Wasylishen
7c49d499c2
qbsp: tidy FreeBrushes
2017-07-23 02:48:58 -06:00
Eric Wasylishen
2ee9017879
qbsp: test brush contents are propogated by SplitBrush
2017-07-23 01:55:53 -06:00
Eric Wasylishen
120dfda49a
qbsp: small test refactor
2017-07-23 01:51:46 -06:00
Eric Wasylishen
578d24951d
qbsp: fix memory corruption in SplitBrush
2017-07-23 01:51:31 -06:00
Eric Wasylishen
9629134612
qbsp: fix some issues with SplitBrush
2017-07-23 01:32:04 -06:00
Eric Wasylishen
3bb22ef22b
qbsp: add SplitBrush from q3map (not yet tested)
2017-07-23 00:42:09 -06:00
Eric Wasylishen
d246d2a798
qbsp: add FlipWinding
2017-07-22 23:53:33 -06:00
Eric Wasylishen
1859a1c0b5
qbsp: make DivideWinding saner + const
2017-07-22 21:29:04 -06:00
Eric Wasylishen
11a7e7bc88
qbsp: refactor BrushMostlyOnSide to take separate normal/dist
2017-07-22 19:36:55 -06:00
Eric Wasylishen
b8dec3ed2b
qbsp: add ChopWindingInPlace from q3map
2017-07-22 19:30:51 -06:00
Eric Wasylishen
3c7ea88c37
qbsp: add CopyBrush
2017-07-22 18:20:03 -06:00
Eric Wasylishen
5158b6d296
qbsp: add BoundBrush (from q3map)
2017-07-22 17:09:03 -06:00
Eric Wasylishen
7ef5ad162d
qbsp: add BrushMostlyOnSide (from q3map)
2017-07-22 17:05:09 -06:00
Eric Wasylishen
9868c7f965
qbsp: Add BrushVolume
2017-07-22 16:33:26 -06:00
Eric Wasylishen
7d1dc71069
qbsp: add Face_Plane
2017-07-22 16:31:26 -06:00
Eric Wasylishen
bca6a55662
qbsp winding: add WindingArea
2017-07-22 16:31:21 -06:00
Eric Wasylishen
5893c16267
mathlib: add AddPointToBounds, ClearBounds
2017-07-22 16:31:15 -06:00
Eric Wasylishen
0ebbdac5f9
qbsp: refactor FindPlane
2017-07-17 21:24:32 -06:00
Eric Wasylishen
0d0f265f05
mathlib: add VectorClear
2017-07-17 21:20:17 -06:00
Eric Wasylishen
a34f3df88d
qbsp: surfaces.cc: use std::map for vertex hashing
2017-07-17 16:35:11 -06:00
Eric Wasylishen
3e9e388545
qbsp: surfaces.cc: refactor vertex hashing
2017-07-17 16:06:03 -06:00
Eric Wasylishen
fc7a085893
qbsp: surfaces.cc: rewrite edge hash to use std::map
...
ad_test1.map compiles to a binary-identical .bsp
2017-07-17 16:05:46 -06:00
Eric Wasylishen
68111df578
testmaps: remove DM8.map (map scrap)
2017-07-15 13:54:28 -06:00
Eric Wasylishen
8b9f5ea40a
qbsp: fix handling of duplicate planes
...
fixes spurious leak in e1m4.map
2017-07-15 13:51:26 -06:00
Eric Wasylishen
a3cb25b46a
build: build-osx.sh: fail build if id1 maps leak
2017-07-15 12:59:50 -06:00
Eric Wasylishen
983a9afbd2
qbsp: add bash script to leak test all of the id1 maps
2017-07-15 12:38:13 -06:00
Eric Wasylishen
ceff3bba82
qbsp: fix const warning
2017-07-15 12:37:15 -06:00
Eric Wasylishen
1a15d5f0e9
qbsp: add -leaktest option (from q2)
2017-07-15 12:23:11 -06:00
Eric Wasylishen
5d204036b7
testmaps: add quake map sources
2017-07-15 11:58:11 -06:00
Eric Wasylishen
0263f95e59
qbsp: add -expand flag from q3map for testing hull1 expansion
2017-07-11 17:54:28 -06:00
Eric Wasylishen
2710f9b1a1
qbsp: remove/comment dead code
2017-07-11 00:07:32 -06:00
Eric Wasylishen
be2799578f
qbsp: remove dead code (extrafaces)
2017-07-11 00:05:57 -06:00
Eric Wasylishen
53743ddf0e
qbsp: SubdivideFace: revert change to splitting logic from 1630b87
...
Fixes #160
2017-07-10 21:46:14 -06:00
Eric Wasylishen
f54abd9a2c
qbsp: WriteBSPFile: print the bsp file name to the log
2017-07-10 21:26:06 -06:00
Eric Wasylishen
240d65f788
qbsp: outside.cc rewrite
...
- no more recursively traversing portals, as this can overflow the stack
- better outside filling and .pts file generation, inspired by q3map
(do a bfs from all leafs with entities, storing the number of steps
from an occupied leaf in each leaf. Then do a dfs from the outside node
to the first entity we hit.)
- .por file writing was dropped for now, can be re-added later
2017-07-10 12:46:22 -06:00