Commit Graph

4217 Commits

Author SHA1 Message Date
Jonathan 0663707fe3 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-06-08 22:18:37 -04:00
Jonathan 9d3b0f9878 alpha test 2023-06-08 22:18:32 -04:00
Eric Wasylishen 89e714a077 lightpreview: don't render frames when not interacting 2023-06-06 23:30:50 -06:00
Eric Wasylishen 502a490e5b light: hack around surface lights getting a black spot when a luxel lines up with a surflight emission point 2023-06-06 22:29:51 -06:00
Eric Wasylishen 062c458913 lightpreview: use a placeholder texture for missing textures 2023-06-06 20:58:05 -06:00
Eric Wasylishen 9c6f6c2589 common: change FError to throw an exception 2023-06-03 22:24:20 -06:00
Eric Wasylishen f2ecb9fe1c lightpreview: add "Open Recent" submenu 2023-06-03 14:02:34 -06:00
Eric Wasylishen 83967699aa lightpreview: convert to dock widgets. add placeholder output log 2023-06-03 12:31:14 -06:00
Eric Wasylishen 317bf32671 common: use "bright black" for percent text color
the "blue" one was hard to read with the Windows legacy terminal color scheme
2023-05-31 22:27:32 -06:00
Jonathan 1e91b21989 use timed file watching, so we only compile any given map once 2023-05-30 12:14:56 -04:00
Eric Wasylishen 0a5debd278 build: fix Linux packaging
- rename the tbb + tbbmalloc .so files from .so.X.Y to .so.X
- set rpath to be "$ORIGIN" so the .so files are found
2023-05-29 20:30:49 -06:00
Jonathan c3461a107b Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-29 04:38:08 -04:00
Jonathan 6c2b4f6f04 sky rendering (still needs work)
wireframe slightly easier to work with
2023-05-29 04:37:23 -04:00
Eric Wasylishen d38ef2d8af qbsp: allow _litwater/_splitturb as a bmodel key
supports both opt-in and opt-out
2023-05-28 23:44:57 -06:00
Eric Wasylishen f6d5e6e24d qbsp: fix test failure in last commit (stale pointers in map.hashedges) 2023-05-28 16:51:20 -06:00
Eric Wasylishen 731bafd9fe qbsp: fix edge reuse causing software renderer artifacts with liquids
fixes q1_liquid_software.map in tyrquake
thanks to Mankrip for reporting this
2023-05-28 16:28:33 -06:00
Eric Wasylishen 2533e7e40d qbsp: support _mirrorinside 0 in Q1 mode
to disable mirroring water surfaces
2023-05-28 14:00:08 -06:00
Eric Wasylishen ed7a684583 qbsp: remove dead code contents_are_mirrored() 2023-05-28 11:43:30 -06:00
Eric Wasylishen 31ab43a181 tests: add q1_liquid_software.map (renders badly in tyrquake) 2023-05-28 11:37:35 -06:00
Eric Wasylishen 3e51f2aeaa lightpreview: report camera position to main window 2023-05-28 00:27:52 -06:00
Eric Wasylishen fa890456f6 qbsp: don't merge faces across sky boundaries 2023-05-27 23:42:33 -06:00
Jonathan 66815aed40 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-27 23:58:49 -04:00
Jonathan c90113c892 always refresh lightstyle list 2023-05-27 23:58:29 -04:00
Eric Wasylishen b2bd4f613d bsputil: fix build 2023-05-27 17:35:25 -06:00
Eric Wasylishen c649e3a0c8 tests: add ExportWad test 2023-05-27 17:05:41 -06:00
Eric Wasylishen 2703761edb bsputil: fix --extract-textures writing in text mode
also correction to .prt writing, always use text mode
2023-05-27 16:56:07 -06:00
Eric Wasylishen 896da81bd6 bsputil: refactor into a static lib 2023-05-27 13:45:45 -06:00
Eric Wasylishen 442237de02 lightpreview: also use QCursor::pos() in case it helps reduce stuttering 2023-05-25 20:46:17 -06:00
Eric Wasylishen a35c8abe74 lightpreview: fix jerky camera movement + flying issue 2023-05-25 20:27:25 -06:00
Jonathan 2a7bb05cee lightstyle init fixes 2023-05-24 21:58:08 -04:00
Jonathan 18a5b37d4f lightstyle stuff 2023-05-24 21:48:39 -04:00
Eric Wasylishen 901e87bce8 lightpreview: prompt for screenshot path 2023-05-24 00:55:31 -06:00
Eric Wasylishen 0d0d11314c lightpreview: support map as command line arg
- fix splitter behaviour to not resize left pane
2023-05-24 00:42:39 -06:00
Eric Wasylishen 2d60b017d7 lightpreview: support FACENORMALS bspx lump 2023-05-23 22:44:13 -06:00
Jonathan 228f2057a2 pass in a settings, so BSP loading can use paths from light 2023-05-23 22:12:11 -04:00
Jonathan f73d71a7ca fix crash on empty args 2023-05-23 22:04:25 -04:00
Jonathan 9cbe13caae Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-23 21:55:18 -04:00
Jonathan 297a35e8df load BSPX data for lightmaps if available
checkbox to keep origin between different BSP files
2023-05-23 21:55:07 -04:00
Eric Wasylishen 2acc0a305e lightpreview: adjust near plane for less z-fighting 2023-05-23 19:14:34 -06:00
Jonathan 60255b8fe9 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-23 21:11:40 -04:00
Eric Wasylishen a173b633b5 lightpreview: add screenshot menu item 2023-05-23 18:17:39 -06:00
Jonathan 9d57f6dae7 fix region texture names getting picked up by accident 2023-05-23 17:54:20 -04:00
dependabot[bot] b85f9e534f
build(deps): bump requests from 2.30.0 to 2.31.0 in /docs (#360)
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 10:05:24 -06:00
Eric Wasylishen 474bf83a0b lightpreview: start adding file menu 2023-05-23 00:48:31 -06:00
Eric Wasylishen 261d6da37d qbsp: revert b994bb7 "disable CheckPlaneAgainstVolume checks"
it was causing leaks through solids
2023-05-22 23:01:07 -06:00
Eric Wasylishen 36bcb508a6 bsputil: add bspx manipulation commands
--extract-bspx-lump, --insert-bspx-lump, --remove-bspx-lump
2023-05-22 22:37:51 -06:00
Eric Wasylishen 17bea71bbe light: experiment with alt lightgrid formula
take brightest side of cube, rather than averaging all 6 sides of cube
2023-05-22 20:41:11 -06:00
Eric Wasylishen 51b6f10d88 lightpreview: implement showtris 2023-05-22 19:34:17 -06:00
Eric Wasylishen 6e12d90a03 lightpreview: offset rotators to the correct position 2023-05-22 16:24:26 -06:00
Eric Wasylishen 85fb61f682 lightpreview: install qt windows plugin (required) 2023-05-22 16:11:23 -06:00