17 Commits

Author SHA1 Message Date
Damien Moore
03cdd77362 minetestmapper-numpy: add support for drawing underground areas of the map (based on count of nodes beneath any opaque node) 2014-03-24 17:54:28 -04:00
Damien Moore
06e9555d11 minetestmapper-numpy.py: fixed edge rendering border air/ignore nodes 2014-03-14 09:11:52 -04:00
Damien Moore
8519a84c41 fix coordinates and orientation when facing east, north and up 2014-03-13 23:43:43 -04:00
Damien Moore
32f837af6e minetestmapper-numpy: add command line option --pixelspernode to allow scaling of the final image (looks better) 2014-03-13 21:29:46 -04:00
Damien Moore
28f73896f2 minetestmapper-numpy: correct drop shading calculation for north and east facing cross-sections 2014-03-13 18:28:58 -04:00
Damien Moore
1f8a27d3e2 minetestmapper-numpy.py: 1. fix rendering of north and east (incorrect default maxy value for those direciton) 2. better fog implementation (including command line args --fog for fog strength and --fogcolor to set it's color) 2014-03-13 11:44:44 -04:00
Damien Moore
45fe3147b9 minetestmapper-numpy: tweaked command line arguments (default max and min height, desciptions) 2014-03-13 10:57:30 -04:00
Damien Moore
14638feb64 minetestmapper-numpy: execute bit 2014-03-13 10:40:19 -04:00
Damien Moore
700c5f7a67 minetestmapper-numpy: new command line option --facing (down=default, up, north, south, east and west) to draw cross-sections as well as top-down views of the map. all views are no drawn as if standing at the edge of the box defined by --region, --minheight and --maxheight (e.g. as if sitting on top of the box for --facing=down, as if look at the box from the northern side (highest z axis value of the box) for south). required considerable refactoring of the database lookup code 2014-03-13 10:38:43 -04:00
Damien Moore
d7a524ec0c minetestmapper-numpy.py: completed command line options description 2014-03-06 10:46:12 -05:00
damienlmoore@gmail.com
897a92fec1 minetestmapper-numpy.py: refactored code using a class World to define the calls needed to scan and generate the data for the map (also moved the legacy cruft to functions) 2014-03-06 10:13:06 -05:00
Damien Moore
53c5e01490 minetestmapper-numpy.py: add minheight and maxheight command line args to prevent drawing node below and above those limits. 2014-03-05 23:26:18 -05:00
Damien Moore
5caaadcf8a minetestmapper-numpy.py: refactor the code into functions, no more global vars and use argparse for command line arguments 2014-03-05 22:54:23 -05:00
Damien Moore
1ec1c62d01 minetestmapper-numpy: make the border and other drawing options work again 2014-03-05 00:13:35 -05:00
Damien Moore
a61ba854a4 minetestmapper-numpy: numpyized the drawing code and now its about 10x faster (but some features potentially missing and need to add the border back) 2014-03-04 23:40:06 -05:00
Damien Moore
1ee39f4e93 minetestmapper-numpy: clean up various cruft (removing the old array.array code really helps performance) 2014-03-04 21:39:16 -05:00
Damien Moore
13e160531c minetestmapper-numpy: implementation of minetestmapper that uses numpy to improve memory usage and (slightly) improve performance 2014-03-04 21:23:39 -05:00