Commit Graph

62 Commits

Author SHA1 Message Date
Daniel Svensson e1ad344949
lightpreview: Frustum culling and cull freeze. (#398)
* lightpreview: Frustum culling and cull freeze.

* lightpreview: Remove unused desired vis tracking.
2024-01-05 12:08:21 -07:00
Eric Wasylishen a928b13464 lightpreview: wrap properties panel in a vertical scroll bar 2023-12-24 16:29:11 -07:00
Jonathan 1eaf2170f8 Merge branch 'brushbsp' of https://github.com/ericwa/ericw-tools into brushbsp
# Conflicts:
#	light/trace_embree.cc
2023-12-07 14:13:36 -05:00
Jonathan 9ed4f3d042 bunch of double -> float
fix Q2 animated textures
2023-12-07 14:11:46 -05:00
Eric Wasylishen 9388d43b1c lightpreview: add checkbox for skipping light
fixes #394
2023-11-25 19:24:17 -07:00
Jonathan b83c4a6440 use fold expr instead of for statements in vec3
fix a bunch of clang warnings
2023-11-04 19:01:08 -04:00
Eric Wasylishen d6fbefaf0e lightpreview: decompile hulls for leaf visualization 2023-10-19 00:10:42 -06:00
Eric Wasylishen 7abfec9dc2 lightpreview: enable highdpi support, set larger default window size 2023-10-01 18:47:33 -06:00
Eric Wasylishen a109dfca28 lightpreview: add "show bmodels" checkbox 2023-09-30 15:18:14 -06:00
Eric Wasylishen 741b0b77ed lightpreview: fix loading a .bsp failing if there were light options set in the ui 2023-09-09 16:50:05 -06:00
Eric Wasylishen 5c285052d1 lightpreview: note some threading bugs 2023-09-03 23:20:36 -06:00
Eric Wasylishen 832d7d0413 lightpreview: add .lit loading 2023-09-03 11:31:41 -06:00
Eric Wasylishen c42dee4749 lightpreview: add Alt+1..5 shortcuts for render modes 2023-08-28 21:43:43 -06:00
Eric Wasylishen 6c6bed2597 lightpreview: add "Draw Translucency as Opaque" checkbox 2023-08-27 14:58:08 -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 7b83aa5976 lightpreview: add vis culling checkbox 2023-07-30 11:26:59 -06:00
Eric Wasylishen 07020ceeae lightpreview: add "Show Tris (See Through)" option 2023-07-29 15:49:36 -06:00
Eric Wasylishen c243be2b14 lightpreview: open dialog: start in directory of current file 2023-07-10 21:59:33 -06:00
Jonathan aa70d6dc00 draw lines and portals
disable leakdist by default
2023-07-09 15:44:23 -04:00
Eric Wasylishen 72d89f582d lightpreview: don't crash on unknown flags 2023-07-05 17:59:44 -06:00
Eric Wasylishen fbea58d679 code formatting pass 2023-06-25 18:29:48 -06:00
Eric Wasylishen 5243fd8751 build: fix deprecation warnings 2023-06-25 16:02:03 -06:00
Jonathan caa7418375 async threading for map progress, etc. no cancelling yet 2023-06-19 15:38:16 -04:00
Jonathan da2e6936d1 allow toggling BSPX loading 2023-06-16 03:40:04 -04:00
Eric Wasylishen 8f6edf946c lightpreview: fix typo 2023-06-11 23:21:26 -06:00
Eric Wasylishen e9ba89e45f lightpreview: handle settings::quit_after_help_exception 2023-06-11 23:20:16 -06:00
Eric Wasylishen 35fa5bd129 lightpreview: add "Nearest filter" checkbox 2023-06-11 23:20:07 -06:00
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 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
Jonathan 1e91b21989 use timed file watching, so we only compile any given map once 2023-05-30 12:14:56 -04:00
Eric Wasylishen 3e51f2aeaa lightpreview: report camera position to main window 2023-05-28 00:27:52 -06:00
Jonathan c90113c892 always refresh lightstyle list 2023-05-27 23:58:29 -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
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 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 a173b633b5 lightpreview: add screenshot menu item 2023-05-23 18:17:39 -06:00
Eric Wasylishen 474bf83a0b lightpreview: start adding file menu 2023-05-23 00:48:31 -06:00
Eric Wasylishen 915ee9f870 lightpreview: normals rendering 2023-05-22 15:00:06 -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 b9cea32be2 lightpreview: persist settings
saves in AppData\Roaming\ericw-tools\lightpreview.ini
2023-05-21 21:29:17 -06:00
Jonathan 45fd6ac588 lightpreview: render bmodels 2023-05-21 22:39:00 -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 0531b79b0b lightpreview: add reload button 2023-05-21 13:27:05 -06:00