Commit Graph

1915 Commits

Author SHA1 Message Date
Eric Wasylishen 8813d272cb common, light, vis: change from bsp2_t to mbsp_t 2017-10-01 22:32:20 -06:00
Eric Wasylishen b847af61e1 common: bsp29_t <-> mbsp_t conversion 2017-10-01 21:27:00 -06:00
Eric Wasylishen f7635162c9 common: bspfile refactoring 2017-10-01 20:51:16 -06:00
Eric Wasylishen dcac3e70c9 common: refactoring some of the generic bsp stuff 2017-10-01 18:08:38 -06:00
Eric Wasylishen bcf3f2e3e3 qbsp: add _external_map_scale key for misc_external_map 2017-10-01 12:39:15 -06:00
Eric Wasylishen 41b85db84d light: add comment about last commit. 2017-09-30 21:43:00 -06:00
Eric Wasylishen 0a8a25b95c Revert "light: for curved surfaces, don't reject hits when the dot product of the surface point normal and surface-point-to-light vector is < 0, since "anglescale" will typically boost the angle factor to 0.5"
This reverts commit 26c5f65f4e.
2017-09-30 20:07:27 -06:00
Eric Wasylishen 7aa5e4cc48 common: add "generic bsp" types 2017-09-26 16:14:25 -06:00
Eric Wasylishen 5fc3110df6 common: get bspinfo working with q2bsp 2017-09-25 00:22:10 -06:00
Eric Wasylishen 55f2c3c47e common: add q2 structs to bspfile.hh 2017-09-24 22:47:27 -06:00
Eric Wasylishen 69f502f7a3 qbsp3: add "q2_" prefix to some types 2017-09-24 21:58:47 -06:00
Eric Wasylishen f9276c62ec qbsp3: fix warnings 2017-09-24 15:37:29 -06:00
Eric Wasylishen 62228bc279 qbsp3: update cmakelists with header files 2017-09-24 12:52:26 -06:00
Eric Wasylishen af013568bf docs: change en-dashes to regular dashes so you can copy-paste from docs to command-line
Fixes #179
2017-09-23 21:14:04 -06:00
Eric Wasylishen 993e8fb590 light: don't mark sample points inside semi-transparent shadow casters as occluded.
fixes #178
2017-09-23 20:31:57 -06:00
Eric Wasylishen 3c8c0ff7eb docs: update changelog 2017-09-17 12:02:36 -06:00
Eric Wasylishen 7252ba7841 light: hack -soft to give better results on https://github.com/ericwa/tyrutils-ericw/issues/171 2017-09-16 17:47:40 -06:00
Eric Wasylishen 26c5f65f4e light: for curved surfaces, don't reject hits when the dot product of the surface point normal and surface-point-to-light vector is < 0, since "anglescale" will typically boost the angle factor to 0.5
fixes https://github.com/ericwa/tyrutils-ericw/issues/172
2017-09-16 17:10:48 -06:00
Eric Wasylishen d4f3e5de65 qbsp: partially revert "csg: mirror faces, even for solid, to help leaf content assignment" and turn it into a flag
(comit a910dd861a)
fixes https://github.com/ericwa/tyrutils-ericw/issues/175 (swtest2.map)
2017-09-16 11:18:30 -06:00
Eric Wasylishen 78fb256862 swtest.map testmap for https://github.com/ericwa/tyrutils-ericw/issues/174 2017-09-15 22:58:02 -06:00
Eric Wasylishen 1ac4bf5a6b qbsp: hack to fix slightly off grid overlapping brushes having missing the overlapping parts deleted after CSG
fixes https://github.com/ericwa/tyrutils-ericw/issues/174
2017-09-15 21:08:04 -06:00
Eric Wasylishen 258f69a27f Revert "vis: remove max portals on leaf limit"
This reverts commit b111346cca.
2017-09-15 14:32:13 -06:00
Eric Wasylishen b111346cca vis: remove max portals on leaf limit 2017-09-13 13:29:46 -07:00
MaxED d86913aaaf light: fixed "_sun" light direction was calculated incorrectly when using a light without a target and mangle 2017-08-27 14:20:43 -06:00
MaxED 15871d2531 light: add _spotlightautofalloff 2017-08-27 14:20:03 -06:00
MaxED 604aa92e6f light: remove dead code 2017-08-27 14:08:18 -06:00
MaxED ca7bfc62db docs: reorganize light manual 2017-08-27 14:07:30 -06:00
Eric Wasylishen d195c0bd2a qbsp: add _mirrorinside key for func_water, etc. 2017-08-27 12:14:09 -06:00
MaxED fe1e040cd1 Added "_falloff" light property. Allows to set light falloff in map units. 2017-08-23 15:00:32 -06:00
Eric Wasylishen 13ca8bfe68 Merge branch 'sunlight' 2017-08-23 14:17:01 -06:00
Eric Wasylishen 1b7f833789 Add docs for "_sun" "1" 2017-08-23 14:14:23 -06:00
Eric Wasylishen da458a0569 Add suntest.map 2017-08-23 14:03:49 -06:00
Eric Wasylishen 1d12d6ab4e Support multiple suns with "_sun" "1" entities.
Drop support for overriding properties of these entities with worldspawn keys.
2017-08-23 13:37:59 -06:00
Eric Wasylishen e5ac4da8a2 Convert indentation to spaces 2017-08-23 12:43:29 -06:00
MaxED 97ab6fcdab Added arghrad-style sun setup using light entity. 2017-08-23 14:18:10 +03:00
Eric Wasylishen 9982abe9bb docs: lets make this v0.15.10 2017-07-30 13:35:54 -06:00
Eric Wasylishen f23a96c352 docs: update changelog 2017-07-30 12:42:47 -06:00
Eric Wasylishen c8ac9d2670 light: print position of degenerate faces during phong shading 2017-07-30 12:01:00 -06:00
Eric Wasylishen c314b29f82 qbsp3: set up cmake build 2017-07-28 00:00:15 -06:00
Eric Wasylishen 3e549bd38f qbsp3: import qbsp3 from https://github.com/id-Software/Quake-2-Tools 2017-07-27 23:51:34 -06:00
Eric Wasylishen a910dd861a qbsp: csg: mirror faces, even for solid, to help leaf content assignment
Mark them as skip so they don't get saved.

This fixes csg_fail.map (in combination with -epsilon 0.1)
2017-07-24 23:12:37 -06:00
Eric Wasylishen 38a7d6a944 qbsp: expose PointInLeaf as debug helper 2017-07-24 22:57:43 -06:00
Eric Wasylishen a936686fe5 qbsp: allow empty leak lines for pathological maps (single brush) 2017-07-24 18:07:40 -06:00
Eric Wasylishen c300170752 qbsp: disable q3map stuff 2017-07-24 14:13:57 -06:00
Eric Wasylishen 9377663e3c qbsp: fix rejecting valid brushes in SplitBrush 2017-07-23 16:29:00 -06:00
Eric Wasylishen 51fa4dc056 qbsp: expose WriteBspBrushMap 2017-07-23 14:20:35 -06:00
Eric Wasylishen 8bfe9b4602 qbsp: exportobj.cc: helpers for exporting face/brush vectors 2017-07-23 14:15:10 -06:00
Eric Wasylishen 3efc9c1f3e qbsp: make Contents_Priority public 2017-07-23 14:08:34 -06:00
Eric Wasylishen 39aa7dcd0f qbsp: add FilterStructuralBrushesIntoTree 2017-07-23 13:13:09 -06:00
Eric Wasylishen b38c04b372 qbsp: clean up brush memory leaks 2017-07-23 13:12:14 -06:00