Commit Graph

174 Commits

Author SHA1 Message Date
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