0
Commit Graph

289 Commits

Author SHA1 Message Date
Nicolas F
61ebd35240 Add WebP image format support
Since Firefox 65 added support for WebP, users may be interested
in having maps that use WebP images. Support for this is added in
this commit, along with documentation for it.

A new option, "imglossless", controls whether we write out lossless
or lossy WebP images. The generic name "imglossless" as opposed to
a more specific "webplossless" was chosen in case future image
formats we also implement also support lossless/lossy modes in the
same format (JPEG-XL? AV1 image format?).

It's an okay meme but lossy mode really falls apart on our sorts
of images on the more zoomed out composite tiles, resulting in
pretty blurry messes. Might be due to a PSNR bias in the encoder,
which is to be expected from Google.
2019-03-04 17:04:09 +01:00
Nicolas F
0499f8d168 docs: update copyright year, version, release
Bump version and release to 0.13, update the copyright date from
2017 (!!!) to 2019.
2019-03-02 16:35:23 +01:00
Nicolas F
094b403515 docs: actually fix chestFilter example
oops
2019-02-21 16:36:48 +01:00
Nicolas F
b0921972ba docs: fix chestFilter example
Fixes #1509
2019-02-21 16:34:28 +01:00
Andrew Chin
753191f68e Merge #1311 into master 2018-05-06 13:47:17 -04:00
BobFrankly
2c2d1034ed Modernize Windows build instructions
Updates to the Windows build instructions, terminology pulled from the current "Visual Studio Community 2017" version, which is the free version of VS at this time. I wrote these as a first timer building Overviewer. I also moved all of the pre-requisites to a bulleted list under a single header.
2017-08-23 19:26:28 -07:00
Nicolas F
39d588ae45 docs: various small updates to build instructions
* python26 to python27
* PIL to Pillow
* Requirement on having python2, numpy and pillow for the MSVC build
* Mention -dev package for Pillow/PIL
2017-06-19 22:55:55 +02:00
Nicolas F
21b9e0aa13 docs: Clarify Ubuntu/Debian install instructions
We use HTTPS these days and mentioning python2.6 in 2017 is very
triggering to me.
2017-06-13 16:11:10 +02:00
Monkey0x9
e8bb3967f7 Change forgotten 1.11 to 1.12 in documentation 2017-06-11 13:59:14 +02:00
Nicolas F
4b75f7fa63 Merge branch 'snapshot' 2017-06-09 18:08:38 +02:00
Nicolas F
461f8647e0 Update strings to 1.12 2017-06-09 16:28:49 +02:00
Nicolas F
412c8231b7 docs: add a section about how to contribute
This adds a work-in-progress section with a few tips and tricks
about how one should go about contributing to the project. It mostly
focuses on making people familiar with some of the code, and giving
them a few tips along the way on how to work with Git.

A few more contribution examples should be added, and what most
notably is lacking right now is a section about the web output
part. This is due to us currently rewriting it in Leaflet, so any
examples added now would quickly become outdated.
2017-04-18 15:30:51 +02:00
Nicolas F
b7837a9656 docs: update copyright year to 2017 2017-03-24 15:29:22 +01:00
Nicolas F
52afa7f8d2 docs: optimise PNGs
I used zopflipng with 100 iterations on most of them, and advpng
with 300 iterations in zopfli mode on front_page_screenshot.png
2017-03-24 15:26:32 +01:00
Nicolas F
57a1000f4c docs: fix two warnings during docs building
sphinx does not enjoy duplicate link names, and unless your label
is pointing to a header, it needs an explicit name when referenced
too.
2017-03-24 14:53:07 +01:00
Nicolas F
032b8831f9 docs: fix code block in signs.rst 2017-03-24 14:42:16 +01:00
Nicolas F
ba5a4bbaed docs: add link to Twitter account to index.rst 2017-03-24 14:40:54 +01:00
Nicolas F
f9148b7e2e docs: Change some http:// URLs to https:// 2017-03-24 14:35:05 +01:00
Nicolas F
d11c9b5aa2 docs: remove remaining references to CentOS 5 2017-03-24 14:30:22 +01:00
Nicolas F
b393489ea9 docs: remove CentOS 5 build instructions
It's EOL in a few days and the instructions only add confusion.
Anyone still using CentOS 5 has bigger issues than not having
documentation on how to build Minecraft-Overviewer.
2017-03-17 17:09:35 +01:00
Nicolas F
99b223fb5a Merge pull request #1356 from overviewer/python2
Replace `python` with `python2`
2017-03-17 16:54:25 +01:00
Nicolas F
fa1e444890 docs: fix oxipng formatting 2017-03-16 16:44:23 +01:00
Nicolas F
4770af93f7 optimizeimages: add oxipng support 2017-03-16 15:50:02 +01:00
Andrew Chin
faa8d8f75c Replace python with python2
A continuation of c7d86eca76
2016-12-24 14:43:52 -05:00
Andrew Chin
5fecdf7477 Some minor changes based on github comment feedback 2016-12-24 14:37:47 -05:00
Andrew Chin
0801791cab Merge PR #1343 2016-12-24 14:33:24 -05:00
Nicolas F
8f44c92821 Replace mentions of Google Maps in documentation 2016-12-10 14:56:17 -05:00
Nicolas F
54b93754c7 genPOI/docs: Handle new sign id values
Minecraft now uses minecraft:sign as its id for signs, but also uses
Sign for older versions or chunks that have not yet been updated.

Change the genPOI sign wrangling code and the documentation to reflect
this change.

Fixes #1340.
2016-12-06 15:17:39 +01:00
Mark Vander Stel
d92f00d97d Update strings and items to 1.11
Update all strings and vars to 1.11.
Add new items and blocks to items.py.
2016-11-29 09:13:42 -05:00
Andrew Chin
67b6c4fd65 Updating linux build docs
Include some small text that clarifies how to run overviewer after a `build` step
2016-11-22 11:24:22 -05:00
manuelgu
5862b34e9e Update text for 1.10 2016-08-09 11:59:58 +02:00
Nicolas F
a4b6651072 Update docs version and copyright year 2016-06-30 09:09:58 +02:00
Nicolas F
917e38fd53 Make command line option docs more complete
Mainly, the genPOI options were finally documented.
2016-06-30 09:07:13 +02:00
Nicolas F
0d7731b125 Update client jar version in documentation 2016-06-30 07:57:15 +02:00
Nicolas F
9ae3ac2916 Add mingw-w64 build documentation 2015-08-16 00:17:19 +02:00
Franz Dietrich
788d90bbf2 Small documentation bug for StructureOverlay.
When adding documentation for the StructureOverlay I missed some
copy and paste error.

fixes #1229
2015-07-03 15:10:54 +02:00
Andrew Chin
ddfd88aad7 Update signs.rst
Added small note about how to look for the Markers button on a successful genpoi
2015-06-05 22:07:02 -04:00
Aaron Griffith
aad05b5ecf Merge pull request #1207 from tdierks/docs-import-change
Docs import change
2015-02-23 10:44:54 -05:00
tdierks
fc150a7739 Explain importing for filter functions
This code is correct, but doesn't work correctly with signs since they got JSON text formats in 14w25a. I will try to create another PR with an improved sign function tomorrow, but it's turning out to be complex, so for the moment, I'll stick with this tip on making imports work.
2015-02-11 00:41:51 -05:00
tdierks
0fdd6b70dd Explain ordered nature of renders dict 2015-02-10 20:45:43 -05:00
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