ericw-tools/include
Erika b45871efdb
vis algorithm improvement (2h42 -> 57m on ad_dm5) (#361)
* vis algorithm improvement, new commandline option -targetchecks

* vis: only calculate num_expected_targetchecks if needed

Fixes a bit of performance regression when -targetchecks was added, when running
with -targetchecks 0, apparently due to the cost of all the std::popcount's.

gmsp3v2.bsp, 32 threads:
18s (brushbsp branch 9388d43b1c)
21.1s (vis algorithm improvement)
18.2s (this commit)

* vis: default targetchecks to 0.5

gmsp3v2.bsp vis, 32 threads: 18.2s -> 10.6s

---------

Co-authored-by: Eric Wasylishen <ewasylishen@gmail.com>
2023-12-02 13:41:56 -07:00
..
bsputil add missing #pragma once's 2023-11-08 21:30:44 -07:00
common tests: add qbsp content type tests 2023-11-26 00:23:41 -07:00
light light: support embree4 in addition to 3 2023-11-19 14:14:22 -07:00
maputil add missing #pragma once's 2023-11-08 21:30:44 -07:00
qbsp common: structured bspxbrushes reading/writing 2023-11-25 17:28:26 -07:00
vis vis algorithm improvement (2h42 -> 57m on ad_dm5) (#361) 2023-12-02 13:41:56 -07:00