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
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
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
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
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 Chin
9b06d980af
More World->RegionSet conversions. still broken
2011-12-22 00:23:20 -05:00
Andrew Chin
ffbd019db5
Small changes to get the quadtree to use RegionSets
2011-12-21 11:51:50 -05:00
Aaron Griffith
e8683fd0bc
saner timeout handling on MultiprocessingDispatcher
...
_handle_messages() now *doesn't* block if it's being called simply to
see what jobs are done, but still blocks and times out when it's
*waiting* on jobs to be done.
2011-12-21 06:32:55 -05:00
Aaron Griffith
2863876589
moved in signals from the gist
...
gist: https://gist.github.com/1479733
tracker: #564
2011-12-21 06:10:34 -05:00
Aaron Griffith
2717485031
dispatcher class now supports work-item dependencies
...
Thanks to ion in #overviewer for a particularly slick way to implement
this without using too much memory.
tracker: Issue #564
2011-12-21 04:43:17 -05:00
Andrew Brown
1933df32d6
Added comments about rendercheck option and dependency stuff
2011-12-21 01:21:59 -05:00
Andrew Chin
fbdeb90f9f
overviewer.py now runs without crashing
...
but still is broken
2011-12-20 23:17:28 -05:00
Aaron Griffith
77ae3e2cb6
some minor changes to allow multinode (!!!) dispatching
...
tracker: #564
2011-12-20 06:38:37 -05:00
Aaron Griffith
192591c2b0
comments and docstrings for the multiprocessing dispatcher
2011-12-20 05:39:41 -05:00
Aaron Griffith
8db7d37164
dispatcher docstrings and first multiprocessing dispatcher
...
tracker: Issue #564
2011-12-20 01:36:34 -05:00