Commit Graph

1509 Commits

Author SHA1 Message Date
Eric Wasylishen 2fe14087db qbsp: QuakeEd .map conversion: normalize shifts 2017-03-26 15:08:10 -06:00
Eric Wasylishen 6c336738c4 qbsp: QuakeEd .map conversion: drop the RMSE test as it sometimes picked worse visual results (wood roof trim in ad_swampy) 2017-03-26 14:42:13 -06:00
Eric Wasylishen 39c137c2a3 qbsp: SetTexinfo_QuakeEd_New: treat scale=0 as scale=1 2017-03-26 13:00:07 -06:00
Eric Wasylishen 94ba5560c7 qbsp: fix QuakeEd map conversion 2017-03-26 12:40:06 -06:00
Eric Wasylishen ce673b813e qbsp: remove dead code 2017-03-23 14:40:03 -06:00
Eric Wasylishen 5fae648506 qbsp: refactor TexDef_BSPToValve 2017-03-23 14:39:34 -06:00
Eric Wasylishen 57bed163be qbsp: change "brushprimtivies" label to shorter "bp" 2017-03-23 14:38:08 -06:00
Eric Wasylishen 78d517a99d qbsp: remove placeholder entity inserted at the end of the vecotr 2017-03-22 19:22:23 -06:00
Eric Wasylishen 6f17758fc7 qbsp: quake/valve map output: avoid divide by 0 when calculating scale 2017-03-22 18:27:13 -06:00
Eric Wasylishen be78da93e8 qbsp: quark ETP: add missing negative sign to match bjptools-xt output 2017-03-22 17:13:36 -06:00
Eric Wasylishen fc2b5e438d qbsp: brush primitives output 2017-03-22 16:39:43 -06:00
Eric Wasylishen e8a7e55bb7 qbsp: refactoring to SetTexinfo_BrushPrimitives 2017-03-22 16:39:43 -06:00
Eric Wasylishen 3dda0e9c4e qbsp: hook up "to quake" conversion 2017-03-22 02:39:55 -06:00
Eric Wasylishen aab47605bb qbsp: add TexDef_BSPToQuakeEd() 2017-03-22 02:12:16 -06:00
Eric Wasylishen f04f34524c qbsp: TextureAxisFromPlane: add extra param for returning the snapped axis 2017-03-22 01:11:21 -06:00
Eric Wasylishen 1f3d38a611 qbsp mathlib: add helper for getting angle between vectors 2017-03-22 01:07:32 -06:00
Eric Wasylishen 8e1b7effca qbsp: mark unreachable code 2017-03-22 00:40:33 -06:00
Eric Wasylishen c2bb2bea32 qbsp: first draft of * to valve220 conversion 2017-03-21 21:01:10 -06:00
Eric Wasylishen d607aa1a89 qbsp: whitespace fix 2017-03-21 21:01:10 -06:00
Eric Wasylishen 9cd38feb37 docs: update changelog 2017-03-21 21:01:10 -06:00
Eric Wasylishen f957cba775 light: experimental bounce version using final gather 2017-03-21 21:01:09 -06:00
Eric Wasylishen b911c70372 light: do bounce after phong 2017-03-19 14:20:47 -06:00
Eric Wasylishen 21445c0d6a light: add a pipe to lightstest1 2017-03-19 14:18:30 -06:00
Eric Wasylishen 30d9a53341 light: move FractionOfLine to mathlib 2017-03-18 23:26:16 -06:00
Eric Wasylishen 3e7b4448c1 mathlib: add GLM_PolyArea 2017-03-18 23:26:10 -06:00
Eric Wasylishen 15dd49e093 light: fix last commit 2017-03-18 17:04:22 -06:00
Eric Wasylishen 9c82068160 light: phong: guard against accessing phong caches before they are built 2017-03-18 16:43:22 -06:00
Eric Wasylishen 880ad3b381 bpsutil, common, light, vis: bounds check bsp->dfaces access 2017-03-18 16:31:52 -06:00
Eric Wasylishen 29884e2b4a bsputils: add bounds checking to Face_GetNum 2017-03-18 16:17:01 -06:00
Eric Wasylishen 8a83e3d351 light: BounceLightsForFaceNum(): return indices so we have 1 main copy of the bounce lights 2017-03-15 13:22:43 -06:00
Eric Wasylishen c2c3e915e6 light: fix leak of lightsurf->realfacenums 2017-03-15 13:22:35 -06:00
Eric Wasylishen aa10d2da93 common: add std::vector<glm::vec3> polylib::GLM_WindingPoints(const winding_t *w) 2017-03-15 10:59:46 -06:00
Eric Wasylishen 18b75ec904 light: rewrite -bouncelightsdebug to handle patches smaller than a face 2017-03-15 10:59:40 -06:00
Eric Wasylishen 33fbe56e12 light: save poly edge planes for bouncelights 2017-03-15 10:59:31 -06:00
Eric Wasylishen 1d66039b2c light: save poly for bouncelights 2017-03-15 10:59:25 -06:00
Eric Wasylishen 154158ddba light: BounceLightsForFaceNum: avoid an unnecessary std::vector copy 2017-03-15 10:59:16 -06:00
Eric Wasylishen b8f015d452 light: Texture_AvgColor: return glm vector 2017-03-12 15:56:46 -06:00
Eric Wasylishen 686696c362 light: Palette_GetColor: return glm vector 2017-03-12 15:41:52 -06:00
Eric Wasylishen 102bdc49f0 light: drop IntersectSingleModel api 2017-03-12 15:06:07 -06:00
Eric Wasylishen 0eb6864744 mathlib: add GLM_PolyRandomPoint 2017-03-12 12:58:36 -06:00
Eric Wasylishen ccb6ea27b1 light: some temporary api compatibility stuff 2017-03-12 12:58:30 -06:00
Eric Wasylishen 63e8f42c87 light: ray stream api: allow getting hit face 2017-03-07 13:37:52 -07:00
Eric Wasylishen 902fe7073c mathlib: add RotateFromUpToSurfaceNormal 2017-03-07 13:13:24 -07:00
Eric Wasylishen 3ba1859be4 mathlib: CosineWeightedHemisphereSample 2017-03-07 12:45:54 -07:00
Eric Wasylishen 553f02d582 light: restore performance of bounce lighting 2017-03-06 22:50:20 -07:00
Eric Wasylishen 8e24cc764d Revert "build: force a test failure"
This reverts commit f45a1a715d.
2017-03-06 14:01:56 -08:00
Eric Wasylishen cb5f08f424 build: fix testlight.exe path 2017-03-06 13:58:15 -08:00
Eric Wasylishen e314a3547f light: vs2013 doesn't support constexpr 2017-03-06 13:54:47 -08:00
Eric Wasylishen e3b1c18d8f build: tweak appveyor again 2017-03-06 13:50:52 -08:00
Eric Wasylishen 7f48a67aa6 build: try again to fix appveyor 2017-03-06 13:45:40 -08:00