-
-
-
Revert "light: CalcPointNormal: clip the point to the triangle before…
… calling CalcBarycentric" This reverts commit 459a545.
-
-
light: CalcPointNormal: clip the point to the triangle before calling…
… CalcBarycentric
-
light: add phong shading debug function
ericwa committedDec 13, 2015 -
light: add phong shading support to sunlight
ericwa committedDec 13, 2015 -
light: AddTriangleNormals: add a clamp(-1, 1) to the value passed to …
…acos to prevent NaN's due to values slightly over 1 / slightly under -1
ericwa committedDec 13, 2015
-
Added features: qbsp: parser: string escape verification. arg: -wrbrushes (bspx) Includes a list of brushes for brush-based collision arg: -wrbrushesonly -wrbrushes combined with -noclip argument arg: -notex Write only placeholder textures, to depend upon replacements field: _smooth Names a texture within the entity for which lighting should be smoothed (softens columns etc). field: _lmscale Generates an LMSHIFT bspx lump for use by a light util. Note that both scaled and unscaled lighting will normally be used. light: worldfield: _lightmap_scale Forces all surfaces+submodels to use this specific lightmap scale. Removes LMSHIFT field. arg: -lmscale Equivelent to _lightmap_scale worldspawn key. field: _project_texture Specifies that a light should project this texture. field: _project_mangle Specifies the pitch+yaw+roll angles for a texture projection (overriding mangle). field: _project_fov Specifies the fov angle for a texture projection. arg: -bspxlit Writes rgb data into the bsp itself. arg: -bspx Writes both rgb and directions data into the bsp itself. arg: -novanilla Fallback scaled lighting will be omitted. Standard grey lighting will be ommitted if there are coloured lights. Implies -bspxlit. -lit will no longer be implied by the presence of coloured lights. bspinfo: displays bspx lumps. vis: no changes
-
build: fix invocation of 'lipo' in Makefile
ericwa committedOct 26, 2015 -
ericwa committed
Oct 26, 2015 -
qbsp: add coordinates to "New portal was clipped away" warning, from …
…txqbsp-xt
ericwa committedOct 26, 2015 -
ericwa committed
Oct 26, 2015 -
light: silence "no model has face" warning
ericwa committedOct 26, 2015 -
light: remove entity->fadedist, it was error-prone, and instead just …
…check light level. it's only very slightly slower.
ericwa committedOct 26, 2015 -
light: add "_surface_spotlight" key for making surface lights into sp…
…otlights based on the surface normal
ericwa committedOct 26, 2015
-
light: add "-sunsamples" flag to control number of samples for _sunli…
…ght_penumbra and _sunlight2
ericwa committedOct 24, 2015 -
ericwa committed
Oct 24, 2015
-
qbsp: DividePlane: always use bugfix from 7e7d851 regardless of maxNo…
…deSize setting
ericwa committedOct 23, 2015 -
light: cull light bounding sphere against surface bounding sphere bef…
…ore checking each surface point. gives a modest speedup.
ericwa committedOct 23, 2015 -
light: fix "-gate" (was calculating too-large bounding spheres for de…
…lay 2 lights.)
ericwa committedOct 23, 2015
-
vis: fix "average leafs visible" message after last change
ericwa committedOct 20, 2015 -
vis: Reuse each cluster's visdata for all leafs in the cluster
ericwa committedOct 20, 2015 -
vis: raise MAX_MAP_VISIBILITY to 128MB
ericwa committedOct 20, 2015 -
qbsp: ChooseMidPlaneFromList: mark detail separators on the final Sol…
…idBSP pass.
ericwa committedOct 20, 2015
-
qbsp: change detail handling, from qbsp-xt.
MidSplit now does two passes (structural/detail), like ChoosePlaneFromList. Now, the first pass will pick among planes that have at least one structural face, and zero or more detail faces. The second pass will pick among planes that have no structural faces, and zero or more detail faces. This fixes the hull 1 leak in telefragged.map introduced when I added txqbsp's maxNodeSize feature, and also reduces the cluster and portal count in jam6_ericwtronyn.map a bit.
ericwa committedOct 18, 2015 -
merge: don't merge detail and non-detail
ericwa committedOct 15, 2015
-
hexen2 support: fix "qbsp -onlyents" which broke with the hexen2 patch
ericwa committedOct 17, 2015 -
hexen2 support, patch from Spike
ericwa committedOct 16, 2015
-
qbsp: add -epsilon option to set ON_EPSILON, from txqbsp-xt
ericwa committedSep 27, 2015
-
light/trace.c: Adjust the trace algorithm to match that in q3map.
Fixes some weird artifacts I noticed when experimenting with lava surface lights in jam6_ericwtronyn.map
ericwa committedSep 25, 2015