0
Commit Graph

1455 Commits

Author SHA1 Message Date
Aaron Griffith
7cacc59428 setup.py now auto-discovers available render primitives 2012-01-08 00:52:30 -05:00
Aaron Griffith
a682b8a689 broke out nether, heightfading, depth, and edgelines from base primitive 2012-01-08 00:08:16 -05:00
Aaron Griffith
e3610f8ac5 moved to a layer-based rendermode system, moved normal mode to base primitive
options are now handled partially in the python side, in rendermodes.py
2012-01-08 00:08:16 -05:00
Aaron Griffith
6f66a31738 ripped out all the rendermode option stuff, preparing to move it to python 2012-01-08 00:08:16 -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 Chin
4255b26fc7 Fixed some crashes in assetManager
Copy in the rest of the web assets
2012-01-07 23:56:08 -05:00
Andrew Chin
0537733bca Merge remote-tracking branch 'origin/rewrite' into rewrite 2012-01-07 23:05:02 -05:00
Andrew Chin
25db39463f The AssetManager will now create a kinda working html output 2012-01-07 23:04:42 -05:00
Aaron Griffith
4d61e41f9f fixed crash when an option isn't recognized 2012-01-07 22:51:09 -05:00
Andrew Chin
9aa3847068 Merge remote-tracking branch 'origin/rewrite' into rewrite 2012-01-07 21:25:19 -05:00
Aaron Griffith
14f68ebeb7 import in __init__.py no longer prevents setup.py from working 2012-01-07 20:29:46 -05:00
Aaron Griffith
992f737984 fixed import loop and incorrect blockdata expansion 2012-01-07 20:23:39 -05:00
Andrew Chin
cb2f0129bc Allow regionsets to be named in a settings.py file 2012-01-07 15:11:19 -05:00
Aaron Griffith
1baf506a59 renders now work with the multiprocessing dispatcher 2012-01-06 21:56:26 -05:00
Andrew Brown
b31c4377ab fixed dependencies for TileSet 2012-01-06 21:28:01 -05:00
Aaron Griffith
1f2c1a281e the rest of the render modes are now working 2012-01-06 20:38:50 -05:00
Aaron Griffith
4eaf103213 fixes to get lighting mode working again 2012-01-06 20:23:15 -05:00
Andrew Chin
f76fd28a82 Use the overworld as the default regionset 2012-01-05 00:27:41 -05:00
Aaron Griffith
e1a6d96e87 changed last "import Image" to "from PIL import Image" 2012-01-04 00:22:05 -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 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 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
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