Eric Wasylishen
|
6459e53316
|
light: bounce: force a "gate" like cutoff for bounce lights
|
2016-04-28 23:18:49 -06:00 |
Eric Wasylishen
|
430c4b39b7
|
light: bounce: only scale by sending surface normal, not receiving.. seems to look better
|
2016-04-27 21:16:48 -06:00 |
Eric Wasylishen
|
713b92dcb5
|
light: preliminary bounce implementation
|
2016-04-27 19:19:29 -06:00 |
Eric Wasylishen
|
007696a734
|
light: fix face normal smoothing condition
|
2016-04-27 16:44:40 -06:00 |
Eric Wasylishen
|
d426c8d9da
|
light: some setup for bounced lighting
|
2016-04-26 15:14:22 -06:00 |
Eric Wasylishen
|
e77c10d31d
|
light: build polylib
|
2016-04-26 15:11:43 -06:00 |
Eric Wasylishen
|
f65565ba62
|
light: don't do light behind plane test for curved surfaces. I broke lighting on pipes by changing this recently
|
2016-04-26 01:47:46 -06:00 |
Eric Wasylishen
|
11d7c4c44c
|
light: fix build on travis
|
2016-04-26 01:13:42 -06:00 |
Eric Wasylishen
|
a9ea9891bf
|
light: calculate normals before correcting points, better results in concave areas
|
2016-04-26 01:10:15 -06:00 |
Eric Wasylishen
|
c58528499d
|
light: when interpolating a normal that lies outside of a face, recursively look it up on adjacent faces
|
2016-04-26 00:29:50 -06:00 |
Eric Wasylishen
|
8c28413a31
|
light: obj export: only export model 0
|
2016-04-26 00:22:26 -06:00 |
Eric Wasylishen
|
239d9c14f2
|
light: fix vis acceleration on bmodels
|
2016-04-24 19:17:27 -06:00 |
Eric Wasylishen
|
f3132f342c
|
light: Mod_LeafPvs: return whether we found a real pvs
|
2016-04-24 18:24:41 -06:00 |
Eric Wasylishen
|
318fc23481
|
light: implement "_bleed" light key.
"_bleed" "1" on a light entity skips the test that a light is on the front side of a face. useful for special effects.
|
2016-04-23 22:21:59 -06:00 |
Eric Wasylishen
|
b6116ff42a
|
light: don't skip light-behind-plane test for phong shaded faces anymore
|
2016-04-23 00:26:07 -06:00 |
Eric Wasylishen
|
824c1b613c
|
light: fix memory leak
|
2016-04-22 21:21:02 -06:00 |
Eric Wasylishen
|
5ac18e5c6f
|
light: index some PVS info at startup
|
2016-04-22 20:11:59 -06:00 |
Eric Wasylishen
|
5000f9d352
|
light: only do sunlight raytracing in leafs that can see sky
|
2016-04-22 19:27:17 -06:00 |
Eric Wasylishen
|
d309aa02b0
|
light: refactor CalcPvs to calculate the face pvs in a cleaner way
|
2016-04-22 19:15:49 -06:00 |
Eric Wasylishen
|
3b7dbe42b0
|
light: fix broken vis optimization
|
2016-04-22 01:00:10 -06:00 |
Eric Wasylishen
|
169c89120a
|
light: quick hack of 2nd sun. keys are "_sun2" "_sun2_mangle" "_sun2_color"
|
2016-04-21 01:05:48 -06:00 |
Eric Wasylishen
|
0a8965bae0
|
light: fix lighting with vis data
|
2016-04-21 00:22:35 -06:00 |
Eric Wasylishen
|
338ceae8c8
|
light: add face to lightsurf struct
|
2016-04-21 00:13:31 -06:00 |
Eric Wasylishen
|
1ea4d52eab
|
light: add -novis flag
|
2016-04-20 23:57:04 -06:00 |
Eric Wasylishen
|
9cfb8c3fef
|
light: make DecompressVis more robust
|
2016-04-20 14:53:33 -07:00 |
Eric Wasylishen
|
7ce9272f9d
|
light: avoid c99 vla's, seems to be not supported on msvc
|
2016-04-20 01:53:06 -06:00 |
Eric Wasylishen
|
e1bad1bbd6
|
light: rewrite normal interpolation
|
2016-04-20 01:39:42 -06:00 |
Eric Wasylishen
|
03df93851b
|
light: phong shading: handle some sources of nan's
|
2016-04-19 19:33:49 -06:00 |
Eric Wasylishen
|
9560ba3901
|
light: speedup: don't calculate AO when using -phongdebug
|
2016-04-19 18:02:07 -06:00 |
Eric Wasylishen
|
bc0e76f959
|
common: polylib: add WindingBounds from q2 tools. Add missing consts
|
2016-04-19 01:39:37 -06:00 |
Eric Wasylishen
|
8fd3f41b42
|
light: expose GetLightValue in entities.h
|
2016-04-19 01:28:33 -06:00 |
Eric Wasylishen
|
0c93c5c3d0
|
light: DirtTrace: add extra argument for hit face
|
2016-04-19 01:26:21 -06:00 |
Eric Wasylishen
|
99b1069a47
|
build: fix packaging of README.md
|
2016-04-18 15:39:36 -06:00 |
Eric Wasylishen
|
eda564e42a
|
build: drop old Makefile, only cmake supported for now
|
2016-04-18 15:38:50 -06:00 |
Eric Wasylishen
|
eafa21ee34
|
docs: change readme to markdown
|
2016-04-18 15:34:18 -06:00 |
Eric Wasylishen
|
ceaeb2eae2
|
build: travis: use ubuntu trusty
|
2016-04-18 15:23:00 -06:00 |
Eric Wasylishen
|
0e70041ebc
|
build: travis: use VERBOSE=1
|
2016-04-18 15:19:09 -06:00 |
Eric Wasylishen
|
ab3658117b
|
build: travis: try to install groff
|
2016-04-18 15:13:40 -06:00 |
Eric Wasylishen
|
91d271d2ad
|
build: add a basic .travis.yml
|
2016-04-18 15:05:50 -06:00 |
Eric Wasylishen
|
c83fd942bd
|
build: fix vis build on Windows
|
2016-04-18 13:54:47 -07:00 |
Eric Wasylishen
|
b087f0f010
|
build: specify c99
|
2016-04-18 14:22:33 -06:00 |
Eric Wasylishen
|
bfca3478cc
|
build: link vis to libm, fixes build on Linux / GCC.
|
2016-04-18 14:02:49 -06:00 |
Eric Wasylishen
|
ed48508070
|
qbsp: fix usage of offsetof() with a non-compile time constant, was erroring on gcc
|
2016-03-16 10:55:39 -06:00 |
Eric Wasylishen
|
8773e0bb15
|
build: fix build error on Linux due to missing target_link_libraries(qbsp )
|
2016-03-16 10:48:00 -06:00 |
Eric Wasylishen
|
2a4168f35c
|
light: add _minlight_exclude bmodel key
|
2016-04-17 22:51:14 -06:00 |
Eric Wasylishen
|
1340529234
|
qbsp: add -splitsky and -splitturb, finer control over -splitspecial
|
2016-04-16 22:53:33 -06:00 |
Eric Wasylishen
|
fff8cbffbc
|
light: use vis data
|
2016-04-14 20:15:52 -06:00 |
Eric Wasylishen
|
32b48a443b
|
light: track interior verts for normal interpolation (not used currently)
|
2016-04-14 15:13:01 -06:00 |
Eric Wasylishen
|
665514ccbf
|
testmaps: add a map showing extra face splitting with func_detail
|
2016-04-14 14:42:51 -06:00 |
Eric Wasylishen
|
321eac8aaa
|
light: make PrintFaceInfo non static
|
2016-04-12 01:07:37 -06:00 |