Commit Graph
249 Commits
Author SHA1 Message Date
Aaron Griffith 4eacfa467f Merge remote-tracking branch 'CounterPillow/rcon-observer' 2015-02-01 12:22:34 -05:00
Aaron Griffith bad4261cb5 Merge remote-tracking branch 'enaut/structure_overlay' 2015-02-01 12:15:56 -05:00
Caleb Sander a998911d02 Added information about --skip-scan to the docs 2015-01-28 22:44:14 -05:00
Nicolas F 79e60972e9 optimizeimages: Add documentation for jpegoptim 2014-10-10 21:10:07 +02:00
Nicolas F 16edd622a2 Add documentation for RConObserver 2014-10-06 21:52:21 +02:00
Franz Dietrich 086820ac72 Adding StructureOverlay an overlay to color the map according to structures.
A usecase to demonstrate a possible application of the extended functionality:

**"Rails Overlay that draws only the rails that are on Cobblestone for a subway map."**

With this patch it is very easy to achive that:

```python
MineralOverlay(minerals=[(((0, 0, 0, 66), (0, -1, 0, 4)), (255, 0, 0, 255)),
                         (((0, 0, 0, 27), (0, -1, 0, 4)), (0, 255, 0, 255))])
```

In this case the overlay will be red for rails on cobblestone and green for powerrails on cobblestone.
The syntax is `(<tuple of conditions>, <target color>)`
 * where `<target color>` is a 4 tuple with a `(r, g, b, a)` color
 * and `<tuple of conditions>` is a tuple with an arbitrary number of conditions with the following syntax:
`((relx, rely, relz, blkid), ...)` where the `rel<>` parameters specify the relative coordinates to the block that is checked if it matches bklid.

In the example the fist tuple `(0,0,0,66)` checks if at the current position is a
rail while `(0,-1,0,4)` checks if at one below the current position is a cobblestone.
If both are true then the color `(255, 0, 0, 255)` is used.

A Sample Config file exploiting the capabilities:

``` python
worlds['My World'] = "~/.minecraft/saves/test/"
outputdir = "/tmp/test_render"
rendermode = "lighting"

renders["render1"] = {
    'world': 'My World',
    'title': 'A regular render',
}
renders["render_overlay_dafault_rails"] = {
    'world': 'My World',
    'title': 'Default Rails',
    'rendermode': [ClearBase(), StructureOverlay()],
    'overlay': ['render1'],
}
renders["render_overlay_cust_rails"] = {
    'world': 'My World',
    'title': 'Custom Rails',
    #relative coordinates [[(relx, rely, relz, mineral)], (red, green, blue, alpha)]
    'rendermode': [ClearBase(), StructureOverlay(structures=[(((0, 0, 0, 66), (0, -1, 0, 4)), (255, 0, 0, 255)),
                                                            (((0, 0, 0, 27), (0, -1, 0, 4)), (0, 255, 0, 255))])],
    'overlay': ['render1'],
}
```

The "Default Rails" overlay uses default coloring of the structures overlay. "Custom Rails" uses some custom coloring.

fixes overviewer/Minecraft-Overviewer#556 and fixes overviewer/Minecraft-Overviewer#787
2014-09-03 12:05:11 +02:00
Andrew Chin 5d13030834 Bump versions and docs for 1.8 support! 2014-09-02 10:54:13 -04:00
Franz Dietrich 55bbe26916 Fix error in the config.rst file 2014-08-14 10:35:44 +02:00
Brooks 6cca3ed004 Latest version of minecraft jar
Updated the version variable in the short script to install the latest minecraft jar for textures.
2014-07-30 22:24:23 -04:00
Aaron1011 51e75a7d06 Fix typo 2014-07-09 10:52:12 -04:00
Aaron Griffith 35863578d7 Merge remote-tracking branch 'matrixhacker/master'
Conflicts:
	docs/config.rst
2014-06-26 05:14:49 -04:00
Nicolas F 948d2fa741 Minor fixes to documentation
* Fix the copypasted section in the README

  * Update version and dates
2014-06-04 13:23:30 +02:00
Nicolas F 3c33080e3d Update front page of the docs
lol
2014-06-04 12:23:43 +02:00
Nicolas F 57fd1e2ffb config.rst restructuring with new headings
This hopefully makes the page slightly less intimidating.
2014-06-04 12:17:29 +02:00
Nicolas F 192ff4c1a0 Long overdue addition of information to docs
* Add 2 FAQ entries, one concerning mod blocks, the other
    about the maps API.

  * Add note about The End and lighting strength. (Closes #1111)
    (Also, nice quads.)
2014-06-04 11:44:38 +02:00
matrixhacker bb1c4a7b85 Updated documentation and added an additional validation check for
improperly formatted crop zones.
2014-05-12 14:47:45 -04:00
matrixhacker b6ac54a2b6 Added the ability to specify multiple crop zones. 2014-05-09 23:44:46 -04:00
CounterPillow 6d28942626 Clarify optimizeimg docs; add warnings
The validator will now warn if it detects that a crushed output
is fed into something that is not a crusher.

The is_crusher method of an optimizer shall return True if the
optimisation process is lossless, and does try to find optimal
encoding parameters as opposed to only removing unneeded channels
or reducing palettes.
2014-05-08 20:56:46 +02:00
Aaron Griffith 4b2cbfb5ee Merge pull request #1074 from CounterPillow/optimizerewrite
Rewrote image optimisation stuff.
2014-05-06 18:25:09 -04:00
Aaron Griffith 7c23d6e86a added rendercheck mode 3, the identity function of rendercheck modes! 2014-05-01 16:48:28 -04:00
Aaron Griffith a8fc3300b4 general fixes for min/maxzoom, documentation cleared up
hopeful fix for #1086
2014-04-05 20:29:58 -04:00
John 2c5183e006 --check-tiles note about overestimating
added note about --check-tiles overestimating tiles and remaining processing time
2014-03-06 23:06:33 -05:00
CounterPillow 09477ed8a0 Rewrote image optimisation stuff.
The old one was broken anyway.
2014-03-04 00:39:59 +01:00
Jeremy Murray f18008a76d Correct case on observer import example. 2014-02-01 20:04:30 -08:00
Andrew Chin ded35116aa Some initial docs on how to use gist 2014-01-01 22:32:35 -05:00
Aaron Griffith 519e13a34f added note about signed APT repo to install docs 2013-12-31 16:47:43 -05:00
Andrew Chin 329b299664 Merge PR #1037 -- ServerAnnounceObserver.update() updates last_update 2013-12-26 23:36:24 -05:00
Andrew Chin 7089eef005 Add a minzoom option
This only affects what's written to overviewerConfig.js.  That is, it
does not change the amount of tiles rendered (it's exactly analogous to
maxzom)

Closes #994
2013-12-26 23:04:20 -05:00
Ean McLaughlin 574c0b0f1d Extend Observers Section
Added sections for MultiplexingObserver and ServerAnnounceObserver.
2013-12-09 23:18:19 -07:00
Andrew Chin 87356ba594 Updated "Installing Textures" section
Use 1.7.2 in the examples instead of 1.6.2, since a 1.7 version is required
2013-11-20 18:09:52 -05:00
Andrew Chin a20290ea83 Minor doc cleanups 2013-10-30 21:37:32 -04:00
Andrew Chin 3b373f5479 Merge PR #991 2013-10-03 18:48:44 -04:00
Andrew Chin 7a1249f1d0 Fix additional typos in docs (thanks tomthorogood) 2013-10-03 18:36:45 -04:00
Tom Thorogood be0ffa185c Update config.rst
Fix typo in example code that causes error in an actual config file.
2013-09-28 10:55:38 -07:00
CounterPillow dc40dce59a Moved icons to subdirectory, adjusted docs
I also added one of the icons to the manualpois example, so people
have an exmaple of how they can use these in their configurations.
2013-09-23 16:02:06 +02:00
CounterPillow b9298243b2 Added some icons for people to use in their POIs. 2013-09-19 01:10:42 +02:00
Andrew Chin ac4f8103ab Merge pull request #977 from jandahl/patch-1
Added clarification on 'northdirection' that it has to do with viewpoint...
2013-08-30 05:54:00 -07:00
Thomas Lake 2b493ce4f4 Add explanation about HTTPS 2013-08-29 20:49:18 +01:00
Jan Dahl dcd094bd1b Added clarification on 'northdirection' that it has to do with viewpoint angle 2013-08-25 13:10:24 +02:00
Andrew Brown 4599307491 more wording adjustments 2013-08-12 20:47:23 -04:00
Andrew Brown 9186be8cef updated texture version to 1.6.2 2013-08-12 20:43:48 -04:00
Andrew Brown fef4274021 missed the quotation block 2013-08-12 20:42:58 -04:00
Andrew Brown c7947271cf Updated the wording in the texture installing docs to be less confusing 2013-08-12 20:41:11 -04:00
Andrew Brown bec2715792 Added more explicit example for texture pack downloading 2013-08-12 20:30:08 -04:00
Nicolas F. 70b96e9c2e Add note about distutils bug. 2013-08-12 01:12:50 +02:00
Andrew Brown 66d469c4b8 fixed wording related to texturepath in config docs
Changed to be more accurate with the resource pack changes in minecraft
1.6
2013-07-05 23:55:34 -04:00
Andrew Brown 5fd0c32fa3 removed mkdir command in installing the textures
Apparently the wget -P flag creates directories.
2013-07-05 23:45:57 -04:00
Andrew Brown dbedb0e674 updated Installing Textures section of the docs
Added a command to download the official textures. Reworded the rest of
the section for clarity.
2013-07-05 23:36:55 -04:00
Andrew Brown 4f41d16e8e updated "installing the textures" section of the docs
Also fixed docstring in textures.py for the find_file method.
2013-07-05 16:01:40 -04:00
Thomas Lake f4d4c9ff5c Fix reference to stochastic command line option 2013-05-24 20:43:18 +01:00