0
Commit Graph

131 Commits

Author SHA1 Message Date
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
Andrew Chin
c2a1d8487a Start of the new rewrite code flow. TileSet still needs work 2012-01-01 16:12:10 -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
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
Aaron Griffith
24d8dc4b99 dispatcher status callback
Right now it's called every 100 work items. This number is completely
arbitrary and should probably be tuned.
2011-12-26 10:36:52 -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