Eric Wasylishen
f3da00395d
style: replace (void) with ()
2024-02-26 21:07:22 -07:00
Eric Wasylishen
f9b374c6f7
tests: allow color values to be off by 1/255
2024-02-26 00:09:44 -07:00
Eric Wasylishen
12b8066246
light: change remaining double -> float
...
tiny perf improvement on base1-test.map with light params:
-emissivequality high
before: 7.4s
after: 6.9s
no visible changes in base1.
2024-02-25 23:42:45 -07:00
Eric Wasylishen
1f02b50441
lightpreview: add "Camera Bookmarks" submenu
2024-02-25 23:35:50 -07:00
Eric Wasylishen
1e53d45a6c
qbsp: fix comment
2024-02-25 15:54:58 -07:00
Eric Wasylishen
438da8093c
lightpreview: stats panel: make read-only. use thousands separator.
2024-02-25 13:20:18 -07:00
Eric Wasylishen
04097a0ecc
lightpreview: add stats panel
2024-02-24 15:17:19 -07:00
Eric Wasylishen
b9c03d9d2e
lightpreview: adjust drawflat colors
2024-02-19 22:28:47 -07:00
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