Commit Graph

4156 Commits

Author SHA1 Message Date
Eric Wasylishen 83798c4bb7 CI: restore github releases creation 2024-02-04 15:24:44 -07:00
Eric Wasylishen 06b5e6dc64 docs: improve light entity documentation 2024-02-04 13:02:06 -07:00
Eric Wasylishen a5b77d4dc4 tests: remove quake_map_source tests 2024-02-03 14:18:25 -07:00
Eric Wasylishen fa2a7ce15d docs: move .wal_json documentation to qbsp.rst 2024-02-03 13:59:56 -07:00
Eric Wasylishen 0574ed2892 docs: document bsputil 2024-01-29 23:48:13 -07:00
Eric Wasylishen e3644350f9 docs: document bspinfo 2024-01-29 23:09:40 -07:00
Eric Wasylishen 135aee178f bspinfo: fix naming of lightmap png export when more than 1 style is used 2024-01-29 22:55:29 -07:00
Eric Wasylishen d5b5d1a3ce docs: prepare changelog for 2.0.0-alpha6 2024-01-28 23:13:58 -07:00
Eric Wasylishen e8747407d6 tests: add test for solid black lightmaps in HL mode 2024-01-28 21:46:47 -07:00
Eric Wasylishen 23591efba9 tests: add test for q1 faces which receive no light
they're allowed to be written as style 255 / lightofs -1 in Q1 mode
including lit water.
2024-01-28 21:02:53 -07:00
Eric Wasylishen c7df4305f8 docs: add undocumented light bmodel keys 2024-01-27 23:58:39 -07:00
Eric Wasylishen d512abd27d qbsp: merge across liquids by default in q1
- change option name to -nomergeacrossliquids
- add docs
- allow using it in q2 as well (requested by jitspoe)
2024-01-25 23:04:31 -07:00
Eric Wasylishen 6396f87e15 qbsp: never write <3 vertex faces 2024-01-25 17:49:07 -07:00
jjelliott 5eb5d2862d
Add missing docs key (#409)
* Add missing key (_surface_radiosity)

* docs: add link from _surface_radiosity to _surface

* docs: add link to _surflight_radiosity

---------

Co-authored-by: Eric Wasylishen <ewasylishen@gmail.com>
2024-01-25 09:40:07 -07:00
Eric Wasylishen 0aeb0acd94 qbsp: adjust tjunc logic 2024-01-24 00:22:27 -07:00
Eric Wasylishen a8443ef0cf qbsp: make ALPHATEST imply DETAIL, TRANSLUCENT, and WINDOW (if solid)
like the existing logic for TRANS33/TRANS66
2024-01-23 21:16:40 -07:00
Eric Wasylishen b66c95a53f tests: add q2_mist_transwater 2024-01-23 20:36:34 -07:00
Eric Wasylishen a6610b7176 docs: correct -transwater documentation (no effect in Q2 mode) 2024-01-23 09:21:08 -07:00
Eric Wasylishen 280f630d54 tjunc.cc: rename var for clarity 2024-01-22 22:57:05 -07:00
Eric Wasylishen 0583676af9 build fix 2024-01-22 21:59:49 -07:00
Eric Wasylishen 1b92d61cfb testmaps: add tjunc test matrix for q2 2024-01-22 21:34:49 -07:00
Eric Wasylishen e2585bed5b docs: document -missing_textures_as_zero_size 2024-01-21 21:21:40 -07:00
Eric Wasylishen a1e561fa3f docs: note that _bouncestyled defaults to 1 now 2024-01-21 10:09:32 -07:00
Jonathan 53850d94ac fix crash in embree tracing due to new batching code
simplify structs for tracing
2024-01-21 08:52:16 -05:00
Jonathan 72611b7e97 batch together traces on the whole surface - saves a small amount of time 2024-01-19 08:48:51 -05:00
Jonathan 0ff4e8ddd5 fix gate on lightgrid 2024-01-17 02:27:50 -05:00
Jonathan 844b9706d0 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2024-01-14 23:10:30 -05:00
Jonathan a04bb771ce disable gate on high quality 2024-01-14 23:10:21 -05:00
Eric Wasylishen 49d9c3be41 tests: add a test for Q2 fully black lightmaps
they can't be optimized with styles = [255, 255, 255, 255] like in Q1 mode
2024-01-14 20:31:28 -07:00
Eric Wasylishen 07e050f484 light: restore -bounce flag with no arguments as a shorthand for -bounce 1 2024-01-13 18:35:18 -07:00
dependabot[bot] 10293fab88
build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /docs (#407)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 19:12:00 -07:00
Eric Wasylishen fdd3abac14 cmake: try set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY FALSE) 2024-01-08 21:51:31 -07:00
Jonathan Linat 39074b8249
CI: Enable Qt5 + lightpreview (#406)
* chore(CI): refine current 'cmake.yml' file content

* chore(CI): enable Qt5 on Linux and macOS

* Appveyor.yml: remove deploy step

we are deploying from GitHub Actions now

* build-linux-64.sh: adjust .zip wildcard

to hopefully not break on PR builds

* build-linux-64.sh: remove fragile unzip/readelf lines

* lightpreview\CMakeLists.txt: only install Qt on Win/Mac

* lightpreview: attempt to fix mac Qt packaging

* lightpreview: apple fixes

* Install qtdbus on macOS

* try alternate dbus module name

* try cmake find_package for dbus

* also find Qt5PrintSupport

* build-osx.sh: remove coreutils install

we don't use sha256sum anymore

* lightpreview/CMakeLists.txt: create .app bundle on macOS

* Update CMakeLists.txt

* build-*: run cpack as part of the build command

on my macOS test system, running cpack separately
is doubling the build time

* cmake: factor out add_loader_path_to_rpath function, apply to all targets

* chore(CI): add steps to re-pack the 'doc' and 'bin' directories

* chore(CI): remove GitHub release-related step (to be re-introduced)

* chore(CI): adjust inflating destination directories

---------

Co-authored-by: Eric Wasylishen <ewasylishen@gmail.com>
2024-01-08 20:16:41 -07:00
Eric Wasylishen 126931a151 qbsp: fix ChooseMidPlaneFromList selecting detail splits too early leading to leaks 2024-01-05 12:32:01 -07:00
Eric Wasylishen 1c692d6f47 qbsp: record portal type 2024-01-05 12:32:01 -07:00
Eric Wasylishen 4f9cb6c2e0 testmaps: add e3m4.map test case from LibreQuake
commit 07a310760307585cd5663a52ae5d535bc384081f
2024-01-05 12:32:01 -07:00
Eric Wasylishen 28d4fd3715 lightpreview: comment out some debug spam 2024-01-05 12:30:33 -07:00
Daniel Svensson e1ad344949
lightpreview: Frustum culling and cull freeze. (#398)
* lightpreview: Frustum culling and cull freeze.

* lightpreview: Remove unused desired vis tracking.
2024-01-05 12:08:21 -07:00
Daniel Svensson 04c3a5117a
lightpreview: Add support for fence textures. (#402) 2024-01-04 16:05:22 -07:00
Eric Wasylishen 8ab9960ca0 lightpreview: don't crash when vis is run more than once 2023-12-24 17:22:01 -07:00
Eric Wasylishen f47602050b lightpreview: disable "uploaded {} bytes face visibility texture" debug spam 2023-12-24 16:40:44 -07:00
Eric Wasylishen a928b13464 lightpreview: wrap properties panel in a vertical scroll bar 2023-12-24 16:29:11 -07:00
Eric Wasylishen 8db1d32e9f light: fix excessive bouncing with lit water, or _shadow -1
Fixes #397
2023-12-24 00:44:56 -07:00
Eric Wasylishen 6351cc50e6 rename: vec_t -> double 2023-12-23 21:09:16 -07:00
Eric Wasylishen 89908df90f light: fix nan's (fully black lightmap) in some cases when using _surface lights 2023-12-23 18:53:58 -07:00
Eric Wasylishen 73b694a7a8 lightpreview: still output logging::print to console 2023-12-23 18:32:25 -07:00
Eric Wasylishen f0c8d92993 qbsp: add -missing_textures_as_zero_size flag to allow writing 0x0 textures when a texture is missing
this allows us to write the texture name, but it's non-standard.

light: warn when a surface light template doesn't match any faces in the bsp
2023-12-21 00:05:40 -07:00
Maik Merten c62633f1a3 lightpreview: Add arrow-keys and pageUp/pageDown-keys for navigation.
This is useful for keyboards where WASD isn't practical, e.g., AZERTY-layout (France).
2023-12-14 23:15:24 -07:00
Eric Wasylishen 2210fd2701 tests.cc: more build fixes 2023-12-07 23:17:24 -07:00
Eric Wasylishen 3673162f63 fix build errors + test failures from double -> float changes 2023-12-07 23:06:52 -07:00