Commit Graph

306 Commits

Author SHA1 Message Date
Eric Wasylishen d43f10ae2b qbsp: fix areaportals touching detail 2022-06-01 22:01:48 -06:00
Eric Wasylishen e7f02daddb testmaps: remove obsolete shell script based test 2022-05-24 20:13:19 -06:00
Eric Wasylishen 7e53f84f4f testmaps: delete redundant test case 2022-05-24 19:53:14 -06:00
Eric Wasylishen e4f6201bbe testbqsp: add simple_sealed_rotated 2022-05-22 13:36:19 -06:00
Eric Wasylishen 215c6549b9 testqbsp: add test of nodraw + includeskip 2022-05-15 01:49:27 -06:00
Eric Wasylishen a1b8a38283 merge non-brush bsp specific changes from brushbsp branch 2022-05-11 01:58:53 -06:00
Eric Wasylishen 35d938607c testmaps: move lightstest1.map -> light_general.map 2022-02-19 14:03:43 -07:00
Eric Wasylishen ac3fb7801f automated_tests.sh: disable hash checks until they stabilize 2022-02-15 00:55:42 -07:00
Eric Wasylishen fefc0fc662 automated_tests.sh: fix bash syntax errors, don't run vis in parallel
makes it difficult to tell which map caused a vis crash
2022-02-06 15:00:29 -07:00
Eric Wasylishen e0981b356b testmaps: add qbsp_leaf_contents_bug.map 2022-01-29 22:10:10 -07:00
Eric Wasylishen 81f69b40f7 ci: add --continue-on-failure option to automated_tests.sh 2022-01-29 20:27:42 -07:00
Eric Wasylishen 84020b1335 Restore "skip the flips - saves us a bit of time!"
BSP output changes (should just be face order though)
2022-01-25 21:50:52 -07:00
Eric Wasylishen 0af808021e testmaps: hook up newer test maps 2022-01-25 21:23:44 -07:00
Eric Wasylishen 7e6ae905db testmaps: add qbsp_tjunc_many_sided_face.map 2022-01-25 19:50:21 -07:00
Eric Wasylishen 465aa791f5 testmaps: update qbspfeatures.bsp expected output
changed due to noclipfaces related change in prev commit
2022-01-22 21:11:31 -07:00
Eric Wasylishen ec3f24893d automated_tests.sh: fix bash weirdness 2022-01-15 16:11:40 -07:00
Eric Wasylishen 978b882381 automated_tests.sh: debugging test failure on appveyor 2022-01-15 15:30:11 -07:00
Eric Wasylishen 0dd7a73cc1 qbsp: flip brush clipping order to match original qbsp
Patch from Paril
2022-01-15 14:35:02 -07:00
Eric Wasylishen 38e27a38ec testmaps: add q2 detail/playerclip testmaps 2021-10-24 23:23:05 -06:00
Eric Wasylishen f56d6113b6 testmaps: regenerate hashes to account for 0 vs -0 change 2021-10-24 16:24:20 -06:00
Eric Wasylishen 0a827d56c6 testmaps: update reference .json to have embedded texture data 2021-10-24 14:56:43 -06:00
Eric Wasylishen 15930bb573 testmaps: update e1m1 hashes to account for outside filling change 2021-10-11 23:18:24 -06:00
Eric Wasylishen ebd3d4e5c2 testmaps: add qbsp_sealing_point_entity_on_outside.map 2021-10-11 22:50:32 -06:00
Eric Wasylishen ed1982b782 testmaps: update expected .json output to account for nexttexinfo change 2021-10-09 13:06:16 -06:00
Eric Wasylishen 100d364edf Merge remote-tracking branch 'origin/master' into pr/322 2021-10-08 19:04:48 -06:00
Eric Wasylishen f0e3d32ffc testmaps: ignore space change in json diff 2021-10-08 17:19:22 -06:00
Eric Wasylishen b855bbd0f2 testmaps: Add qbsp_angled_brush.map 2021-10-08 17:18:17 -06:00
Eric Wasylishen 33a454c700 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-08 00:58:25 -06:00
Eric Wasylishen cfee292e5f qbsp: use fmt to print portals 2021-10-08 00:44:34 -06:00
Eric Wasylishen afcf84ba1c Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 23:56:03 -06:00
Eric Wasylishen 9610841dd7 qbsp: use fmt to print "origin" keys for rotators 2021-10-07 23:52:30 -06:00
Eric Wasylishen 447b9e0492 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 23:40:57 -06:00
Eric Wasylishen a894bbd5de testmaps: add origin brush test 2021-10-07 23:33:59 -06:00
Eric Wasylishen e3f6dc9be0 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 20:09:18 -06:00
Eric Wasylishen 532b35c5bf qbsp: insert new epairs at the end of an entity 2021-10-07 20:06:20 -06:00
Eric Wasylishen 3d8d803674 testmaps: ignore space change in json diff 2021-10-07 00:38:06 -06:00
Eric Wasylishen dddfc11dde Merge remote-tracking branch 'origin/master' into pr/322 2021-10-07 00:32:14 -06:00
Eric Wasylishen 681a916348 qbsp: wad.cc: zero out data after \0 in dmiptex_t.name
This is just for consistency with the cleanup branch which is also doing this
2021-10-07 00:31:11 -06:00
Eric Wasylishen 673e386c16 Merge remote-tracking branch 'origin/master' into pr/322 2021-10-06 22:23:25 -06:00
Eric Wasylishen 17d8c6f7ad testmaps: also save + diff expected log output for the tiny test maps 2021-10-06 22:19:18 -06:00
Eric Wasylishen e6c015a1b3 testmaps: change diff option for ignoring CRLF/LF differences 2021-10-06 21:52:49 -06:00
Eric Wasylishen 1ce3702e32 testmaps: ignore trailing space in .json diff (line ending differences) 2021-10-06 18:36:42 -06:00
Eric Wasylishen fcda291e9a testmaps: ignore trailing space in .json diff (line ending differences) 2021-10-06 18:31:09 -06:00
Eric Wasylishen 402c18bad0 Merge branch 'master' into pr/322 2021-10-06 18:00:39 -06:00
Eric Wasylishen ca7002cb38 qbsp: preserve .map file order of epairs 2021-10-06 17:58:20 -06:00
Eric Wasylishen dbbe2290a7 testmaps: commit .json of tiny test maps 2021-10-06 17:14:28 -06:00
Eric Wasylishen 7cf1107f83 testmaps: commit .json of tiny test maps 2021-10-06 17:09:52 -06:00
Eric Wasylishen a79772d988 testmaps: fix stale hash for qbsp_func_detail_illusionary_plus_water.map 2021-10-04 20:25:26 -06:00
Eric Wasylishen a7c3e70766 testmaps: add qbsp_func_detail_illusionary_plus_water.map 2021-10-04 19:27:24 -06:00
Eric Wasylishen 640befb4dc qbsp: write portals as binary to avoid line ending differences 2021-10-03 19:47:00 -06:00
Eric Wasylishen baf1bdf732 testmaps: also check hashes of .prt files. run vis processes in parallel. 2021-10-03 19:26:40 -06:00
Eric Wasylishen b01e9ef7b1 testmaps: add a new simple func_detail testmap 2021-10-03 19:19:11 -06:00
Eric Wasylishen 3bd65d5aa5 testmaps: add lava, water, sky, origin to qbspfeatures.map 2021-10-02 20:15:43 -06:00
Eric Wasylishen d4464a6503 testmaps: update hash 2021-10-01 23:25:39 -06:00
Eric Wasylishen 3e56b635c0 testmaps: update hashes 2021-10-01 23:17:48 -06:00
Eric Wasylishen 5dc3982a54 testmaps: update qbspfeatures.map 2021-10-01 22:58:45 -06:00
Eric Wasylishen af7e3308f6 qbsp: testmaps: add qbspfeatures.map 2021-09-27 00:00:41 -06:00
Eric Wasylishen 77cbc5780f tests: update onlyents hash (this branch is correct, master branch is broken) 2021-09-21 23:42:41 -06:00
Eric Wasylishen d86638d6f3 tests: commit E1M1-edited-ents.map for easier testing/debugging 2021-09-21 22:49:02 -06:00
Eric Wasylishen 2e7e886fa3 testmaps: -onlyents test 2021-09-20 23:35:41 -06:00
Eric Wasylishen a535a0bd1b ci: add -wrbrushes test 2021-09-20 21:40:55 -06:00
Eric Wasylishen f45f512922 testmaps: add phong test map 2021-09-20 19:42:25 -06:00
Eric Wasylishen d453ff6c01 ci: try forcing exit 0 2021-09-19 22:59:10 -06:00
Eric Wasylishen ab23e8cac5 ci :disable light test for now, because it's nondeterministic (at least across windows/mac) 2021-09-19 21:58:38 -06:00
Eric Wasylishen f2cffaa9e8 ci: run light single threaded 2021-09-19 18:57:00 -06:00
Eric Wasylishen d01c30ea9b ci: run vis single threaded, refresh expected hashes 2021-09-19 18:46:40 -06:00
Eric Wasylishen 87c65fffed ci: initial commit of test map hashes 2021-09-19 16:29:42 -06:00
Eric Wasylishen 2446134b23 ci: add hash checking and generating functionality 2021-09-19 16:23:23 -06:00
Eric Wasylishen a8a564300c tests: move unused tests to deprecated folder 2021-09-19 15:26:48 -06:00
Eric Wasylishen e0cce38d55 tests: add vis to path before running regression tests
move leaktest invocation to automated_tests.sh
2021-09-19 15:24:46 -06:00
Eric Wasylishen 61b0c276c3 automated_tests.sh: wip new testing system 2021-09-19 14:01:54 -06:00
Eric Wasylishen 81d58e5e89 test: add -noverbose to qbsp invocations 2021-09-11 13:47:36 -06:00
Eric Wasylishen 8fc3266db5 light: update testmap 2021-05-21 20:47:20 -06:00
Eric Wasylishen a940e506ff Add test_face_splits.map showing unwanted splitting vs tyrutils-0.15
Map should have exactly 30 faces (5 cubes * 6)
2019-02-10 00:05:51 -07:00
Eric Wasylishen 2df839cfc2 light: Add "_bounce" "-1" to disable bouncing for a func_detail/etc. 2019-01-22 00:02:46 -07:00
Eric Wasylishen 0ac4909396 qbsp: change outside.cc to not fill leafs that have faces that are
straddling in and out of the void.

Previously, we were just deleting these faces, leaving HOMs.
Keeping them but filling the leaf in as solid doesn't work either, because
if they are the only faces left in the leaf it messes up the content type
determination later.

Fixes test_tjunc01.map test case from Qmaster.
2019-01-19 21:56:05 -07:00
Eric Wasylishen cae501972e light: _phong_angle_concave support 2018-01-30 01:48:25 -07:00
Eric Wasylishen 5a90667738 test: rename *.MAP to *.map 2018-01-15 21:48:00 -07:00
Eric Wasylishen 44fc2ab05a test: add invalid_texture_axes.map
contributed by ww at:
http://celephais.net/board/view_thread.php?id=61542&start=13&end=13
2018-01-15 20:09:20 -07:00
Eric Wasylishen c58df6e06b light: add detailwall.map test map 2017-12-10 23:51:29 -07:00
Eric Wasylishen 78fb256862 swtest.map testmap for https://github.com/ericwa/tyrutils-ericw/issues/174 2017-09-15 22:58:02 -06:00
MaxED fe1e040cd1 Added "_falloff" light property. Allows to set light falloff in map units. 2017-08-23 15:00:32 -06:00
Eric Wasylishen da458a0569 Add suntest.map 2017-08-23 14:03:49 -06:00
Eric Wasylishen 68111df578 testmaps: remove DM8.map (map scrap) 2017-07-15 13:54:28 -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 5d204036b7 testmaps: add quake map sources 2017-07-15 11:58:11 -06:00
Eric Wasylishen 6f07303504 light: implement _shadowworldonly, fix _shadowself which was broken 2017-06-27 14:48:27 -06:00
Eric Wasylishen 62db977309 light: add _shadow, _shadowself, _shadowworldonly testmap 2017-06-27 14:05:43 -06:00
Eric Wasylishen 63a858209b qbsp: add offgrid testmaps 2017-06-10 00:48:44 -06:00
Eric Wasylishen 94ba5560c7 qbsp: fix QuakeEd map conversion 2017-03-26 12:40:06 -06:00
Eric Wasylishen 21445c0d6a light: add a pipe to lightstest1 2017-03-19 14:18:30 -06:00
Eric Wasylishen 7895d13cf7 lightstest1: tweak to show more artifacts 2017-02-14 16:20:24 -07:00
Eric Wasylishen 5ce019919f testmaps: stairsteptest: demonstrate light leaking problem 2017-02-14 16:17:14 -07:00
Eric Wasylishen 69504f4439 phongtest: add a thinner pipe 2017-02-14 16:17:08 -07:00
Eric Wasylishen 591f0e773a lightstest1.map: add tests of more corner cases
- minlight on bmodels that are partially sticking out of the world
- "_shadow" "1" bmodels on the middle of world faces
2017-02-14 16:16:57 -07:00
Eric Wasylishen 0db74987fb light: update stairsteptest 2017-02-08 16:01:52 -07:00
Eric Wasylishen a1ad595476 light: new stairsteptest.map (part of e4m4.map GPL source) 2017-02-08 15:56:47 -07:00
Eric Wasylishen 935dd0dd27 lightstest1.map: update for testing lit water 2017-02-02 21:57:22 -07:00
Eric Wasylishen 4ec1d92191 light: dirt_off_radius, dirt_on_radius 2017-01-30 16:11:56 -07:00
Eric Wasylishen 2637373ef0 add hexen2 rotation test map 2017-01-25 15:02:38 -07:00
Eric Wasylishen cc71ad024f qbsp: origin brush support
light: allow model offset on any brush entity with "origin" key set, not just ones with a "rotate_*" classname
2017-01-24 21:39:03 -07:00
Eric Wasylishen 93773fcab7 light: updates to lightstest1.map to check for issues with bmodels 2016-11-08 16:39:18 -07:00
Eric Wasylishen 81b8c1fc86 light: lightstest1.map: add some doors to test black fringes on bmodels 2016-11-04 02:31:36 -06:00
Eric Wasylishen 4f530fadb9 light: tweak the glass tinting again 2016-11-03 18:11:58 -06:00
Eric Wasylishen e6df5098fd light: tweak glasstest.map 2016-11-03 18:02:31 -06:00
Eric Wasylishen f9dcbc2270 light: glasstest.map: lower alpha from 1 to 0.99 2016-11-03 16:20:25 -06:00
Eric Wasylishen 3b65ad592a light: glass: only pick up the glass color when the ray exits the glass 2016-11-03 15:21:29 -06:00
Eric Wasylishen fdab564617 light: Add glasstest.map 2016-11-03 12:55:52 -06:00
Eric Wasylishen 95d3c308c7 light: lightstest1.map: test for glass receiving light from behind 2016-11-02 21:32:34 -06:00
Eric Wasylishen f8c6268368 light: lightstest1.map: also add a test of _minlight and _mincolor on func_wall 2016-11-02 17:47:11 -06:00
Eric Wasylishen bae4084544 light: lightstest1.map: add test for _mincolor on func_detail 2016-11-02 17:31:02 -06:00
Eric Wasylishen 2a5bc72fcc qbsp: add a test case where two almost-touching faces cause qbsp to blow up 2016-11-01 18:30:20 -06:00
Eric Wasylishen 44995d4bd5 light: add rotator test map 2016-10-23 17:24:47 -06:00
Eric Wasylishen 57834c438b light: add "_lightignore" model key 2016-09-20 16:15:12 -06:00
Eric Wasylishen a8047d5220 light: lightstest1.map: add test for "too many lightstyles on a face" 2016-09-18 03:14:02 -06:00
Eric Wasylishen 2b43ecca40 light: lightstest1.map: show a failure case for the vis approximation (infinite falloff lights over long distances) 2016-09-18 03:02:57 -06:00
Eric Wasylishen ad0942ad24 light: testshadows.map: add some skip textures 2016-09-10 13:49:38 -06:00
Eric Wasylishen 44d6828049 light: add bounce test map 2016-09-07 12:50:17 -06:00
Eric Wasylishen 711e237ad0 light: new calcpointstest.map 2016-09-07 12:05:56 -06:00
Eric Wasylishen 1be9448f6a light: add testmap for current surface light issues (hotspots, brightness in more subdivided areas) 2016-08-26 23:29:50 -06:00
Eric Wasylishen e3627ddd3d light: lightstest1.map: add test case for https://github.com/ericwa/tyrutils-ericw/issues/15 2016-08-09 21:22:16 -06:00
Eric Wasylishen 000c14e11d light: add fence, "_shadow" "1", "_selfshadow" "1" to test map 2016-07-29 00:36:29 -06:00
Eric Wasylishen de0dd8833e light: lightstest1.map: add test of _deviance 2016-07-26 17:38:01 -06:00
Eric Wasylishen 353ccee00f light: lightstest1.map: lower brightness of infinite distance lights 2016-07-26 17:19:59 -06:00
Eric Wasylishen e7c824e766 light: lightstest1.map: add a test of _project_fov 2016-07-26 16:21:29 -06:00
Eric Wasylishen 57b64b10ef light: lightstest1.map: add a test of projected textures 2016-07-26 16:11:49 -06:00
Eric Wasylishen 1e0b34b4d2 light: testing projected textures 2016-07-26 15:39:40 -06:00
Eric Wasylishen b05de15a49 light: add test for _softangle and angle 2016-07-26 15:20:35 -06:00
Eric Wasylishen caf8bcf5e7 light: lightstest1.map: add surface spotlight test 2016-07-26 14:51:45 -06:00
Eric Wasylishen 623e5317b2 light: testmap: add surface lighting 2016-07-26 13:14:29 -06:00
Eric Wasylishen 9535635b86 light: new testmap 2016-07-26 12:23:15 -06:00
Eric Wasylishen ade40124b0 light: Add testminlight.map 2016-06-30 14:19:34 -06:00
Eric Wasylishen 598120353a light: add testslime.map 2016-06-30 14:13:24 -06:00
Eric Wasylishen 5054ced22d light: fix embree support 2016-06-17 21:21:30 -06:00
Eric Wasylishen 925a2202b8 light: make_screenshots: update settings for bounce screenshots 2016-06-10 19:39:57 -06:00
Eric Wasylishen 5ac054c2de light: Add testmap for blocked face midpoint (currently broken) 2016-06-10 12:01:36 -06:00
Eric Wasylishen e77e58ec54 Revert "light: new screenshot script"
This reverts commit 6fabc92af0.
2016-06-09 16:13:40 -06:00
Eric Wasylishen 6fabc92af0 light: new screenshot script 2016-06-09 16:13:24 -06:00
Eric Wasylishen 597d88192b light: make_screenshots.sh: update view position 2016-06-08 20:42:09 -06:00
Eric Wasylishen b97248cdcf light: make_screenshots.sh: add bounce screenshots 2016-06-08 17:46:19 -06:00
Eric Wasylishen 4672c6de13 light: add hacky script for taking screenshots 2016-06-08 13:41:25 -06:00
Eric Wasylishen 0b8ec4d169 light: CalcPoints: increase distance to pull back from obstructions to from 0.1 to 1.0.
fixes room corner seams on calcpointstest.map
2016-05-29 17:16:11 -06:00
Eric Wasylishen 5edc647128 light: add stairsteptest.map 2016-05-28 17:03:25 -06:00
Eric Wasylishen 665514ccbf testmaps: add a map showing extra face splitting with func_detail 2016-04-14 14:42:51 -06:00
Eric Wasylishen 501c1a50dc test map: phong shading + tjuncs 2016-04-11 14:49:05 -06:00
Eric Wasylishen c8f5e68a98 light: add dirttest2.map, some brushes extracted from zendar 2016-04-08 00:14:08 -06:00
Eric Wasylishen abf11b97b1 light: Add alignment.map test map 2016-04-07 13:17:01 -06:00
Eric Wasylishen 0733499da5 light: fix for black corners on dirttest.map (test map from lunaran) 2016-04-06 22:38:09 -06:00
Eric Wasylishen 7a336a4881 light: update phongtest.map 2016-04-05 15:01:34 -06:00
Eric Wasylishen bae924ebd0 light: update phongtest.map 2016-04-05 13:27:31 -06:00
Eric Wasylishen 6a7aceec77 light: add phong test map 2016-04-05 13:02:41 -06:00
Eric Wasylishen a407b971bc light: rework LightFace_Entity to fully fix testlightonface.map 2016-04-05 12:52:44 -06:00
Eric Wasylishen a4276825e9 light: add testlightonface.map. currently broken 2016-04-04 23:40:34 -06:00
Eric Wasylishen bc6e2ed3ee light: update dirttest.map testmap 2016-03-05 00:32:34 -07:00
Eric Wasylishen 8ed849f462 light: add dirtmapping test map 2016-03-03 15:52:06 -07:00
Eric Wasylishen 7679190472 light: add a test map for https://github.com/ericwa/tyrutils-ericw/issues/10 2016-02-25 21:10:23 -07:00