Commit Graph
2413 Commits
Author SHA1 Message Date
Garux b2f9f2caab repack skies mod:
pack all found sky shaders
WARNING444 on texture reuse
MAX_SHADER_INFO bumped
load all uniquely named shader files, only from folders, not packs
VFS mod to not keep pk3s opened (avoid hitting OS half opened files limit)(risky and slow for normal use)
-packDups:
	vfsPackSkyImage: pack only new images, referring to main and dups DBs; pack alt image versions to separate pk3s
	vfsFindSkyFiles: pack sky images, not referenced by any shader and not present in main DB and dups DB (crc check)
normal vfsPackFile: split output pk3s to approximately 2 GB chunks
-packQer: also pack qer_editorimage
-validateShaders: useful comments about referenced textures state right in out shader, do not save entirely invalid shaders (no packaging)
-shaderDups: write similar shaders to files for latter evaluation by diff tool (no packaging)
WARNING666 when equally named shaders reference different sky boxes
2022-07-09 18:35:11 +03:00
Garux b62d73c168 repack skies 2022-02-11 22:14:37 +03:00
Garux 41d37cf57d * skylight extension: q3map_skylight amount iterations optional[horizon_min horizon_max sample_color]
horizon_min horizon_max: two spherical angles, defining portion of sphere to emit light from.
		Default is 0 90, which is upper hemisphere. -90 90 will be whole sphere.
		sample_color: Default = 1: sample color of each individual light from skybox images, if they are present.
		0: use shader color, set by q3map_lightRGB/q3map_lightImage/_up skybox image/qer_editorImage.
	* q3map_skylight may be used multiple times in a single shader
2022-01-09 16:50:04 +03:00
Garux be6126ce28 fix crash introduced in 977781a621 2021-12-30 19:57:37 +03:00
Garux ea21eee225 fix 1bd3e7ae18 2021-12-23 17:23:57 +03:00
Garux 5398cde0db fix uninitialized value use in IlluminateRawLightmap 2021-12-21 13:48:33 +03:00
Garux 19664b6bca fix -debugorigin crash in IlluminateVertexes 2021-12-21 13:20:41 +03:00
Garux f739e53eab * add Inter-Quake Model (IQM) support (via assimp) 2021-12-18 17:21:45 +03:00
Garux e1be2c5620 fix assimp build 2021-12-17 09:48:49 +03:00
Garux cbde9574fb update assimp 2021-12-17 09:47:12 +03:00
Garux 1bd3e7ae18 * model shader paths guessings: use material names, starting with textures/ or models/ as is
so materials named intentionally as ingame shaders shall work as expected
2021-12-16 03:06:30 +03:00
Garux d888d2622d use sensible floodlightIntensity default, so -floodlight is usable 2021-12-11 02:34:34 +03:00
Garux e913469e30 tweak shader docs 2021-12-11 02:33:59 +03:00
Garux 2f3d24a1f6 fix shader manual: animmap frequency, tcmod scale 2021-12-09 22:51:41 +03:00
Garux b11c5d7da8 * add grid sizes 512, 1024
#52
2021-12-09 22:50:17 +03:00
Garux 58b440b6aa * fix: don't increment target/names on file.import 2021-12-08 13:40:28 +03:00
Garux bf3f194cff * cloneSelected, cloneSelectedMakeUnique: select cloned stuff (was preserving original selected)
important for cloneSelectedMakeUnique usability and when objects order in .map matters
2021-11-24 23:49:46 +03:00
Garux 1f7d0250b0 * fix: don't rename target/names without numeric suffix on paste to non clashing namespace 2021-11-24 18:00:37 +03:00
Garux e62483970f double precision clipper points 2021-11-23 16:33:16 +03:00
Garux f366f6cc6e double precision plane points in _QERFaceData 2021-11-23 15:11:43 +03:00
Garux 6c129e546f store winding points in double precision 2021-11-23 14:48:00 +03:00
Garux af14a811af disable quantiseFloating of brush plane points (why was this needed?) 2021-11-23 14:47:03 +03:00
Garux 241d2571d0 list known supported games in readme.md 2021-11-22 12:46:56 +03:00
Garux 86ba294cf4 replace enums use for compile time constants 2021-11-22 12:29:43 +03:00
Garux 7be3cbda79 refactor PatchEdgeIter, Patch_getClosestTriangle 2021-11-22 12:27:55 +03:00
Garux cf8e0e1501 handle more cases in seamless patch<>brush tex paste 2021-11-16 00:38:47 +03:00
Garux ee06831f97 Optional grid color scheme to fit the Adwaita Dark GTK theme 2021-11-15 01:59:23 +03:00
Garux dd6e4b3091 Remove RTLD_DEEPBIND 2021-11-14 21:16:58 +03:00
Garux f02f3bff31 fix help 2021-11-14 20:19:08 +03:00
Garux cbe024d507 etut default gamma
import https://gitlab.com/xonotic/netradiant/-/commit/52ee12693228563a8e2de1095acebe0c8637ebe1
2021-11-14 19:32:43 +03:00
Garux 8928a4aee8 [q3map2] dæmon engine expects model space deluxe maps
import https://gitlab.com/xonotic/netradiant/-/merge_requests/40
import https://gitlab.com/xonotic/netradiant/-/commit/c847e41defe8648ef8b9134f6bf43bdeafc38fbf
q3map2/games: fix quakelive home path
import https://gitlab.com/xonotic/netradiant/-/commit/85349c5529906d258e1c602ca8137e1d8d35aaa4
2021-11-14 10:13:10 +03:00
Garux 150c3027b0 fix colormod broken in 977781a621 2021-11-13 18:26:12 +03:00
Garux 6c2d7767cf fix includes 2021-11-12 19:12:16 +03:00
Garux c203b26a2d update download-gamepacks.sh 2021-11-12 18:57:13 +03:00
Garux 7d8008a54e use gamepacks/ subfolder for gamepacks for cleaner editor's folder structure 2021-11-11 19:25:04 +03:00
Garux 34375ddd38 move h2data binary out of subfolder 2021-11-11 19:23:31 +03:00
Garux b474073ebe misc_model _skin/skin key: handle both DP and Q3 naming conventions
disable trying skin 0 by default
not that it does much atm, as assimp md3 loader handles .skin and shader name substitution alters non path names
handle \r\n endlines in .skin
2021-11-10 22:25:45 +03:00
Garux 76017a8ce3 unify angles key reading 2021-11-08 21:39:38 +03:00
Garux 484c63ae4a tweak Complete_list_of_entity_keys 2021-11-08 20:03:21 +03:00
Garux d4ba9c3bfc tweak docs 2021-11-08 11:28:00 +03:00
Garux 53382854f9 * view.show.blocks (_blocksize display): support q3map2 way of handling (3 values input, zero values, Z splits) 2021-11-07 08:28:41 +03:00
Garux d75792d9a9 fix the build 2021-11-06 23:10:15 +03:00
Garux aa110638d4 remove global std::size_t mapEntityNum;
(not buildable)
2021-11-06 17:27:11 +03:00
Garux 25bb05b0d2 remove global int numMapEntities; int entitySourceBrushes; 2021-11-06 15:12:21 +03:00
Garux 16dddad640 remove global entity_t *mapEnt; 2021-11-06 13:50:30 +03:00
Garux 0aa61b7dfa also fix dummy targetnames in -mergebsp -fixnames, may legitimately exist as outcome of misc_model->group_entity connection 2021-11-04 19:45:57 +03:00
Garux d1610b49ff move Timer class to header, use it in q3map2 2021-11-04 17:25:04 +03:00
Garux 4016d64859 use std::chrono::steady_clock timer 2021-11-03 19:43:44 +03:00
Garux e04c8cb649 remove -aero workaround 2021-11-02 22:25:44 +03:00
Garux 396fe81cd2 Q_MKDIR: use std::filesystem::create_directories 2021-11-02 22:14:08 +03:00