Aaron Griffith
35e664a32c
updated README to reflect new lighting options
2010-10-14 21:04:41 -04:00
Aaron Griffith
f8b516b360
Merge branch 'master' into lighting
...
Conflicts:
chunk.py
2010-10-14 15:01:31 -04:00
Aaron Griffith
66e39f8b4d
made sure lava blocks are fully lit
2010-10-14 14:02:04 -04:00
Aaron Griffith
c11e23a18f
added semi-correct lighting for half-blocks
2010-10-14 13:57:48 -04:00
Aaron Griffith
b44cb9c3f8
added proper occlusion tracking to lighting function
2010-10-14 13:36:20 -04:00
Aaron Griffith
e51556f314
moved lighting data into properties, and light logic into a function
2010-10-12 21:11:27 -04:00
Aaron Griffith
e4e52cee0b
moved get_lighting_coefficient into the ChunkRenderer class
2010-10-12 19:05:44 -04:00
Aaron Griffith
a5ae703258
added support for ploylines and polygons on the google map
...
Polygons and polylines are read from the new file "regions.js". Polylines
(entries with "closed" set to false) are just lines drawn on the map.
Polygons (entries with "closed" set to true) are closed loops that are
filled in with a transparent color.
2010-10-09 15:44:48 -04:00
Aaron Griffith
4c58d28854
fixed remaining function renames from merge
2010-10-05 08:55:35 -04:00
Aaron Griffith
51e1721a6d
Merge branch 'master' into lighting
...
Conflicts:
chunk.py
gmap.py
textures.py
world.py
2010-10-05 08:35:23 -04:00
Aaron Griffith
8dccf4162c
added run-time flags to enable lighting or nighttime rendering
2010-09-28 16:57:23 -04:00
Aaron Griffith
d6fc49e1d9
store less data at once, and chunk boundary lighting occlusion checks
...
I also changed the default light level to be based off the light
calculation function, so night renders have a reasonable default light
level now.
2010-09-28 10:47:19 -04:00
Aaron Griffith
27e9b1cb15
added (commented out, for now) night render code
2010-09-27 20:31:31 -04:00
Aaron Griffith
8d145f2b58
added correct chunk boundary lighting
2010-09-27 19:59:41 -04:00
Aaron Griffith
db62ad94ee
correct (though chunk-local only) per-face lighting
2010-09-27 19:04:35 -04:00
Aaron Griffith
a15390cc47
initial stab at lighting support
2010-09-27 14:55:16 -04:00
Aaron Griffith
a5cc2e3ae2
more accurate marker positioning on map, and a reasonable custom projection
2010-09-27 14:54:10 -04:00