0
Commit Graph

1018 Commits

Author SHA1 Message Date
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
Andrew Brown
8479e9d2b1 Merge remote branch 'munki/master' 2010-10-12 10:26:31 -04:00
Andrew Brown
8b7eddf2bf moved iteration code to its own function 2010-10-12 00:45:40 -04:00
Gregory Short
33b6230bab Google released an update to v3 of the gmap api which enables streetview by default. This change explicitly disables it. 2010-10-11 23:41:59 -05:00
Andrew Brown
a4c0e786a1 tabs -> 4 spaces 2010-10-11 21:03:50 -04:00
Andrew Brown
6d99c58296 Merge branch 'optimizeimg' of http://github.com/kbrantley/Minecraft-Overviewer 2010-10-11 20:58:26 -04:00
Andrew Brown
ea94bcc916 removed your crazy semicolons. This ain't java =) 2010-10-11 20:56:43 -04:00
Kyle Brantley
20e124b778 Added license to optimizeimages.py 2010-10-09 23:52:54 -06:00
Kyle Brantley
bcb423ace4 Add --optimize-img={1,2} -- performs postprocessing on images
This adds basic post-processing to images. At the moment, it only
performs actions for the png output type, but changes to work for
jpeg will be exceptionall minimal.
2010-10-09 22:57:20 -06: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
Alex Jurkiewicz
05770468fb More useful error if invalid --chunklist specified. 2010-10-05 15:29:22 +11:00
Andrew Brown
4dc1f70acf Merge remote branch 'eminence/master' 2010-10-02 22:19:18 -04:00
Andrew Chin
60966ffa73 Improve efficiency of special textures by pre-computing them 2010-10-02 20:17:13 -04:00
Andrew Brown
759a38353d Merge branch 'master' of git://github.com/c99koder/Minecraft-Overviewer 2010-10-02 17:47:48 -04:00
Andrew Chin
6993f2159d Render iron and wood doors with correct orientation.
Note: iron doors need testing (they are currently broken in my test SMP
world)
2010-10-02 15:33:33 -04:00
Andrew Chin
cd97222a9b Render ladders (with correct orientation) 2010-10-01 23:19:53 -04:00
Andrew Chin
66a90bb411 Render furnaces with the correct texture (instead of smooth stone)
These are handled specially, since one side texture is different than the
other
2010-10-01 22:51:02 -04:00
Andrew Chin
78962cfbe5 Passable crop rendering 2010-10-01 22:33:25 -04:00
Andrew Chin
86d5476234 use os.path.join to build the spawn chunk path 2010-10-01 19:45:41 -04:00
Sam Steele
93af1ef158 Add snow to the transparent_blocks array 2010-09-30 23:52:50 -07:00
Sam Steele
5d22e1cd6f Fix whitespace formatting, make snow 1/4th of block 2010-09-30 22:47:10 -07:00
Andrew Brown
5de70db7fe Merged in new logging, fixed markers, and minetracks 2010-09-30 23:39:18 -04:00
Andrew Brown
d366cf9da3 Merge branch 'logging' of git://github.com/alexjurkiewicz/Minecraft-Overviewer 2010-09-30 22:50:23 -04:00
Sam Steele
e54f375295 Merge branch 'master' of http://github.com/eminence/Minecraft-Overviewer 2010-09-30 18:44:04 -07:00
Andrew Chin
822dd75431 Render minetracks (with correct orientation)
Other things with direction (torches, ladders, stairs, etc) will be
handled in a similar fashion.  Note: minetracks on slopes are still
not rendered correctly
2010-09-30 21:38:14 -04:00
Sam Steele
cf971c17c6 Render snow as half-blocks 2010-09-30 18:36:10 -07:00
Sam Steele
110240b53a Ignore .pyc files 2010-09-30 18:35:46 -07:00
Alex Jurkiewicz
c14740cbc6 Merge branch 'master' of git://github.com/brownan/Minecraft-Overviewer into logging 2010-10-01 09:51:49 +10:00
Alex Jurkiewicz
9f49bf3d77 Change logging to use the 'logging' module. 2010-09-30 14:35:37 +10:00
Andrew Brown
fd43331350 removed unused imports 2010-09-29 23:31:19 -04:00
Stephen Fluin
5a14f1b486 Fixed scoping for imageformat 2010-09-29 21:17:22 -05:00
Michael Jensen
783c91adff Merge branches 'documentation' and 'master' 2010-09-30 10:16:07 +10:00
Michael Jensen
971f33e763 Fixed a documentation mistake, the chunkdir option is actually cachedir 2010-09-30 09:31:57 +10:00
Andrew Chin
055e11719f Create the tiles dir, if necessary, before writing blank.png.
Otherwise an error is raised, since .save() won't create intermediate
directories
2010-09-29 10:05:46 -04:00
Andrew Brown
fec7f1b8e4 Added a setup.py for py2exe 2010-09-28 23:13:13 -04:00
Andrew Brown
7a696fcee0 modified to support freezing 2010-09-28 23:04:21 -04:00
Andrew Brown
81d86d6b8b added the long awaited blank image to the output tiles. 2010-09-28 22:54:39 -04:00
Andrew Brown
dd088e192b Merged in half block and cactus rendering fixes
Merge remote branch 'eminence/master'
2010-09-28 22:53:01 -04:00
Andrew Brown
2d50b2e5f5 Merging in JPEG rendering code
Merge remote branch 'alexjurkiewicz/master'
2010-09-28 22:45:34 -04:00
Andrew Brown
ac7908e815 readme update with parallel pngcrush recipe 2010-09-28 22:35:13 -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
Alex Jurkiewicz
1f8d8b1343 Disable jpeg image optimization to work around a PIL bug.
Ref: http://mail.python.org/pipermail/image-sig/1999-August/000816.html
2010-09-28 17:15:26 +10:00
Andrew Chin
6240f40226 Half blocks (step/#44) should be rendered reasonably well.
Tested 1 half block (44), 2 half blocks (43), a 3 half blocks (43,44)
and all seem to look OK.
2010-09-28 00:09:50 -04:00
Andrew Chin
aa8a369aa8 Better cacti rendering 2010-09-27 21:32:26 -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