Commit Graph
29 Commits
Author SHA1 Message Date
Garux c833feb3af fix samplesize units in docs 2025-12-03 18:47:38 +05:00
Garux 739bad8e24 * -format map_220: bsp to map of Valve220 format conversion 2025-10-21 23:49:45 +05:00
Garux e919276f52 * -wtf: During bsp to map conversion use common/WTF on faces with failed texture alignment deduction 2025-10-20 15:33:04 +05:00
Garux ee3ac80a62 * -modelclip: Decompile model autoclip brushes during bsp to map conversion (they are skipped by default)
explicit setting instead of reusing -force
2025-10-20 15:17:27 +05:00
Garux e3611620f5 clarify -nobouncestore description (doesn't store after normal light pass too) 2025-10-19 09:10:00 +05:00
Garux eab59834bc * support distinct lighting from different sky shaders in one map (by Tom Arrow)
* -onesky: fallback to old behavior: any sky emits total of all suns/skylights in the map
2025-10-06 05:09:10 +05:00
Tom fef5c4648b -multiSun commandline flag: Draw sun/skylights only if they come from the sky whose shader they were defined in.
Every shader that emits sun or skyligghts gets an environment emitter index. All the suns/lights generated from that shader get the same index.
trace_t now has a bitmask of all the environment emitter indices encountered when hitting sky surfaces and checking their shader.
Lighting code checks whether the current sunlight has a defined environment emitter index and if it does, it checks whether it is set in the bitmask. Only then will the light be considered to hit.
2025-09-29 23:59:51 +02:00
Garux 2501b86856 * refactor to work without -maxshaderinfo limit, improve shader search performance 2025-09-18 21:07:03 +05:00
Garux 4cf97f5651 minor tweaks 2025-04-26 16:42:06 +05:00
Garux c488aa115b * -globalflag <surfaceparm>: add surface flag to every bsp shader. Reusable, e.g. -globalflag slick -globalflag nodamage. 2024-11-14 22:02:38 +05:00
Garux e0169cdc63 * -nobrushsnap: disable brush vertices snapping (of drawsurfs) (experimental, keep eye on meta merge efficiency)
fixes most of issues added by tjuction fixing due to offshape vertices insertion
2024-11-11 04:26:57 +05:00
Garux 6749261e75 * -maxshaderinfo <N>: Sets max amount of shaderInfo, default = 8192 2024-02-15 23:35:45 +06:00
Garux 20a9afcd1d * -maxmapdrawsurfs <N>: Sets max amount of mapDrawSurfs, used during .map compilation (-bsp, -convert), default = 131072 2024-02-15 22:35:58 +06:00
Garux 8923546e79 more precise -bounce description 2023-08-23 00:24:29 +06:00
Thomas Debesse 2c947b7e95 q3map2/light: introduce -nobouncestore
when storing computed lightmap on each bounce, user can interrupt compilation and
get working files, but it spends allocation time (which is slow and single-threaded

with this option, user can decide to only allocate lightmaps on the very final
bounce, it means it can't be interrupted, but it can save a lot of time
2023-08-18 15:10:59 +06:00
Garux 1da9dbfea9 * -keepmodels in -bsp / _keepModels on worldspawn: keep misc_model entities in the BSP file after compile 2023-08-17 19:22:21 +06:00
Garux f02f3bff31 fix help 2021-11-14 20:19:08 +03:00
Garux da98e8fde3 various code cleanups 2021-10-30 16:04:31 +03:00
Garux a719e012fe * -mergebsp [options] <mainBsp.bsp> <bspToinject.bsp>: Inject latter BSP to former. Tree and vis data of the main one are preserved.
* -mergebsp -fixnames: Make incoming BSP target/targetname names unique to not collide with existing names
	* -mergebsp -world: Also merge worldspawn model (brushes as if they were detail, no BSP tree is affected) (only merges entities by default)
2021-10-13 22:50:43 +03:00
Garux a0e79e8ecd refactor autopk3
unlimit list sizes
	* -pk3, -repack: support multiple bsp files input by command line
2021-10-02 19:13:28 +03:00
Garux ff07c6e244 * -json -pack -useflagnames: deduce surface/content flag values from their names in shaders.json (useful for conversion to a game with different flag values)
* -skipflags: while -useflagnames, skip unknown flag names
2021-09-29 19:48:27 +03:00
Garux ca09e63932 add more undocumented switches 2021-09-28 20:20:48 +03:00
Garux 70b711c4cf * synchronize -help, html help and actually available command line arguments 2021-09-28 19:23:47 +03:00
Garux 29ba8c4876 refactor command line arguments parsing 2021-09-19 11:58:00 +03:00
Garux e22e6169c9 * -fs_basegame gamename: Overrides default game directory name (e.g. Q3A uses 'baseq3', OpenArena 'baseoa', so -game quake3 -fs_basegame baseoa for OA ) 2021-09-16 15:26:55 +03:00
Garux 160c1d33db remove -texrange business (assuming it's not relevant for decades)
optimize -meta (shave off 1/3 in worst case)
2021-08-27 12:18:56 +03:00
Garux 1d4424f4c6 minor tweaks 2021-03-12 01:17:01 +03:00
Garux fe5c0879b4 remove -tmpin & -tmpout switches, as at best they were prepending tmp/ to absolute path 2021-01-20 12:48:10 +03:00
Garux 19921775fc docs: add NetRadiant specific docs 2020-05-03 11:58:25 +03:00