Commit Graph

1783 Commits

Author SHA1 Message Date
Eric Wasylishen 85a6b9095d qbsp: refactor PlaneInvEqual 2017-06-20 13:07:17 -06:00
Eric Wasylishen 73ffb37417 misc_external_map: fix -onlyents 2017-06-15 17:38:49 -06:00
Eric Wasylishen ce8ad6c384 light: handle iffy faces 2017-06-15 13:43:42 -06:00
Eric Wasylishen 37ed11c2ed qbsp: experimental "misc_external_map" entity
"_external_map" - map to load
"_external_map_classname" - classname to switch to (e.g. func_wall)
"_external_map_angle" - rotation angle around Z axis
2017-06-15 03:43:39 -06:00
Eric Wasylishen 2c0e58e628 mathlib: add test for FractionOfLine with degenerate line 2017-06-15 03:30:48 -06:00
Eric Wasylishen c1f3a0f2e4 mathlib: ClosestPointOnLineSegment: handle degenerate line segment 2017-06-15 03:30:43 -06:00
Eric Wasylishen 42af888f3d testlight: add failing test for ClosestPointOnLineSegment_Degenerate 2017-06-15 03:30:35 -06:00
Eric Wasylishen 7545119593 mathlib: change RotateAboutZ to double 2017-06-15 03:30:10 -06:00
Eric Wasylishen ceab425885 map.cc: factor out plane-points setting code 2017-06-15 03:30:02 -06:00
Eric Wasylishen 8d2a257729 wad.cc: factor out .wad file opening 2017-06-15 03:29:55 -06:00
Eric Wasylishen c1a9b01c44 bsputil: print BSP node heights for the first few levels of the tree
to check if it's decently balanced
2017-06-13 17:19:42 -06:00
Eric Wasylishen 3fc72e37d1 build: fix path for embree .dylibs/.so's 2017-06-10 22:00:49 -06:00
Eric Wasylishen 467d6fc847 build: disable lightpreview stub 2017-06-10 21:29:53 -06:00
Eric Wasylishen 976b95908b docs: update changelog 2017-06-10 21:17:23 -06:00
Eric Wasylishen 19dd7b1c4a qbsp: log number of planes after calling Brush_LoadEntity 2017-06-10 01:15:49 -06:00
Eric Wasylishen 63a858209b qbsp: add offgrid testmaps 2017-06-10 00:48:44 -06:00
Eric Wasylishen 77f3da30bf qbsp: add func_detail_fence 2017-06-09 15:13:13 -06:00
Eric Wasylishen 7198884392 qbsp: ExportDrawNodes: add assertion from DP that node children are different
DetailToSolid: collapse redundant nodes where both children are
solid (-1) to just be the leaf -1. Any faces on-node should be
impossible to see so they can be safely discarded.
2017-06-09 13:14:52 -06:00
Eric Wasylishen d01b740b5b qbsp: add -omitdetailwall and -omitdetailillusionary 2017-06-07 14:12:02 -06:00
Eric Wasylishen 37401937ae qbsp: fix LinkNodeFaces documentation 2017-06-07 12:23:25 -06:00
Eric Wasylishen 5f4520ee8b exportobj.cc: remove redundant #defines 2017-06-05 20:29:36 -06:00
Eric Wasylishen 44445becb8 qbsp: rename "_nosurfacefragment" to func_detail_wall 2017-06-05 16:22:15 -06:00
Eric Wasylishen f8f007f7df qbsp: detail brushes with CFLAGS_DETAIL_NOSURFACEFRAGMENT don't
clip ordinary detail brushes, only those that also have the flag set
2017-06-05 16:11:04 -06:00
Eric Wasylishen 3ca83ea46e qbsp: add logging for func_detail_illusionary and _nosurfacefragment 2017-06-05 14:37:40 -06:00
Eric Wasylishen ac78efed98 qbsp: func_detail rewrite.
- Fix corrupt VIS issues when using func_detail
- func_detail no longer seals the map.
- add func_detail_illusionary entity type
- add func_detail key "_nosurfacefragment"
2017-06-05 14:09:31 -06:00
Eric Wasylishen ea099775ef qbsp, light: allow _shadow -1 to disable shadows from func_detail 2017-06-05 14:01:12 -06:00
Eric Wasylishen 197697ca73 light: fix black rotators 2017-06-05 14:00:50 -06:00
Eric Wasylishen 66bc8209eb light: loosen point off plane assertion 2017-06-05 14:00:16 -06:00
Eric Wasylishen e3da31b308 writebsp.cc: Assert we never write a private contents type to the bsp 2017-06-05 14:00:01 -06:00
Eric Wasylishen dffee91191 csg4.cc: refactor if() statement to match comment 2017-06-01 19:40:06 -06:00
Eric Wasylishen 30fb5ef446 qbsp.hh: clarify detail_separator comments 2017-06-01 19:40:00 -06:00
Eric Wasylishen 8236efa613 csg4.cc: clarify SaveInsideFaces docs and add assertions 2017-06-01 14:25:14 -06:00
Eric Wasylishen e3b7b9615a qbsp: fix check for needing PRT2 (unlikely to matter on real maps) 2017-06-01 01:16:36 -06:00
Eric Wasylishen 213e4b9f7d qbsp: add a -nodetail switch, for debugging func_detail issues 2017-05-31 23:23:53 -06:00
Eric Wasylishen f5d4cd9202 qbsp: add -forceprt1 option for generating a PRT1 to load in editors
This is for previewing the portals between clusters, since no editors
can load PRT2.
2017-05-31 23:18:04 -06:00
Eric Wasylishen 8385797ce7 csg4.cc: add a clarifying comment 2017-05-31 13:09:42 -06:00
Eric Wasylishen 224b0c4d2e qbsp: "Couldn't create brush faces": print .map line number 2017-04-30 19:05:01 -06:00
Eric Wasylishen 85a4249852 qbsp: csg: make hint brushes never clip anything else. 2017-04-30 12:39:12 -06:00
Eric Wasylishen 045303eeb9 lightpreview: tweak ui file 2017-04-29 10:42:06 -06:00
Eric Wasylishen 36df66ed2e lightpreview: fix up GLView constructor 2017-04-28 16:54:14 -06:00
Eric Wasylishen 428a169f95 lightpreview: add mousewheel support 2017-04-28 16:42:42 -06:00
Eric Wasylishen 701fad8460 build: fix embree path in build-linux64.sh 2017-04-28 15:35:04 -06:00
Eric Wasylishen b096019237 build: update mac and linux for embree 2.15.0 2017-04-28 15:26:40 -06:00
Eric Wasylishen 333a4c9ffd build: appveyor: try enabling lightpreview 2017-04-28 14:08:11 -07:00
Eric Wasylishen 9f1c337e68 lightpreview: install qt dll's 2017-04-28 14:07:52 -07:00
Eric Wasylishen f0935f1f93 build: fix light CMakeLists.txt 2017-04-28 14:07:36 -07:00
Eric Wasylishen ca15434e67 lightpreview: update minimum CMake version to avoid policy warnings on windows 2017-04-28 13:29:06 -07:00
Eric Wasylishen 345f5b3ad9 build: update appveyor to use embree 2.15.0 2017-04-28 13:28:02 -07:00
Eric Wasylishen 62f70ec852 stub for lightpreview tool 2017-04-28 13:29:37 -06:00
Eric Wasylishen 8f4b506608 qbsp: refactor cmake setup 2017-04-28 13:04:51 -06:00