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 Chin
c14cd1a66f
Fixed/added some config parsing tests
2012-01-02 01:13:29 -05:00
Aaron Griffith
a1dc392526
c_overviewer is now auto-initialized, and some other minor fixes
2012-01-02 00:40:56 -05:00
Andrew Chin
fbb5230849
World test case stuff
2012-01-02 00:33:19 -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 Chin
74a3fd7915
new skeleton for world test case
2012-01-01 23:28:28 -05:00
Andrew Chin
4a12d3dadc
Updated test/data/world submodule
2012-01-01 23:26:37 -05:00
Andrew Chin
8ef25ca72e
Added new test data submodule
2012-01-01 23:26:37 -05:00
Andrew Brown
252e8ab33d
filled in render call to tileset's render_rendertile()
2012-01-01 23:20:08 -05:00
Aaron Griffith
31f894d4e9
removed: chunk.py, quadtree.py, rendernode.py
2012-01-01 23:12:05 -05:00
Aaron Griffith
a69a78f412
c_overviewer.render_loop now works with normal render mode
2012-01-01 23:02:30 -05:00
Aaron Griffith
55e83e50da
chunks are now loaded properly from the regionset
2012-01-01 22:44:11 -05:00
Aaron Griffith
f9b0f8667b
initial update of C code to work with textures object
2012-01-01 22:44:08 -05:00
Aaron Griffith
c4a183b9b0
moved most global vars in textures.py into an instantiatable class
2012-01-01 22:43:37 -05:00
Andrew Chin
319d444997
Fixed typos... they're not my fault!
2012-01-01 22:20:43 -05:00
Andrew Chin
6fa86d39bc
Removed stupid north_dir, and fixed unpacking
2012-01-01 22:11:52 -05:00
Andrew Chin
92880c7c38
Use the right coordinate system
2012-01-01 22:03:43 -05:00
Andrew Chin
c102211195
Merge remote-tracking branch 'overviewer/rewrite' into rewrite
2012-01-01 21:20:54 -05:00
Andrew Chin
ecceaeeb35
Removed all old code from RegionSet. Added RotatedRegionSet
...
Nothing has been tested
2012-01-01 21:20:17 -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
b1d5dee84d
Remove unused function
2012-01-01 17:56:31 -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 Chin
c17fb351f0
Removing more stuff that we will not support just yet
2012-01-01 14:31:38 -05:00
Andrew Chin
0a23187f51
Removed ConfigOptionParser usaged
...
Command line args are now parsed with the vanilla OptParser. This
paves the way for a new settings.py parser
2012-01-01 14:05:51 -05:00
Andrew Chin
fed7ae0157
Allow global defaults to be specified
2011-12-31 20:59:02 -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
Aaron Griffith
d0032ac9ff
Merge remote-tracking branch 'ion1/master'
2011-12-30 13:22:54 -05:00
Aaron Griffith
5b13559235
added note about needing python2.6 for debian packages
2011-12-29 21:07:59 -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 Chin
2d99aef78f
Start of some unit tests for setting.py parsing
2011-12-28 16:04:24 -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
Aaron Griffith
740f5ee628
dispatcher.finish_jobs() has been removed
...
the other dispatcher functions can provide the same functionality, so
removing finish_jobs() only makes the dispatcher interface slimmer.
2011-12-26 10:05:57 -05:00
Aaron Griffith
e6ccd79b1b
blocks with invalid or unsupported data will now still draw *something*
...
it looks weird to just draw nothing, especially if the block is
opaque, since you can then see through the world.
fixes issue reported in Issue #563
2011-12-24 15:42:28 -05:00
Andrew Chin
c7ee75d68d
Started work on a MultiWorldParser to replace ConfigOptionParser
2011-12-24 01:10:58 -05:00
Andrew Chin
579e82e2af
New settings definitions and validators.
...
Will be used by a new settings.py parser. In progress
2011-12-24 00:22:45 -05:00
Andrew Brown
0245ed104b
more tileset code and comments on how the traversal will work
2011-12-22 05:00:16 -05:00