Eric Wasylishen
ee13179926
qbsp: LoadExternalMap: fix typo causing invalid read
2024-04-07 22:54:10 -06:00
Eric Wasylishen
4cd62ff157
qbsp: remove dead code from last commit
2024-04-07 22:25:57 -06:00
Eric Wasylishen
c714ce597a
qbsp: use mapfile.cc for .map file parsing
...
BP loading is broken by this commit, will need
to re-introduce loading the texture sizes in mapfile.
2024-04-07 22:20:33 -06:00
Eric Wasylishen
9985d6c8fd
fix odr violations
...
not sure why these only started to be reported on this branch
2024-04-01 12:20:35 -06:00
Eric Wasylishen
28190f5065
light: warn rather than fatal error on invalid "delay" settings
2024-04-01 12:02:39 -06:00
Eric Wasylishen
21b3b696f3
light: enable RTC_SCENE_FLAG_ROBUST to fix q1_light_sun_artifact
2024-03-30 23:06:07 -06:00
Eric Wasylishen
75e062bbb4
tests: add test for RTC_SCENE_FLAG_ROBUST
...
tests for same issue as:
https://github.com/ericwa/ericw-tools/issues/269#issuecomment-2027921279
2024-03-30 22:57:38 -06:00
Eric Wasylishen
992b6f0064
light: fix "mangle" on _sun 1 entities
...
Fixes #266
2024-03-30 11:41:12 -06:00
Eric Wasylishen
1b289d3b26
lightpreview: show leaf contents in status bar
2024-03-24 21:18:37 -06:00
Eric Wasylishen
64826f414d
docs: update changelog
2024-03-17 14:42:25 -06:00
Eric Wasylishen
3d68b12473
light: never write .lit/.lux in Q2 mode
...
fixes `-dirtdebug` broken in lightpreview
2024-03-16 15:07:18 -06:00
Eric Wasylishen
40e4c71407
lightpreview: show bspx lump sizes
2024-03-16 11:55:22 -06:00
Jonathan
71aa8aaeea
Paril/mem write ( #412 )
...
* simplify light_surfaces storage
* memory on writes
* Revert "batch together traces on the whole surface - saves a small amount of time"
This reverts commit 72611b7e97 .
# Conflicts:
# light/ltface.cc
* fix a use-after-move
* don't try to write lightmap if it has no styles
* fix issue with alignment
2024-03-13 20:01:05 -06:00
Eric Wasylishen
b89bac4e8c
common: split start of bspfile.hh into bspfile_common.hh
...
old layout was confusing CLion because bspfile.hh included
itself
2024-03-11 20:14:59 -06:00
Eric Wasylishen
275695a37c
qbsp: remove -transsky flag which was broken
...
unknown what it was useful for
2024-03-09 22:07:55 -07:00
Eric Wasylishen
aa3b8479b4
qbsp: shrink node_t from 280 to 208 bytes
...
- contentflags_t from 80 to 8 bytes
2024-03-09 19:37:23 -07:00
Jonathan
3d419853d3
store leaves on surf instead of surface light
2024-03-09 00:14:03 -05:00
Jonathan
cb89691b54
Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
2024-03-08 23:09:22 -05:00
Jonathan
6c1feb5af8
cut per-surface memory usage down by making streams re-usable per thread
2024-03-08 23:09:16 -05:00
Eric Wasylishen
3fba6a6564
tests: add test for current behaviour of unknown q2 content/surface flags
2024-03-08 21:03:53 -07:00
Jonathan
8c88704bdf
revert anim change because it apparently causes infinite loops in kex
2024-03-08 14:37:53 -05:00
Jonathan
ae2b46f115
oops i had commented this for testing
2024-03-08 14:13:32 -05:00
Jonathan
6157945d4d
optimize Q2 brush info by using world-aligned defaults if they exist
...
optimize Q2 animations by using world-aligned defaults, since Q2 only needs the secondary texinfo for the texture
2024-03-05 11:11:20 -05:00
Eric Wasylishen
ee075b5781
qbsp: shrink node_t from 328 to 280 bytes
2024-02-27 23:34:47 -07:00
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