0

Commit Graph

  • 3fdf70b61d Fix problem with get_lvldata in chunk.py: filename = None doesn't mean chunk corrupt. Alejandro Aguilera 2011-03-24 23:47:17 +01:00
  • d04bea2b66 Add functions generate_pseudo_data and check_adjacent_blocks to iterate.c Alejandro Aguilera 2011-03-24 23:43:11 +01:00
  • 4da53b4f9c Load the 4 adjacent blocks in iterate.c Alejandro Aguilera 2011-03-24 23:40:01 +01:00
  • 7daa1bac9d Now supports both MSVC and mingw32 Andrew Chin 2011-03-23 22:52:41 -04:00
  • 57e99725df Removed noise leftover from last commit Andrew Chin 2011-03-23 21:31:51 -04:00
  • 977bf09a12 Bunch of changes to make VS happy Andrew Chin 2011-03-23 20:34:49 -04:00
  • c18d6924ea fixed transparent block lighting Aaron Griffith 2011-03-23 03:27:42 -04:00
  • d36bd20e6a fixed lighting for half-step blocks Aaron Griffith 2011-03-23 02:52:19 -04:00
  • ccddba2d81 ported spawn render mode to C Aaron Griffith 2011-03-23 02:31:09 -04:00
  • 69bb56dcb4 added night rendermode Aaron Griffith 2011-03-23 00:33:59 -04:00
  • 19a2eafcd5 fixed black lines showing up on lit maps, at chunk boundaries Aaron Griffith 2011-03-23 00:19:54 -04:00
  • ff464bde3c removed lighting/night/spawn bools, now we just reference rendermode directly Aaron Griffith 2011-03-23 00:13:17 -04:00
  • f5264e9306 rewrote get_lighting_coefficient in C Aaron Griffith 2011-03-23 00:03:26 -04:00
  • 24950f6024 moved rendermode_normal into a separate file, like rendermode_lighting Aaron Griffith 2011-03-22 23:09:12 -04:00
  • a885568d4e Added missing DECREF Andrew Chin 2011-03-21 23:23:35 -04:00
  • 97d708106a Fixed typo preventing build Andrew Chin 2011-03-21 23:18:34 -04:00
  • 0e85f87fa7 removed NULL checks on render mode interface Aaron Griffith 2011-03-21 20:46:30 -04:00
  • e9b30cf780 changed PyArray_GETPTR3 to getByteArray3D Aaron Griffith 2011-03-21 20:34:48 -04:00
  • b312cef52e put lighting render mode in its own file; it's about to get *way* more complicated Aaron Griffith 2011-03-21 19:30:34 -04:00
  • 4a01a5fb7b separated normal and lighting render modes Aaron Griffith 2011-03-21 19:11:10 -04:00
  • 1872ccd690 remove swap files from repo, updated .gitingore to ignore them Andrew Chin 2011-03-21 09:00:08 -04:00
  • b908c6e07c separated iterate and rendermode code, rendermodes are now defined by interface structs Aaron Griffith 2011-03-21 07:40:14 -04:00
  • 7b7f97d6c5 moved important render state into a struct, to prepare for modular render modes Aaron Griffith 2011-03-21 06:40:37 -04:00
  • da58be569f C code style fixes for lighting/normal code merge (woops...) Aaron Griffith 2011-03-21 06:21:55 -04:00
  • cd34d6052b renamed is_transparent (more like other function names), and exposed it to other C files Aaron Griffith 2011-03-21 06:18:51 -04:00
  • 88d5f15131 fixed blockid memory leak Aaron Griffith 2011-03-21 06:05:06 -04:00
  • 2881324084 merged lighting and non-lighting render code Aaron Griffith 2011-03-21 06:02:47 -04:00
  • fd0924a93b moved lighting check from world object to quadtree object, where it should be now Aaron Griffith 2011-03-21 05:35:11 -04:00
  • c603f2344f Merge branch 'dtt-c-render' into lighting Aaron Griffith 2011-03-21 05:32:10 -04:00
  • 56f6218ea8 updated .gitignore to include settings.py Aaron Griffith 2011-03-20 21:45:13 -04:00
  • 04ef95e4d6 renamed gmap.py to overviewer.py Aaron Griffith 2011-03-20 21:41:25 -04:00
  • 0e87368a06 moved google map related code int googlemap.py (from quadtree.py) Aaron Griffith 2011-03-20 21:23:26 -04:00
  • 61819a7f30 Merged in dtt-c-render Andrew Chin 2011-03-20 21:29:05 -04:00
  • 329c7557f6 Move some code out of the render_loop function and into a 1-time init routine Andrew Chin 2011-03-20 21:13:17 -04:00
  • 4e9985c611 changed web_assets_hook to use new config-file function support Aaron Griffith 2011-03-20 00:46:56 -04:00
  • 6f60439f14 accept callables in the configFile with type="function" Andrew Chin 2011-03-20 00:37:34 -04:00
  • 29dc98ce2a Fix a -p 1 regression Andrew Chin 2011-03-19 23:49:56 -04:00
  • e096eb45ff Initial version of C lighting code Andrew Chin 2011-03-19 22:55:59 -04:00
  • 346ee004e8 fixed some things left over from configfile merge Aaron Griffith 2011-03-19 21:17:29 -04:00
  • ebc043b95c Merge branch 'master' into dtt-master-merge Aaron Griffith 2011-03-19 21:15:05 -04:00
  • c286f840bb Merge remote branch 'upstream/configfile' into dtt-config-merge Aaron Griffith 2011-03-19 21:10:40 -04:00
  • 0622ba9e72 Merge remote branch 'aheadley/region-validate-fixes' into dtt-c-render Aaron Griffith 2011-03-19 20:53:34 -04:00
  • 8ad7a29f6a Merge remote branch 'xon/dtt-c-render-region-cache' into dtt-c-render Aaron Griffith 2011-03-19 20:49:17 -04:00
  • 38deb98d5a added command line option for web_assets postprocessing hook Aaron Griffith 2011-03-19 20:45:40 -04:00
  • ac0055a6d7 Fix Windows compat with stashing the quadtree object into each worker process Xon 2011-03-20 07:30:15 +08:00
  • cd7b9456a9 Fixed worker processes being passed the full quadtree object. Caused massive performance regressions when caching stuff in quadtree.world Offloaded self._get_chunks_in_range into worker process. Xon 2011-03-19 23:36:26 +08:00
  • 1d666c7be7 Fixed render_innertile_batch Xon 2011-03-19 16:23:11 +08:00
  • 0046da5594 render_inntertile & render_inntertile now called in batches in the worker process, speeds up update scan with a lot of tiles to skip. Xon 2011-03-19 16:01:33 +08:00
  • ec255bf29b Added region cache invalidation & reloading. Cached region mtimes. Xon 2011-03-20 08:24:43 +08:00
  • d534e7137d Merge branch 'master' into dtt-c-render Aaron Griffith 2011-03-19 19:28:10 -04:00
  • 494caba598 added a nice error if c_overviewer is missing, simplified composite.py Aaron Griffith 2011-03-19 18:53:29 -04:00
  • edf34f6d59 changed level data loader to retry up to twice before declaring a chunk corrupt Aaron Griffith 2011-03-19 18:23:23 -04:00
  • 5ae361824b cleaned up contrib/validateRegionFile script Alex Headley 2011-03-19 17:45:20 -04:00
  • 26d781f249 declaration tweak to make some compilers happy Andrew Chin 2011-03-19 14:37:48 -04:00
  • fae67de9f0 fixed some bugs in the validateRegion script Alex Headley 2011-03-19 14:28:19 -04:00
  • 76f85d0d2c Added ctrl-c handling, output is a single line (verbose reports what error occured), added optparsing, supports multipule files or a dir Xon 2011-03-20 01:57:47 +08:00
  • cfabf16148 Clarify if opening the region file failed or if the headers are wonky Xon 2011-03-20 01:22:34 +08:00
  • 6f340dceee New conrtib script to validate a region file Xon 2011-03-20 01:19:23 +08:00
  • b9433173c9 Fixed worker processes being passed the full quadtree object. Caused massive performance regressions when caching stuff in quadtree.world Offloaded self._get_chunks_in_range into worker process. Xon 2011-03-19 23:36:26 +08:00
  • e113a24ae0 Fixed render_innertile_batch Xon 2011-03-19 16:23:11 +08:00
  • 2be64f2aa7 render_inntertile & render_inntertile now called in batches in the worker process, speeds up update scan with a lot of tiles to skip. Xon 2011-03-19 16:01:33 +08:00
  • 79d021279f Tweaked _get_chunks_in_range & related call tree. ~12% improvement by inlining self.world.get_region_path ina pure update scan. Xon 2011-03-19 13:59:40 +08:00
  • 6a52e5f796 Fix typo in file header Xon 2011-03-19 13:39:59 +08:00
  • 1afb2b3d53 Addded intial region caching. Loads all the offsets & timestamps @ start to share to worker proceses. From 14609247 function calls (14608852 primitive calls) in 118.278 CPU seconds to 12232301 function calls (12231906 primitive calls) in 75.825 CPU seconds Xon 2011-03-19 13:36:40 +08:00
  • 1ac922983f Use the list of transparent_blocks from chunk.py. Andrew Chin 2011-03-19 00:38:30 -04:00
  • 28b750b694 changed block lookup to use numpy macros Aaron Griffith 2011-03-19 00:15:29 -04:00
  • f9ae158457 removed log message in iterate.c Andrew Chin 2011-03-18 16:37:47 -04:00
  • b92dcd96ee increased max result queue size back to brownan/master normal Aaron Griffith 2011-03-18 16:22:48 -04:00
  • 383e8197af Performance improvements on update scan Xon 2011-03-19 02:50:44 +08:00
  • 08597ab1c0 Fix performance regression caused by the lack of region/chunk cache at the world level Xon 2011-03-19 02:48:57 +08:00
  • 6941bc3378 fixed up new C code to be (mostly) C89-compliant Aaron Griffith 2011-03-17 23:04:41 -04:00
  • b20e881c5e Merge branch 'direct-to-tiles' into dtt-c-render Aaron Griffith 2011-03-17 22:29:24 -04:00
  • ba83b6bf00 added contrib script to clean out old caches Aaron Griffith 2011-03-17 22:22:45 -04:00
  • 8c50addcdd Merge branch 'master' into direct-to-tiles Aaron Griffith 2011-03-17 21:47:04 -04:00
  • ad0899bb8a handle bad biome files on load, instead of waiting for an IndexError later Aaron Griffith 2011-03-17 21:37:39 -04:00
  • 997c247d6c updated marker positioning code to jive with updated rendering code Aaron Griffith 2011-03-11 18:05:21 -05:00
  • c79b0b9b20 changed imgy calculation and moved "imgy -= 12" to start of loop Alejandro Aguilera 2011-03-11 17:43:18 -05:00
  • 6519d71eaa changed setup.py to include numpy include paths Xon 2011-03-09 19:10:35 -05:00
  • 5852c17ec8 changed my code style to be more in line with eminence's (and PEP 7), added GPL notice Aaron Griffith 2011-03-08 19:58:09 -05:00
  • 07dd219d20 refactored c extensions into one Aaron Griffith 2011-03-08 17:43:50 -05:00
  • 7555bcf1af moved c extensions into src/ Aaron Griffith 2011-03-08 16:54:20 -05:00
  • 4e63e6e9fa Merge commit 'eminence/direct-to-tiles' into dtt-c-render Aaron Griffith 2011-03-08 16:34:26 -05:00
  • 4aa7fff086 And also for double slabs. Alejandro Aguilera 2011-03-08 17:01:58 +01:00
  • 80027c7cc5 Add special case in textures.py for the different slabs. Alejandro Aguilera 2011-03-08 16:33:44 +01:00
  • 8958290ac8 Merge branch 'master' of git://github.com/brownan/Minecraft-Overviewer Andrew Chin 2011-03-07 19:11:11 -05:00
  • 5a05105b62 Merge branch 'master' into dtt-merge Aaron Griffith 2011-03-06 18:05:28 -05:00
  • 9c7d6a184d Print error messages after print_help Andrew Chin 2011-03-06 17:34:26 -05:00
  • a5612a1fa5 moved corrupt chunk handling to get_lvldata so it applies to all chunk loading Aaron Griffith 2011-03-06 15:48:48 -05:00
  • 5cb599fabb added a more informative error if the map is too big for Overviewer to handle Aaron Griffith 2011-03-06 15:35:40 -05:00
  • 8b6b5df8ef handle get_worlds() returning None correctly Aaron Griffith 2011-03-04 23:21:23 -05:00
  • 6a1ee964bf inlined 'iterate_chunkblocks' (backported from Xon's code) Aaron Griffith 2011-03-06 01:57:05 -05:00
  • 66a9306a29 Experimental code to provide a C implementation of chunk_render Andrew Chin 2011-03-06 00:30:40 -05:00
  • 1e080e6ed2 Merge branch 'master' of git://github.com/brownan/Minecraft-Overviewer Andrew Chin 2011-03-04 21:13:15 -05:00
  • 48642e0e5b changed biome fix to be more consistent with the other region code Aaron Griffith 2011-03-03 20:48:32 -05:00
  • a6805c2e0c updated biome rendering to use latest Biome Extractor format Aaron Griffith 2011-03-03 12:27:47 -05:00
  • 1bb6d03c90 Don't render buttons as full blocks. Alejandro Aguilera 2011-03-02 17:25:44 +01:00
  • be26dc702b added option to QuadtreeGen to specify tile output directory Aaron Griffith 2011-03-02 08:29:33 -05:00
  • 5a043ab3d6 fixed -d flag, which now deletes just overviewer.dat Aaron Griffith 2011-03-02 08:28:55 -05:00
  • 300d4ac53e added back lighting, night, and spawn support Aaron Griffith 2011-03-02 08:21:41 -05:00
  • 94c1fbfaa6 fixed typo in quadtree.py Aaron Griffith 2011-03-01 20:42:58 -05:00