Eric Wasylishen
ee50412f65
light: add FindSetting function
2016-07-15 10:44:35 -06:00
Eric Wasylishen
60d96df31c
light: set min/max values for some settings
2016-07-14 00:02:44 -06:00
Eric Wasylishen
08a6733204
light: refactor settings system
2016-07-13 22:55:55 -06:00
Eric Wasylishen
d467888d89
light: register settings in a map
2016-07-13 22:11:21 -06:00
Eric Wasylishen
cd013405e7
light: convert more settings to lockable_*_t
2016-07-13 21:51:04 -06:00
Eric Wasylishen
42657f9607
light: record setting names
2016-07-13 21:33:38 -06:00
Eric Wasylishen
c694bacc2f
light: fix entity_t to be zero-initialized
2016-07-12 00:39:44 -06:00
Eric Wasylishen
7646175048
Merge branch 'stable'
...
* stable:
light: trace: raise stack depth 128->256 to handle lavabloom_bad.bsp from Pritchard
light: use Face_TextureName() everywhere we need texture names. Handle negative miplump->dataofs[texnum].
build: appveyor: use v140_xp toolset for xp compatibility
# Conflicts:
# appveyor.yml
2016-07-12 00:25:50 -06:00
Eric Wasylishen
e82f67eb34
light: trace: raise stack depth 128->256 to handle lavabloom_bad.bsp from Pritchard
2016-07-12 00:21:14 -06:00
Eric Wasylishen
992b2e51bc
light: use Face_TextureName() everywhere we need texture names. Handle negative miplump->dataofs[texnum].
2016-07-12 00:20:00 -06:00
Eric Wasylishen
1f4d20ee04
light: workaround weird syntax error
2016-07-07 00:07:01 -06:00
Eric Wasylishen
5b26bc4709
light: add EntData_Write and EntData_Parse (unused)
2016-07-06 17:46:17 -06:00
Eric Wasylishen
78810fa765
common: fix COM_Parse const-ness
2016-07-06 17:06:28 -06:00
Eric Wasylishen
37324f9245
light: entities: remove stored classname
2016-07-06 16:29:25 -06:00
Eric Wasylishen
1f723c94e6
light: entities: remove entity_t.target and entity_t.targetname
2016-07-06 14:26:14 -06:00
Eric Wasylishen
431a2077d5
light: entities: replace lighttargets array with a std::vector
2016-07-06 14:08:01 -06:00
Eric Wasylishen
47c0c7ccc9
light: entities: replace epairs with std::map
2016-07-06 13:42:32 -06:00
Eric Wasylishen
e012a2c93e
light: finish c++ifying
2016-07-06 13:14:06 -06:00
Eric Wasylishen
1c8e7e6585
light: remove use of c99 designated initializers since they're not in c++11
2016-07-06 00:13:30 -06:00
Eric Wasylishen
d225891ef5
light: c++ify remaining files
2016-07-05 22:27:41 -06:00
Eric Wasylishen
34bc864616
light: print elapsed time to 3 decimal places
2016-07-04 21:06:34 -06:00
Eric Wasylishen
50a677408b
light: hack to workaround https://github.com/ericwa/tyrutils-ericw/issues/67 . worldspawn was being inserted into the list of lights when it had a minlight value set (!?!)
2016-06-30 14:49:55 -06:00
Eric Wasylishen
ec6352a5fe
light: option parser: allow negative numbers as option args
2016-06-30 14:14:59 -06:00
Eric Wasylishen
a7e9d9bba4
light: embree: fix for liquid faces casting shadows!
2016-06-30 14:14:28 -06:00
Eric Wasylishen
bdca751361
build: hack for install_name_tool causing Xcode build to fail when returning nonzero exit status
2016-06-30 14:14:06 -06:00
Eric Wasylishen
886f033748
build: fix up OS X embree packaging
2016-06-28 18:09:58 -06:00
Eric Wasylishen
cc6ca58c8d
build: add OS X packaging script
2016-06-28 16:16:43 -06:00
Eric Wasylishen
3e6018a95a
build: switch back to dynamic linking embree, static was a pain, slow builds, etc.
2016-06-28 15:04:50 -06:00
Eric Wasylishen
913d6f068c
light: DirtTrace: return hitdist instead of hitpoint
2016-06-19 16:39:59 -06:00
Eric Wasylishen
1d3774a9e0
light: make DirtTrace take dir / dist instead of endpoint to reduce VectorNormalize calls
2016-06-19 15:38:09 -06:00
Eric Wasylishen
b652f00fdd
build: copy gplv3 and embree license into cpack archive
2016-06-18 17:55:09 -06:00
Eric Wasylishen
f515671c51
build: fix EMBREE_STATIC_LIB define
2016-06-18 16:09:23 -07:00
Eric Wasylishen
b983686972
build: use -msse3 if building with embree. make light target depend on embree target
2016-06-18 15:08:34 -06:00
Eric Wasylishen
d9cf97f582
build local copy of embree and static link it
2016-06-18 14:50:14 -06:00
Eric Wasylishen
cfe3553ac6
light: embree: disable robust flags
2016-06-17 21:21:30 -06:00
Eric Wasylishen
1458f097da
light: build: rename embree license
2016-06-17 21:21:30 -06:00
Eric Wasylishen
57f4dd0ee9
light: build: fix cpack config
2016-06-17 21:21:30 -06:00
Eric Wasylishen
c87a57165c
light: build: edit "embree found" message, seems to cause build error on appveyor
2016-06-17 21:21:30 -06:00
Eric Wasylishen
5054ced22d
light: fix embree support
2016-06-17 21:21:30 -06:00
Eric Wasylishen
7729e90d99
light: fix crash when no textures present
2016-06-10 21:29:23 -06:00
Eric Wasylishen
3b07fb3879
Revert "light: add cull_backfaces hack used by CalcPoints, to handle the case when a shadow-casting bmodel is obstructing the midpoint of a face."
...
This reverts commit 412e169ef6 .
2016-06-10 13:16:15 -06:00
Eric Wasylishen
412e169ef6
light: add cull_backfaces hack used by CalcPoints, to handle the case when a shadow-casting bmodel is obstructing the midpoint of a face.
...
probably should be removed and CalcPoints made more robust.
2016-06-10 12:23:22 -06:00
Eric Wasylishen
470dac14d7
light: handle fence textures
2016-06-10 11:47:59 -06:00
Eric Wasylishen
a57393a3c4
light: test fence textures in TraceFaces
2016-06-10 00:07:30 -06:00
Eric Wasylishen
e0a4b8c113
light: add todos about -fence
2016-06-09 01:48:47 -06:00
Eric Wasylishen
7c3aa545bb
light: sunlight refactoring
2016-06-09 00:47:59 -06:00
Eric Wasylishen
aa998d7b7a
light: support sunlight options on command-line
2016-06-09 00:31:52 -06:00
Eric Wasylishen
4e5a7a79b1
light: refactor and make option parsing safer
2016-06-08 23:39:38 -06:00
Eric Wasylishen
f29c8fa0f6
light: clamp bouncecolorscale to [0,1]
2016-06-08 22:57:52 -06:00
Eric Wasylishen
dbae785404
light: refactor sunlight handling so command-line options can be adde
2016-06-08 22:08:00 -06:00