Commit Graph
2952 Commits
Author SHA1 Message Date
Garux 3fd9749b95 merge coplanar triangles for model autoclip in 'axial pyramid' mode 2025-11-19 06:01:35 +05:00
Garux d0bdc50613 improve model autoclip precision; use weighted centroid for pyramidal clip 2025-11-18 01:20:29 +05:00
Garux 31100322e6 minor tweaks 2025-11-17 20:49:07 +05:00
Garux 5cad61bc6a * Q3MAP2_EXPERIMENTAL_OFFSET_WINDING_CREATION for higher windings precision 2025-11-17 18:42:36 +05:00
Garux 1d441d5b06 do not AdjustBrushesForOrigin() func_groups with 0 0 0 origin
do not re-CreateBrushWindings() for AdjustBrushesForOrigin()'ed brushes
2025-11-16 23:24:13 +05:00
Garux a04eae5054 simpler plane3_translated() 2025-11-16 22:57:32 +05:00
Garux 52a84481bf FindFloatPlane() support double reference points 2025-11-16 22:54:26 +05:00
Garux f028db25dc fix FanFaceSurface() precision 2025-11-16 11:30:39 +05:00
Garux efca27ac91 tweak plane3_translated() 2025-11-16 04:12:30 +05:00
Garux 943845e8c0 add winding_next_point() 2025-11-14 17:14:25 +05:00
Garux c1b4be1db5 tweak EmitBrushes() 2025-11-14 16:51:43 +05:00
Garux d26c1b4263 * merge coplanar triangles for model autoclip in default, pyramidal, face normals, 45 modes 2025-11-14 16:27:09 +05:00
Garux bee863ee9b refactor model autoclip 2025-11-10 15:58:09 +05:00
Garux 95281d306b minor tweaks 2025-11-08 03:26:26 +05:00
Garux ef8c3fd7c1 add MeshQuadIterator 2025-11-07 20:49:29 +05:00
Garux d19c89224a refactor mesh_t 2025-11-06 19:30:15 +05:00
Garux 0bbd529a76 shader editor: write file in text mode for more expected newlines 2025-11-05 20:26:01 +05:00
Garux 6811cf835c refactor mapDrawSurface_t 2025-11-05 20:05:51 +05:00
Garux 98e6ded079 tweak indexMap_t use 2025-11-03 19:07:31 +05:00
Garux 6ed1c05b20 tweak sideRef_t 2025-11-03 16:56:05 +05:00
Garux 2d88073f73 std::forward_list<surfaceModel_t> std::forward_list<foliage_t> 2025-11-03 00:47:41 +05:00
Garux a72648849b std::forward_list<colorMod_t> 2025-11-03 00:36:02 +05:00
Garux e1e551ff45 minor tweaks 2025-11-03 00:35:36 +05:00
Garux c07b84e48d minor tweaks 2025-11-02 03:34:02 +05:00
Garux 7bb1c1ba06 remove odd casts 2025-11-02 02:37:40 +05:00
Garux 5b380fd6fe remove explicit float literal specifiers 2025-11-02 01:27:42 +05:00
Garux 2f17128f06 remove some odd static_cast<> 2025-11-01 20:49:05 +05:00
Garux 17d6588d1a use std::fabs to avoid conversion to double 2025-11-01 19:08:32 +05:00
Garux 43e2c423de fix script error line reporting on the 1st script line 2025-11-01 10:06:19 +05:00
Garux 198a915665 make q3map_skyLight work w/o surfaceparm sky or q3map_sun 2025-11-01 08:38:33 +05:00
Garux c4d4700885 do not create curve menu with "no_patch" 1 game config value
#252
2025-11-01 02:53:16 +05:00
Garux 9bee25ef81 fix global _ambient not being used on entities w/o _ambient specified 2025-11-01 00:27:11 +05:00
Garux 4e9c91e86d add ModelGetTransform() 2025-10-31 16:00:12 +05:00
Garux 6e5067828a fix PopulateWithBSPModel() oddly using modelscale and angles 2025-10-31 15:10:49 +05:00
Garux a2404a5743 limit erroneous script files location reporting to script files
(was reporting image files during .map parsing)
2025-10-31 02:30:55 +05:00
Garux b76a5e22ae fix FloodAreas() stack overflow in extreme cases 2025-10-30 17:10:34 +05:00
Garux 2f69f99f6e fix LayerShowWalker unhiding all misc_models 2025-10-30 01:07:28 +05:00
Garux 7111e78f24 undo = default; constructors, they allow zero initialization, unlike constructors with empty body 2025-10-30 00:19:03 +05:00
Garux c25a3e3635 add entity_t::setKeyValue overloads 2025-10-29 00:58:25 +05:00
Garux 3d36693f55 use std::forward_list<parseMesh_t> for entity_t::patches 2025-10-28 23:03:35 +05:00
Garux 337f10d7a1 clarify _skybox surfaces processing 2025-10-28 17:07:52 +05:00
Garux 1afbbf36fe print deduced Fog visible side uniformly to also feedback -1 side 2025-10-27 03:22:48 +05:00
Garux 4bbb043eff minor tweaks 2025-10-27 02:41:26 +05:00
Garux 968d36d656 fix _skybox geometry being not scaled when _skybox area had other entities
entities after _skybox were overwriting node->skybox flag
2025-10-26 17:24:09 +05:00
Garux 553dd81247 minor tweaks 2025-10-26 00:35:05 +05:00
Garux abadf52398 * support separated _ambient, _color per group, misc_model entities 2025-10-25 22:10:56 +05:00
Garux ae3b75b31f add ColorFromSRGB() 2025-10-25 18:23:20 +05:00
Garux 3ce9767554 make modeltypes="*" usable 20251023 2025-10-22 21:19:09 +05:00
Garux 374c3fc239 indicate model loading failure by nomodel.png 2025-10-22 21:16:58 +05:00
Garux 4705d56a84 add ASSIMP_INTERNAL build option, use external assimp by default 2025-10-22 09:28:16 +05:00