Commit Graph

4019 Commits

Author SHA1 Message Date
Eric Wasylishen c42dee4749 lightpreview: add Alt+1..5 shortcuts for render modes 2023-08-28 21:43:43 -06:00
Eric Wasylishen 2e0e4141cf lightpreview: set dark theme 2023-08-28 21:34:22 -06:00
Eric Wasylishen 6c6bed2597 lightpreview: add "Draw Translucency as Opaque" checkbox 2023-08-27 14:58:08 -06:00
Eric Wasylishen 44dadd87b2 imglib: add -tex_saturation_boost [n], defaults to 0.0, 1.0 emulates Q2 tools 2023-08-26 23:49:48 -06:00
Jonathan 8cb2b72237 restore default visapprox 2023-08-26 23:06:49 -04:00
Jonathan 2e0e23622b Revert "reduce memory usage by only storing VPLs when we need to, and only once"
This reverts commit fcf39b2ef8.

# Conflicts:
#	include/light/light.hh
#	include/light/surflight.hh
#	light/bounce.cc
#	light/light.cc
#	light/ltface.cc
#	light/surflight.cc
2023-08-26 23:03:25 -04:00
Jonathan d296b883bf Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-08-21 10:54:19 -04:00
Jonathan 9d7f83a46a don't remove style keys from non-areaportals if the map leaks 2023-08-21 10:54:10 -04:00
Eric Wasylishen 1bf726de9e docs: document _surflightscale + _surflightskyscale 2023-08-17 01:13:01 -06:00
Jonathan e4ca86c846 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-08-15 07:51:39 -04:00
Jonathan 131e395470 add common args 2023-08-15 07:51:35 -04:00
Eric Wasylishen 3a054c1ffc build: fix build labels on GitHub Actions 2023-08-14 00:30:20 -06:00
Eric Wasylishen 3f8042f174 ci: update appveyor's github token 2023-08-14 00:01:23 -06:00
Eric Wasylishen 9c5cc336a6 ci: don't use GitHub Actions for Windows releases 2023-08-13 23:11:47 -06:00
Eric Wasylishen 7c6f6f8299 Revert "appveyor.yml: remove deploy step, we use GitHub Actions"
This reverts commit e477962516.
2023-08-13 23:08:10 -06:00
Eric Wasylishen 54d5838f29 docs: fill in some missing docs
- fix comments around new BSPX lumps
2023-08-13 22:38:31 -06:00
Eric Wasylishen 1e3a5a0915 build: fix linux build 2023-08-07 16:14:25 -06:00
Eric Wasylishen 7608a78b44 style: use std::min/std::max/std::clamp and remove using 2023-08-07 15:42:29 -06:00
Eric Wasylishen a2ea5d8217 style: remove all "using namespace polylib" 2023-08-07 15:33:09 -06:00
Eric Wasylishen f8886b6e60 style: remove all "using namespace std" 2023-08-07 15:28:50 -06:00
Eric Wasylishen db42b2116a use std::abs in remaining places that were using C abs() 2023-08-07 15:23:12 -06:00
Eric Wasylishen 89b21b2612 lightpreview: set QSurfaceFormat::DebugContext on debug builds 2023-08-06 11:09:34 -06:00
Fabian e099c292b0
Use std::abs instead of abs() from C standard library (#369)
abs() from C standard library operates on integers, which is almost certainly not what was intended.
2023-08-06 11:08:06 -06:00
Eric Wasylishen 6b83f36b6f lightpreview: fix glsl syntax error 2023-08-05 20:21:02 -06:00
Eric Wasylishen 9f7ba65758 lightpreview: fix bmodel rendering when vis culling is in use 2023-07-30 12:21:54 -06:00
Eric Wasylishen 7b83aa5976 lightpreview: add vis culling checkbox 2023-07-30 11:26:59 -06:00
Eric Wasylishen edb664f200 lightpreview: preliminary vis culling
- q2 only
- not handling bmodels properly
2023-07-29 15:49:36 -06:00
Eric Wasylishen 07020ceeae lightpreview: add "Show Tris (See Through)" option 2023-07-29 15:49:36 -06:00
Eric Wasylishen 4994ab4f1d lightpreview: format code 2023-07-29 15:49:36 -06:00
dependabot[bot] 08ae1540de
build(deps): bump certifi from 2022.12.7 to 2023.7.22 in /docs (#367)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2022.12.07...2023.07.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 20:28:23 -06:00
Jonathan 3dde7a60d9 display full absolute paths of input and output 2023-07-22 23:04:31 -04:00
Jonathan 7c9e16a7ec fix strnat case insensitive (oops) 2023-07-21 20:43:19 -04:00
Jonathan 19500bca0a fix bounds checks only checking [0] 2023-07-21 00:21:58 -04:00
Jonathan a2ec923b2c Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-07-21 00:21:28 -04:00
Eric Wasylishen a02a4ec316 imglib: fix wad3 loading (thanks to erysdren for the fix)
add a basic half-life test case (box map)
2023-07-18 17:57:51 -06:00
Eric Wasylishen 40a10b2c52 bspinfo: serialize missing textures (offset -1) to json as null
previously, we were writing a json dictionary which was confusing

- bspfile: fix reading a valid texture followed by a missing texture
(offset -1)

- add missing texture testcase
2023-07-18 00:17:24 -06:00
Eric Wasylishen f93a36c295 qbsp: don't write 0 size textures
write them as offset -1 in dmiptexlump_t::stream_write()
2023-07-17 23:32:38 -06:00
Jonathan 3f214b59cc another half life mip fix 2023-07-16 22:11:07 -04:00
Jonathan a5c0f0e768 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-07-16 19:53:27 -04:00
Jonathan 312184e3bb fix HL wads loading incorrectly 2023-07-16 19:53:22 -04:00
Eric Wasylishen c243be2b14 lightpreview: open dialog: start in directory of current file 2023-07-10 21:59:33 -06:00
Eric Wasylishen 99be5a84bc qbsp: experimental -filldetail feature (defaults to on)
also change default -filltype from auto to inside
2023-07-09 23:00:15 -06:00
Eric Wasylishen f3edc52a00 qbsp: cleanup outside.cc terminology to reflect what is actually happening 2023-07-09 16:08:00 -06:00
Eric Wasylishen 465e59fc16 apply auto formatting 2023-07-09 15:04:16 -06:00
Jonathan 5dea42e012 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-07-09 15:44:28 -04:00
Jonathan aa70d6dc00 draw lines and portals
disable leakdist by default
2023-07-09 15:44:23 -04:00
Eric Wasylishen f28522a077 vis: replace ffsl with std::countr_zero 2023-07-08 20:04:05 -06:00
Random 2637a5fb65
-notex should now work (#365) 2023-07-08 15:55:34 -06:00
Eric Wasylishen 9760f5b8da qbsp: fix detection of areaportal leaks (FindAreaPortalExits_R was aborting the search for "exits" early) 2023-07-06 22:37:28 -06:00
Eric Wasylishen aa74b76815 common: add qmat::transpose() 2023-07-06 17:13:14 -06:00