Commit Graph

3990 Commits

Author SHA1 Message Date
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
Eric Wasylishen 65de3bb53c lightpreview: flat shading 2023-05-22 15:45:07 -06:00
Eric Wasylishen 915ee9f870 lightpreview: normals rendering 2023-05-22 15:00:06 -06:00
Eric Wasylishen 3ae938f417 appveyor: enable packaging lightpreview 2023-05-22 13:10:24 -06:00
Eric Wasylishen b27c660022 lightpreview: add fullbright checkbox 2023-05-22 12:20:48 -06:00
Eric Wasylishen 9a4f1ecca7 lightpreview: add "Lightmap Only" checbox 2023-05-22 00:31:35 -06:00
Eric Wasylishen 4599549ac5 lightpreview: render q2 translucency 2023-05-21 22:51:22 -06:00
Eric Wasylishen b9cea32be2 lightpreview: persist settings
saves in AppData\Roaming\ericw-tools\lightpreview.ini
2023-05-21 21:29:17 -06:00
Jonathan 3f3b765780 use STB for TGA as well 2023-05-21 23:20:49 -04:00
Jonathan 45fd6ac588 lightpreview: render bmodels 2023-05-21 22:39:00 -04:00
Jonathan 4ed857715a Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-21 22:26:13 -04:00
Jonathan 444a8e23ae lightpreview: spawn at first info_player_start
lightpreview: don't mipmap lightmap; mipmap and anisotropy on textures though
2023-05-21 22:26:05 -04:00
Eric Wasylishen 509f1dd658 lightpreview: use WIN32_EXECUTABLE target property
this disables the console window when the .exe is launched directly
2023-05-21 19:53:28 -06:00
Eric Wasylishen 9c2892ef3f lightpreview: add Q/E bindings for fly down/fly up 2023-05-21 14:16:43 -06:00
Eric Wasylishen 3e55518ec0 lightpreview: mousewheel controls fly speed
- require RMB to look
- use precise timer for WASD movement
2023-05-21 14:13:07 -06:00
Eric Wasylishen 0531b79b0b lightpreview: add reload button 2023-05-21 13:27:05 -06:00
Eric Wasylishen 17f085d6a8 lightpreview: show filename in titlebar 2023-05-21 13:21:43 -06:00
Eric Wasylishen 4815e77f1f lightpreview: reduce stuttering when using WASD + mouselook together 2023-05-21 12:46:53 -06:00
Jonathan b43e1a5b7e Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp 2023-05-21 11:07:39 -04:00
Jonathan 0f5690bf6d allow light 0 to work
fix bad std::move
2023-05-21 11:07:33 -04:00
Eric Wasylishen 229f9fed25 lightpreview: hack in quote parsing for qbsp/vis/light args 2023-05-21 00:29:22 -06:00
Eric Wasylishen 295dc4a537 lightpreview: add text fields for qbsp/vis/light options 2023-05-21 00:03:32 -06:00
Eric Wasylishen 2bf311def6 lightpreview: add overbright lighting scale factor 2023-05-20 23:22:37 -06:00
Eric Wasylishen c2f7cdbb7c lightpreview: clear data before reloading 2023-05-20 23:09:42 -06:00
Eric Wasylishen c7985dad3e lightpreview: hook up reloading in response to file watcher 2023-05-20 22:24:57 -06:00
Eric Wasylishen 8ff83b4d36 testmaps: set a color for our e1u1/sky1 placeholder texture
so it's possible to test sunlight in q2 testmaps
2023-05-20 21:19:06 -06:00
Eric Wasylishen b17fac1eb3 lightpreview: change background color 2023-05-20 21:18:24 -06:00
Eric Wasylishen 752cd95c02 qbsp: -debugexpand: write to .bsp output dir 2023-05-20 21:17:14 -06:00