Commit Graph

4222 Commits

Author SHA1 Message Date
Eric Wasylishen 93a43193df tests: add some missing faces test maps 2024-02-19 22:24:29 -07:00
Eric Wasylishen 047478b92c lightpreview: add "Edit -> Copy Camera Position" menu item 2024-02-19 19:23:07 -07:00
Eric Wasylishen 0fb6437885 lightpreview: add help menu 2024-02-19 12:37:14 -07:00
Eric Wasylishen ba5ad539b8 light: q2: opaque lit liquids receive light from both sides by default 2024-02-15 23:51:28 -07:00
Eric Wasylishen ec15eb7b8c docs: update changelog 2024-02-15 18:18:26 -07:00
Eric Wasylishen 478f2ad086 build fix: emplace_back broken in our clang version 2024-02-15 18:18:08 -07:00
Eric Wasylishen 521728002c build fix 2024-02-15 18:07:32 -07:00
Jonathan 0b0dd6759d add -svg to bsputil 2024-02-14 21:25:39 -05:00
Eric Wasylishen b12894de64 qbsp: fix "sides not found" warning spam in Q1 maps with sky
fixes #366
2024-02-11 18:48:34 -07:00
Eric Wasylishen 3a80e5ad1a tests: add -verbose flag 2024-02-11 16:38:57 -07:00
Eric Wasylishen 765d95e189 qbsp: q1: make liquids detail when -transwater is in use (i.e. by default)
Fixes #353
Fixes #244
2024-02-10 21:08:29 -07:00
Eric Wasylishen ea8a733b37 tests: add _suntexture test 2024-02-05 23:47:23 -07:00
Eric Wasylishen 4a4e33519e docs: update changelog 2024-02-04 21:40:11 -07:00
Eric Wasylishen 227a92f8a2 build: get rid of "bin" subdirectory 2024-02-04 19:52:16 -07:00
Eric Wasylishen aa970c0d18 qbsp: only pick up .wad textures when compiling for non-Q2 games
fixes #404
2024-02-04 19:41:45 -07:00
Eric Wasylishen 9a898c81b5 ci: fix windows release upload 2024-02-04 16:33:01 -07:00
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