0

Fix/improve the --check-terrain option to work with the new texturepacks

Also, updated texturepack-related docs

Related to #907
This commit is contained in:
Andrew Chin
2013-03-17 12:12:12 -04:00
parent 5b937eb231
commit 7ae83d014a
6 changed files with 36 additions and 17 deletions

View File

@@ -540,7 +540,9 @@ values. The valid configuration keys are listed below.
``texturepath``
This is a where a specific texture pack can be found to be used during this render.
It can be either a folder or a zip file containing the texture pack.
It can be either a folder or a zip file containing the texture pack. If specifying
a folder, this option should point to a directory that *contains* the textures/ folder
(it should not point to the textures folder directly).
Its value should be a string.
.. _crop:

View File

@@ -100,9 +100,10 @@ The first step is rendering the block sprites from the textures. Each block is
"built" from its textures into an image of a cube and cached in a
:class:`Textures` object.
Textures come from a terrain.png file in the form of 16 by 16 pixel images.
(Higher resolution textures are resized and the process remains the same). In
order to draw a cube out of the textuers, an `affine transformation`_ is applied to
Textures come from files inside of a "textures" folder. If the file is square (has equal width
and height dimensions), it is scaled down to 16 x 16 pixels. Non-square images are used with animated
textures. In this case, the first frame of the animated texture is used, and also scaled to a 16 by 16 image.
In order to draw a cube out of the textuers, an `affine transformation`_ is applied to
the images for the top and sides of the cube in order to transform it to the
appropriate perspective.

View File

@@ -124,7 +124,7 @@ Windows, Mac, and Linux as long as you have these software packages installed:
* Numpy
* Either a Minecraft Client installed or a terrain.png for the textures.
* Either a Minecraft Client installed or a textures/ folder for the textures (possibly from a texturepack)
The first three are included in the Windows download. Also, there are additional
requirements for compiling it (like a compiler). More details are available in

View File

@@ -245,12 +245,12 @@ If you want or need to provide your own textures, you have several options:
wget -N http://s3.amazonaws.com/MinecraftDownload/minecraft.jar -P ~/.minecraft/bin/
* You can manually extract the terrain.png from minecraft.jar or your favorite
* You can manually extract the textures folder from minecraft.jar or your favorite
texture pack. If you've built the Overviewer from source or are using the
windows exe, place the file in the same directory as overviewer.py or
windows exe, place the folder in the same directory as overviewer.py or
overviewer.exe.
* Specify any terrain.png or texture pack you want with the
* Specify any texture pack you want with the
:ref:`texturepath<option_texturepath>` option.
If you copy your world before you render it