aheadley
f3d23fb8f8
clean up observer code
2012-03-17 14:34:57 -04:00
aheadley
46b04dd09a
implement observer model
2012-03-16 22:26:16 -04:00
Andrew Chin
729fcda964
Display a spawn marker
2012-03-11 17:59:29 -04:00
Andrew Brown
91f5e2c479
added support for removing tiles that shouldn't exist with --check-tiles
...
--check-tiles is now activated by shrinking maps
better detection for --forcerender situtations
Also cleaned up some docs and comments
Moved tiledir creation to TileSet constructor
2012-03-11 01:18:30 -05:00
Andrew Brown
fe55d5343c
added a "changelist" option
2012-03-06 23:37:29 -05:00
Aaron Griffith
626129394a
split up util.py into files.py and logger.py, moved code appropriately
2012-03-05 12:12:27 -05:00
Andrew Brown
62c537a95e
Merge remote-tracking branch 'origin/rewrite' into anvil
2012-02-26 21:10:42 -05:00
Andrew Brown
f43498d033
Added a "crop" feature to render subsets of worlds
2012-02-26 20:19:26 -05:00
Aaron Griffith
8b28e42c8d
Merge branch 'rewrite' into anvil
...
Conflicts:
overviewer_core/src/overviewer.h
overviewer_core/tileset.py
overviewer_core/util.py
overviewer_core/world.py
2012-02-26 19:39:58 -05:00
Andrew Brown
19f6f136e4
Now writes images to temporary files and atomically moves in place*
...
* on systems with an atomic os.rename
2012-02-26 00:16:16 -05:00
Andrew Brown
c759b20f8e
added helpful notice about running into corrupted tiles
2012-02-25 21:44:21 -05:00
Andrew Brown
c3c559fcd3
changed this_rendertime to be the max of all chunk mtimes
2012-02-25 21:26:50 -05:00
Andrew Brown
16ed65e019
Use zoom value from json to determine if maps should be expanded
2012-02-25 21:24:16 -05:00
Andrew Brown
195e08d4a1
Determine an appropriate rendercheck mode automatically
2012-02-25 20:07:07 -05:00
Andrew Brown
f48f0445d1
Dump assets and "initial" data before rendering starts
...
Now does preprocessing off of main() instead of in the dispatcher
initializer.
2012-02-25 19:33:35 -05:00
Andrew Brown
2957677e32
Merge remote-tracking branch 'origin/rewrite' into anvil
2012-02-23 19:48:38 -05:00
Aaron Griffith
b234301521
small, cargo-cult change to how tileset.py positions drawn chunk sections
2012-02-21 02:42:06 -05:00
Andrew Chin
54f511ec3d
Hide the " - default" suffix on worlds that use the default dimension
2012-02-20 14:27:30 -05:00
Andrew Brown
4c21fb2e05
modified tileset.py for the new Anvil format
2012-02-19 00:04:26 -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
9c4de64a62
added the image extension to the outputted json metadata
2012-02-12 17:15:50 -05:00
Andrew Brown
adc9151f44
fixed jpg rendering
2012-02-12 15:57:53 -05:00
Andrew Brown
607bb329cf
tileset objects now accept "jpg" or "jpeg" for jpeg format
2012-02-12 15:28:09 -05:00
Andrew Chin
c60936efbd
Remove development/debug output
2012-02-11 15:57:38 -05:00
Andrew Chin
b7d2733f0c
The compass now changes direction to make the tileset
2012-02-10 20:44:11 -05:00
Andrew Chin
96602a48d4
Specifying a dimension in a config file now works
2012-01-27 20:30:58 -05:00
Andrew Brown
c63029a14d
Fixed potential nameerror in tileset.py do_preprocessing()
2012-01-18 10:09:59 -05:00
Andrew Chin
0d23adb237
Avoid digging into the tileset when writing out config.js
2012-01-16 22:54:35 -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 Chin
48da4a6a3c
Write/read last_rendertime
2012-01-15 00:22:45 -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 Chin
a098e5d01a
Merge remote-tracking branch 'overviewer/rewrite' into rewrite
2012-01-02 00:03:31 -05:00
Andrew Chin
287b16fd13
Fixing some settings stuff
2012-01-02 00:03:10 -05:00
Aaron Griffith
c88bfa3adc
almost-working full TileSet render
2012-01-01 23:58:18 -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 Chin
35f5bc82a4
Fixed a few more typos
2012-01-01 16:52:39 -05:00