Andrew Brown
4c21fb2e05
modified tileset.py for the new Anvil format
2012-02-19 00:04:26 -05:00
Andrew Brown
293e16e17f
Started updating the design docs for the new format
2012-02-18 16:11:05 -05:00
Andrew Brown
6631460495
Fixed a typo
2012-02-18 11:35:18 -05:00
Andrew Brown
85b9ccd620
Merge remote-tracking branch 'origin/rewrite' into anvil
...
Conflicts:
overviewer_core/world.py
2012-02-18 11:07:56 -05:00
Andrew Brown
f7cc50fa9e
Preliminary modifications to world.py for new format. Untested.
2012-02-18 11:04:19 -05:00
Andrew Brown
d669034c4c
corrected y to z in functions in nbt.py
2012-02-17 20:11:02 -05:00
Andrew Brown
5e0d0df719
Merge pull request #616 from contre/rewrite
...
Setup.py calls for wrong sample config file
2012-02-16 09:40:42 -08:00
Andrew Brown
f8769c0a0d
--forcerender, --check-tiles, and --no-tile-checks now work
2012-02-16 11:36:31 -05:00
Andrew Brown
1457bf1564
Added a good sample config that actually works
2012-02-15 22:41:22 -05:00
Andrew Brown
6c22e306ba
removed texture_path global option from docs
2012-02-15 22:16:17 -05:00
Andrew Brown
b99b2230be
Merge branch 'rewrite' of github.com:overviewer/Minecraft-Overviewer into rewrite
2012-02-15 22:07:53 -05:00
Andrew Brown
2c412c3917
Added global defaults to config file which set renderdict defaults
2012-02-15 22:07:36 -05:00
Andrew Brown
9c0a8c01ee
re-arranged config docs, relaxed validator for north direction
2012-02-15 19:18:51 -05:00
Andrew Brown
6b449da966
added int array support to nbt.py
...
(untested) Also removed an extra import that I forgot about earlier.
2012-02-15 18:20:57 -05:00
Andrew Brown
0b7e42110c
Merge commit 'b2c3759' into rewrite
2012-02-15 18:13:01 -05:00
Andrew Brown
f5d07fa597
Added a "did you mean" feature for config parsing
2012-02-14 21:12:15 -05:00
Andrew Brown
aaf8e1d7cb
Changed "worldname" to "world" in configfile
...
Also brought tests up to date. All tests pass now.
2012-02-14 20:39:05 -05:00
Andrew Brown
2796daf943
Added Michael Fallows to contributer list. Thanks for your contributions!
2012-02-12 17:49:26 -05:00
Andrew Brown
8edf2edfcd
Merge remote-tracking branch 'redorkulated/patch-1' into rewrite
2012-02-12 17:22:25 -05:00
Andrew Brown
9c4de64a62
added the image extension to the outputted json metadata
2012-02-12 17:15:50 -05:00
Andrew Brown
5e2956f101
fixed error message raising an error of its own
2012-02-12 16:11:06 -05:00
Andrew Brown
adc9151f44
fixed jpg rendering
2012-02-12 15:57:53 -05:00
Andrew Brown
9fc9c2a781
set a default image quality
2012-02-12 15:55:03 -05:00
Andrew Brown
c94cc079c1
Merge remote-tracking branch 'origin/rewrite' into rewrite
...
Conflicts:
overviewer.py
2012-02-12 15:35:37 -05:00
Andrew Brown
ec2ae2ebfc
added --rendermodes option
2012-02-12 15:30:05 -05:00
Andrew Brown
607bb329cf
tileset objects now accept "jpg" or "jpeg" for jpeg format
2012-02-12 15:28:09 -05:00
Andrew Brown
e7995e19b2
config parser ignores extra items in config files now
2012-02-11 16:02:15 -05:00
Andrew Brown
2b724e67ee
Merge remote-tracking branch 'origin/master' into rewrite
2012-02-09 15:52:29 -05:00
Andrew Brown
38b985da3b
Added a link to the update blog in the readme and docs
2012-02-09 15:49:06 -05:00
Andrew Brown
fec8e28f5c
Added error detection to overviewerConfig.js parsing.
2012-02-08 21:31:45 -05:00
Andrew Brown
9319fee138
added processes option to command line and config file
...
Also the config file parser now just looks for all Settings objects in
settingsDefinitions.py, not the items in __all__
2012-02-08 21:05:02 -05:00
Andrew Brown
50ebdd7f2c
clarified some comments and conformed some function names
2012-02-05 00:20:58 -05:00
Andrew Brown
324100206b
changed the semantics of required and default in settings definitions.
...
I think it makes more logical sense now. Essentially, the default is
always used if the user doesn't specify a value. If there is no user
specified value and the default is None, then the action depends on the
value of required. required=True means raise an error. required=False
means silently omit that setting.
2012-02-04 22:06:29 -05:00
Andrew Brown
6d95d80a73
overhaul to configParser. Parsing config works now.
2012-02-04 21:23:44 -05:00
Andrew Brown
ceb98c4441
removed classes that are no longer used
2012-02-04 12:50:50 -05:00
Andrew Brown
d4379fff93
fixed up command line parsing to match what we discussed
...
now supports --config= with no world/destdir on the command line, and no
--config but with specifying world/destdir on command line. Options are
validated accordingly.
Depricated and commented out options removed from option parser.
Config file mode currently broken due to the lack of "outputdir" parsing
from the config parser.
2012-02-03 21:13:22 -05:00
Andrew Brown
ba12cdf12e
added some built-in rendermodes to rendermodes.py
2012-02-03 20:39:04 -05:00
Andrew Brown
68792d7015
updated usage text. Removed --display-config.
2012-01-29 12:21:47 -05:00
Andrew Brown
f23872f06f
added a docs link under getting started to the running and config pages
2012-01-29 12:01:33 -05:00
Andrew Brown
b30ea281a1
updated bgcolor faq since --bg-color no longer exists
2012-01-29 12:01:09 -05:00
Andrew Brown
42d1b5049f
RotatedRegionSet now works. Rotated renders now work.
...
Changed the rotation constants so numpy.rot90 works.
2012-01-28 18:26:37 -05:00
Andrew Brown
65c27d4c42
minor docs improvements
2012-01-28 15:11:19 -05:00
Andrew Brown
41e8546be6
Merge pull request #590 from contre/master
...
Add MCPatcher compliant fire image loading
2012-01-26 14:49:47 -08:00
Andrew Brown
9e278a0568
of course I fogot to add this file
2012-01-22 01:28:15 -05:00
Andrew Brown
8c71c802d2
docs update to Running page and new page Config. Removed Options.
...
Added all about the new config file format. Needs checking for accuracy.
Also need to update the faq and other sections of the docs now that the
options page is gone.
2012-01-22 01:26:04 -05:00
Andrew Brown
7def2894b6
Clarified docs for --stochastic-render
2012-01-19 21:10:02 -05:00
Andrew Brown
c63029a14d
Fixed potential nameerror in tileset.py do_preprocessing()
2012-01-18 10:09:59 -05:00
Andrew Brown
ff3bfceef7
more C code fixes. Activated caching.
...
Also removed some code that I accidentially left in.
Also added a traceback printing decorator around get_chunk() because the
C code can potentially swallow those exceptions.
2012-01-17 21:52:01 -05:00
Andrew Brown
bbe105ead7
Fixes segfaults in the C extension
...
This should have been part of 70ef0af0 but I didn't catch these.
2012-01-16 22:00:44 -05:00
Andrew Brown
66295aabd9
Find the map size even in child processes
...
Rendering needs to know self.treedepth, so this must be in child
processes and not just computed in do_preprocessing()
2012-01-16 21:58:48 -05:00
Andrew Brown
dafb659315
added __getstate__ and __setstate__ to TileSet to fix pickling
2012-01-16 02:19:34 -05:00
Andrew Brown
70ef0af00c
modified C extension for get_chunk() raising exception on not found
2012-01-16 01:59:16 -05:00
Andrew Brown
f9c24df769
Merge remote-tracking branch 'origin/rewrite-rendermodes' into rewrite
2012-01-16 00:50:57 -05:00
Andrew Brown
ba87959e31
added caching to chunks in RegionSet() currently disabled
...
This build is broken due to the mismatch in expected and actual error
condition for get_chunk. The C code still expects it to return None.
2012-01-16 00:48:30 -05:00
Andrew Brown
a48077fe54
removed unused imports in world.py. More docstrings
...
Also added __getstate__ and __setstate__ for pickling RegionSet
2012-01-15 19:10:14 -05:00
Andrew Brown
5096bff521
Cleaned up world.py and fixed find_true_spawn()
...
Added docstrings to the top of World and RegionSet
Added docstrings to some other methods
Removed unused methods that aren't part of our API
Changed get_chunk() to raise error on nonexistant chunks
Changed get_region_path() to _get_region_path()
UNTESTED!
2012-01-15 17:02:58 -05:00
Andrew Brown
9e61407c67
fixed a bug in TileSet. Traversal now works according to tests.
2012-01-08 03:12:06 -05:00
Andrew Brown
3995a06c97
added TileSet tests, fixed several bugs. Still needs work.
2012-01-08 02:51:06 -05:00
Andrew Brown
fb0a7b161e
forgot another thing sorry
2012-01-08 00:07:39 -05:00
Andrew Brown
ff418ba7c9
woops
2012-01-08 00:04:40 -05:00
Andrew Brown
df035aa00d
changed iteration algorithm for rendercheckmode 1
...
UNTESTED
2012-01-08 00:03:16 -05:00
Andrew Brown
b31c4377ab
fixed dependencies for TileSet
2012-01-06 21:28:01 -05:00
Andrew Brown
da18f74338
Fixed some render-tiles not being rendered
...
If a render-tile is only touched by chunks with blocks at the highest
point near the sky, then the render tile may not be rendered due to the
chunk scan's algorithm. Chunks in rows divisible by 4 were not
considering the tile above them, even though the chunk partially
overlaps. This is only seen for chunks with blocks at the very top of
them by the sky, and only when no other chunks would trigger that tile
for rendering.
2012-01-03 23:42:39 -05:00
Andrew Brown
4d0acc72fd
Fix tile range error in chunk scan
...
The chunk scan should have been checking tile bounds using the treedepth
value, not the world boundary. This was causing some tiles near the edge
to not get rendered. In the old version, the row/col boundaries were set
to the treedepth calculated bounds, so this wasn't a problem there.
2012-01-02 23:41:46 -05:00
Andrew Brown
3c1c962ed1
got this check backwards
2012-01-02 00:32:52 -05:00
Andrew Brown
948073fb9d
Merge remote-tracking branch 'origin/rewrite' into rewrite
2012-01-02 00:30:29 -05:00
Andrew Brown
16df71b060
_render_compositetile() fixed
2012-01-02 00:29:48 -05:00
Andrew Brown
42f6b7b6ad
forgot to save on my last commit
2012-01-01 23:31:27 -05:00
Andrew Brown
252e8ab33d
filled in render call to tileset's render_rendertile()
2012-01-01 23:20:08 -05:00
Andrew Brown
c866f2512b
fixed typos, clarified comments in tileset.py
2012-01-01 20:08:25 -05:00
Andrew Brown
b2da6d5b0a
TileSet updated for new RegionSet API
...
Except for a couple outstanding TODOs, TileSet is ready for action. One
of them is necessary: the call to the c renderer is not in yet.
2012-01-01 19:55:08 -05:00
Andrew Brown
06dd78dc89
copied in rendering routines but haven't updated them yet.
...
They still need to be updated for the new RegionSet interface
2011-12-31 00:16:37 -05:00
Andrew Brown
054e502885
setup rendercheck mode 1 to go layer-by-layer
...
Doesn't work yet.
2011-12-29 02:03:57 -05:00
Andrew Brown
0351d8201b
moved comments and added unimplemented methods.
...
I think I'm going to erase them and go a different direction with this
implemention though. Creating a commit here incase I change my mind.
2011-12-29 01:37:18 -05:00
Andrew Brown
a2788cf84f
removed an unneeded import
2011-12-28 16:10:17 -05:00
Andrew Brown
79356e4664
Implemented RendertileSet's posttraversal() routine
...
May not be the most efficient implementation.
2011-12-28 15:33:35 -05:00
Andrew Brown
a7ac6f325c
Updated comments with how the traversals will work
2011-12-28 15:12:58 -05:00
Andrew Brown
3d9603590b
changed Tile to RenderTile
2011-12-28 14:53:47 -05:00
Andrew Brown
cbd5a0e1cc
Changed DirtyTiles to RendertileSet
2011-12-28 14:41:49 -05:00
Andrew Brown
0245ed104b
more tileset code and comments on how the traversal will work
2011-12-22 05:00:16 -05:00
Andrew Brown
fa18b26eb5
copied DirtyTiles and Tile objects to tileset.py
2011-12-22 02:00:50 -05:00
Andrew Brown
49a840c01b
more of TileSet filled in
2011-12-22 02:00:50 -05:00
Andrew Brown
1933df32d6
Added comments about rendercheck option and dependency stuff
2011-12-21 01:21:59 -05:00
Andrew Brown
0b56ee0e4b
started writing TileSet. put convert coords in util.py
2011-12-20 01:17:35 -05:00
Andrew Brown
eed4110eec
Added in documetation for what options are accepted
2011-12-19 22:41:57 -05:00
Andrew Brown
9163d8d0a3
skeleton outline of TileSet object and tileset.py created
2011-12-19 22:17:28 -05:00
Andrew Brown
a078b46274
comments clarifications and whitespace adjustments
2011-12-17 21:51:32 -05:00
Andrew Brown
86c1b8ba15
dump markers json out in one shot. Added marker comments.
2011-12-17 21:51:32 -05:00
Andrew Brown
e5fed90d04
fixed up comments in googlemap.py, moved region.js to web_assets
2011-12-17 21:49:08 -05:00
Andrew Brown
3bdf380b6f
added screenshot to the front page.
...
Also changed "Overviewer" to "The Overviewer"
2011-12-17 13:46:36 -05:00
Andrew Brown
2c89cc645b
bumped docs to 0.4. Also lots of docs changes
...
Added faq entry about exorbitant memory usage
updated features section on the main page
Added a "what overviewer is not" section on main page
put new rendermodes on the options page
re-worded some things under the custom rendermodes section
2011-12-17 01:39:13 -05:00
Andrew Brown
4b622b1333
issue #559 : don't error if the map needs expanding but the tiledir was deleted
...
Also changed from using a join on self.destdir and self.tiledir to just
using self.full_tiledir, which is the same thing but already computed.
2011-12-11 11:27:07 -05:00
Andrew Brown
d4c6e40d59
renamed innertile to uppertile (makes more sense)
...
also changed a few "rendertile" to "worldtile"
2011-12-10 17:44:07 -05:00
Andrew Brown
55b6ba32ee
simplified centos build instructions. Thanks Gizmokid2005
2011-12-04 11:30:22 -05:00
Andrew Brown
4edc5e48b6
Set tile mtimes to the max of the chunk mtimes on render
...
or in the case of inner-tiles, the max of its child tile mtimes
2011-12-03 18:05:46 -05:00
Andrew Brown
73c2c1cfaf
avoid zero division error if there are no tiles to render
2011-12-03 12:14:04 -05:00
Andrew Brown
647c73f52b
fixed deprication warning on exception.message access
2011-12-03 12:10:18 -05:00
Andrew Brown
79060b6957
Merge branch 'master' of github.com:overviewer/Minecraft-Overviewer
2011-12-03 12:05:23 -05:00
Andrew Brown
b439eef3c6
wrote a failing test for dirtytile post traversal
...
For the to-be-implemented post traversal method to iterate over the
tiles in an order that will render correctly
2011-12-01 10:54:22 -05:00
Andrew Brown
ab321c949a
render inner-tiles even if there are no render-tiles to render
2011-11-26 17:29:08 -05:00