Commit Graph
100 Commits
Author SHA1 Message Date
Andrew Brown ab321c949a render inner-tiles even if there are no render-tiles to render 2011-11-26 17:29:08 -05:00
Andrew Brown dc3938f504 removed un-needed imports in rendernode and quadtree 2011-11-26 17:05:13 -05:00
Andrew Brown f2a465c559 Merge remote-tracking branch 'origin/master' into brownan-chunkscan
Conflicts:
	overviewer.py
2011-11-26 16:58:27 -05:00
Andrew Brown 5ef2a785fd added comment explaining the use of a separate pool 2011-11-25 22:40:51 -05:00
Andrew Brown a9bef297e7 added note about python3 compatibility 2011-11-25 09:52:39 -05:00
Andrew Brown 35890bb52c minor wording change (forgot to save for the last commit) 2011-11-25 00:46:50 -05:00
Andrew Brown 82864a1622 added an faq entry on copying tiles to another destionation
also added a link to the faq under help on the index page
also clarified the faq entry about adding new features or changing
texture packs
also fixed a typo
2011-11-24 23:30:33 -05:00
Andrew Brown 4de8acd1ee chunk scans are now done in parallel for multiple rendermodes 2011-11-20 12:49:44 -05:00
Andrew Brown 435c8ee1cb Merged master into brownan-chunkscan
This pulls in all the 1.9prep and textures.py updates into
brownan-chunkscan
2011-11-20 10:53:48 -05:00
Andrew Brown cd360c3c60 comments adjustment in nbt.py 2011-11-20 10:52:04 -05:00
Andrew Brown c6b56030ec dirtytile trees can now iterate at any level
Fixed some broken tests too.
2011-11-20 10:50:37 -05:00
Andrew Brown 4473ee0673 Made comments in sample.settings even clearer 2011-11-19 13:53:29 -05:00
Andrew Brown 83663733af added tile rendering speed output for debug mode 2011-11-19 10:49:31 -05:00
Andrew Brown 0be4e8664b added bounds checking for tiles during scan
fixes the problem where tiles outside the bounds (which can happen with
-z) would cause tiles to be rendered along the border even though they
have no chunks, causing a warning.
2011-11-18 10:01:22 -05:00
Andrew Brown 4c34e413ab renamed "level" to "depth" in DirtyTilesTree. Also...
iterate_dirty() yields tuples, not reverseiterators
added another level to test_iterate_level()
2011-11-16 20:53:52 -05:00
Andrew Brown 95b4ec5922 wrote some unit tests! 2011-11-16 20:39:01 -05:00
Andrew Brown bd08dbc955 Minor comments adjustments 2011-11-15 13:56:39 -05:00
Andrew Brown 142166ef8e Failing to delete a corrupt tile should really be an error in the log. 2011-11-13 11:36:27 -05:00
Andrew Brown 0a5c90ba98 delete a tile if the innertile routine can't open it
This makes corrupt tiles self-correcting on subsequent runs. Before,
the warning is printed but the tile remains. Worse, the warning won't be
printed again.
2011-11-13 11:23:49 -05:00
Andrew Brown 04a2f05d1c implemented stochhastic check with chunk scanning
Also changed uniform(0,1) to random()
2011-11-13 09:39:49 -05:00
Andrew Brown 866b499142 Lots of rearranging and comments touchups
fixes progress updates for first level tiles
fixed long-standing typo inntertile -> innertile
2011-11-13 09:22:19 -05:00
Andrew Brown 3cc22bc13c Two chunkscan optimizations implemented
Checks a path in the tree to see if it's already dirty before
calculating its filepath and checking its mtime

Changed Tile.get_filepath() to use str.join instead of os.path.join
2011-11-11 17:44:16 -05:00
Andrew Brown a822cd1d3c added an index of command line options with brief descriptions
Also added a warning to regionlist that it may be broken
2011-11-10 00:03:30 -05:00
Andrew Brown b9bca19cda fixed auto-detection for forcerender on empty maps
also re-arranged code so scan_chunks() returns the tree object
2011-11-09 23:17:27 -05:00
Andrew Brown f6b7e1b501 implemented forcerender and auto-detection of empty tiledirs
Also added a few debug lines during chunkscanning with timing info
2011-11-08 16:02:15 -05:00
Andrew Brown 14ed48f975 misc cleanup and minor optimizations 2011-11-08 15:31:01 -05:00
Andrew Brown 75070f817f fixes so the last commit runs on maps that need work 2011-11-07 23:18:38 -05:00
Andrew Brown 13f3ba90ab preliminary chunk-scan algorithm activated.
forcerender and stochastic are currently broken.
2011-11-07 22:18:51 -05:00
Andrew Brown 636913af57 Merge remote-tracking branch 'origin/master' into brownan-chunkscan
Conflicts:
	overviewer.py
	overviewer_core/quadtree.py
2011-11-07 21:04:01 -05:00
Andrew Brown d589369ea3 catch-all exceptions and print a more colorful message 2011-11-07 20:36:00 -05:00
Andrew Brown 49f8e1a09f configure_logger() takes a loglevel and verbose flag now 2011-11-07 20:11:10 -05:00
Andrew Brown b1c38a56f2 scan_chunks() works according to preliminary tests \o/ 2011-11-06 23:25:47 -05:00
Andrew Brown 6c0ab7e48c moved tile filepath calculation to Tile object 2011-11-06 21:12:11 -05:00
Andrew Brown 2e28375786 damn semicolons! 2011-11-06 20:58:50 -05:00
Andrew Brown 33667093a3 added the default value for bgcolor and imgformat in QuadtreeGen constructor 2011-11-06 20:46:05 -05:00
Andrew Brown 6e2d52ceee This should really raise an error if file not found 2011-11-06 20:35:11 -05:00
Andrew Brown 3f54347735 cleaned up some mess, clarified some things in comments 2011-11-06 18:27:37 -05:00
Andrew Brown 30e7083cd0 Tile.compute_path implemented and exhaustively tested 2011-11-06 10:01:44 -05:00
Andrew Brown 13bca41192 docs: illustration of quadtree paths 2011-11-06 09:38:19 -05:00
Andrew Brown c460b0747d added more docs on tile layout and addressing 2011-11-05 12:04:00 -04:00
Andrew Brown 5d8daabe05 re-named variables for increased accuracy 2011-11-04 18:34:08 -04:00
Andrew Brown 5d26d3e5f6 added repr, eq, neq methods to Tile class 2011-11-04 18:33:27 -04:00
Andrew Brown c56c39fac7 Added note to -v option in docs 2011-11-03 21:36:38 -04:00
Andrew Brown 665472814b wrote a bit of docs about quadtrees 2011-11-01 22:52:22 -04:00
Andrew Brown 72681a36cb re-factored the way tiles are passed from quadtree through rendernode 2011-11-01 22:32:34 -04:00
Andrew Brown ab53a9bd3e added a tree class to keep track of dirty tiles 2011-11-01 17:10:41 -04:00
Andrew Brown 96cf62bd14 changed "go" methods in world and quadtree to something more descriptive 2011-11-01 17:10:41 -04:00
Andrew Brown 996b299c79 On map shrink, delete top files to ensure they get regen'd 2011-11-01 17:10:41 -04:00
Andrew Brown 55adc75d31 minor cleanup, comments/docstring adjustment 2011-11-01 17:10:41 -04:00
Andrew Brown bcec6529d5 Merge pull request #524 from overviewer/fancylogging
Fancylogging for all!
2011-11-01 11:23:35 -07:00
Andrew Brown 877b036f1d Wrote "assembling a chunk" section of the docs 2011-11-01 12:50:43 -04:00
Andrew Brown 470440563c changed windows logging to be a special output stream 2011-11-01 00:11:13 -04:00
Andrew Brown 1d077fe34e better logging formatter with support for color 2011-10-31 19:01:39 -04:00
Andrew Brown 3917259e33 wrote more design docs on chunk positioning in tiles 2011-10-30 03:00:28 -04:00
Andrew Brown 3a0d859b73 moved block rendering images to own folder in docs 2011-10-30 00:58:10 -04:00
Andrew Brown bc9d368ae8 added section about biome support to docs 2011-10-27 01:04:23 -04:00
Andrew Brown f5ae4b3451 changed bare exceptions to except Exception 2011-10-26 22:36:23 -04:00
Andrew Brown b31160e3ad more minor clarifications 2011-10-26 22:00:25 -04:00
Andrew Brown a470ff50d6 added question headers to faq site and added an faq on windows cmd 2011-10-26 21:34:46 -04:00
Andrew Brown f07cf1e0d8 imporoved doc page cross-referencing 2011-10-26 21:19:53 -04:00
Andrew Brown 420e784451 added some comments 2011-10-24 18:17:13 -04:00
Andrew Brown e29731fef3 Stripped README of redundant info, added some to docs index 2011-10-24 16:36:19 -04:00
Andrew Brown aa04376a17 added a note about "map waaaaay too big" errors. 2011-10-24 11:51:31 -04:00
Andrew Brown e61291de4f changed reference url in overviewerConfig comments 2011-10-19 19:20:11 -04:00
Andrew Brown 2be184def6 added a bit about customizing web assets 2011-10-19 19:15:29 -04:00
Andrew Brown 600b801144 fixed some typos/errors in options docs page.
Also added an example.
2011-10-19 15:31:51 -04:00
Andrew Brown fa17d2c87d fixed typo, clarified some things, added cross-ref 2011-10-18 00:50:57 -04:00
Andrew Brown 546bf0ef4e fixed typo, clarified a sentence 2011-10-17 15:02:44 -04:00
Andrew Brown 6862ae4faf added in cross-reference 2011-10-16 23:27:05 -04:00
Andrew Brown 3954d232b8 misc docs tweaks 2011-10-16 23:16:43 -04:00
Andrew Brown 19d4946ae3 Completed options documentation. 2011-10-16 23:13:11 -04:00
Andrew Brown c852bffdaf When building cube images, paste sides over top, not the other way around
Fixes problem with stacks of blocks showing a bit of the top of the
blockr, most visible on spruce trees.
2011-10-15 12:59:03 -04:00
Andrew Brown 27330cb45f added quotes around parameter in pngout snippet
Thanks Lathanael
2011-10-13 23:28:18 -04:00
Andrew Brown 88448f932b fixed math error in design docs (I'm pretty sure)
also touched up the wording of some other areas
2011-10-07 00:38:58 -04:00
Andrew Brown cbe3d7e1a3 added note about specifying world numbers 2011-10-06 23:16:19 -04:00
Andrew Brown 7f82a5e91a wrote chunk rendering section of the design docs 2011-10-06 23:16:19 -04:00
Andrew Brown 8904e20f21 changed version number to 0.3.0 in sphinx config
apparently readthedocs didn't like using the util method to find the
version dynamically. Probably because it opens a subprocess to git to
find the version.
2011-10-06 23:16:19 -04:00
Andrew Brown cc9792177e modified cube building example to use grass 2011-10-01 20:11:03 -04:00
Andrew Brown fa4f8c0e3b cross-referenced command options from faq page. also
added --bg-color to options page
2011-10-01 19:24:32 -04:00
Andrew Brown 4ad984a052 changed docs version to match git version 2011-10-01 19:04:21 -04:00
Andrew Brown f06ab2d346 changed authors field and version 2011-10-01 17:56:42 -04:00
Andrew Brown 9f5bb3e6bf fixed typo in reference 2011-10-01 17:18:41 -04:00
Andrew Brown 58545d0aed merged in documentation 2011-10-01 16:06:59 -04:00
Andrew Brown 2cc06588a1 moved everything into a docs dir 2011-10-01 16:06:07 -04:00
Andrew Brown a6035a15c3 finished up the essential documentation 2011-10-01 15:58:31 -04:00
Andrew Brown 061db039c1 touch-up to the wording and figures in design doc 2011-10-01 01:02:13 -04:00
Andrew Brown ca63acf5aa integrated quickstart into installation and building pages. Wrote
installation stuff.
2011-10-01 00:41:18 -04:00
Andrew Brown 499637dd31 touched up the tessellation diagram 2011-09-30 20:43:53 -04:00
Andrew Brown c07cfb5d07 docs repo started 2011-09-30 19:22:02 -04:00
Andrew Brown 605811bf0c Merge remote branch 'eminence/master' 2010-11-07 09:08:56 -05:00
Andrew Brown a2918f5a56 now finds textures when using interactive console 2010-11-07 08:45:40 -05:00
Andrew Brown 21ac6689e6 Merge branch 'blending' of https://github.com/agrif/Minecraft-Overviewer into agrif-blending 2010-11-07 08:09:25 -05:00
Andrew Brown 366a56603b Merge remote branch 'emjay/master' 2010-10-31 13:27:47 -04:00
Andrew Brown 32552c50d6 only render overworld. Still renders grayscale though 2010-10-31 13:19:58 -04:00
Andrew Brown 32ba6c4424 clarified -z option in readme 2010-10-19 21:26:59 -04:00
Andrew Brown a10688132a moved directory creation to quadtree initialization 2010-10-19 21:16:13 -04:00
Andrew Brown f4f415514c Merge branch 'lighting' of http://github.com/agrif/Minecraft-Overviewer into lighting 2010-10-15 22:55:15 -04:00
Andrew Brown 4c65271dd0 doesn't crash on a corrupt world chunk 2010-10-15 22:43:40 -04:00
Andrew Brown ea179118bd added an option to skip generating region.js and marker.js 2010-10-15 22:23:15 -04:00
Andrew Brown 324ac5d28d updates mtime on chunk images that match the hash 2010-10-15 22:07:46 -04:00