diff options
author | Auke Kok <sofar@foo-projects.org> | 2015-12-10 22:58:11 -0800 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-08-26 05:26:08 +0100 |
commit | e58a55aa82dfc66325a694dcc3519d3c0f3388a6 (patch) | |
tree | 530f605a3598026de90da066abd16d6887cfcdba /po/de | |
parent | d767f025cb0d5cca29c1f2147d2a0931a088b717 (diff) | |
download | minetest-e58a55aa82dfc66325a694dcc3519d3c0f3388a6.tar.gz minetest-e58a55aa82dfc66325a694dcc3519d3c0f3388a6.tar.bz2 minetest-e58a55aa82dfc66325a694dcc3519d3c0f3388a6.zip |
Make plantlike drawtype more fun
Adds several new ways that the plantlike drawtype mesh can be changed.
This requires paramtype2 = "meshoptions" to be set in the node
definition. The drawtype for these nodes should be "plantlike".
These modifications are all done using param2. This field is now
a complex bitfield that allows some or more of the combinations to
be chosen, and the mesh draw code will choose the options based as
neeeded for each plantlike node.
bit layout:
bits 0, 1 and 2 (values 0x1 through 0x7) are for choosing the plant
mesh shape:
0 - ordinary plantlike plant ("x" shaped)
1 - ordinary plant, but rotated 45 degrees ("+" shaped)
2 - a plant with 3 faces ("*" shaped)
3 - a plant with 4 faces ("#" shaped)
4 - a plant with 4 faces ("#" shaped, leaning outwards)
5 through 7 are unused and reserved for future mesh shapes.
bit 3 (0x8) causes the plant to be randomly offset in the x,z
plane. The plant should fall within the 1x1x1 nodebox if regularly
sized.
bit 4 (0x10) causes the plant mesh to grow by sqrt(2), and will cause
the plant mesh to fill out 1x1x1, and appear slightly larger. Texture
makers will want to make their plant texture 23x16 pixels to have the
best visual fit in 1x1x1 size.
bit 5 (0x20) causes each face of the plant to have a slight negative
Y offset in position, descending up to 0.125 downwards into the node
below. Because this is per face, this causes the plant model to be
less symmetric.
bit 6 (0x40) through bit 7 (0x80) are unused and reserved for
future use.
!(https://youtu.be/qWuI664krsI)
Diffstat (limited to 'po/de')
0 files changed, 0 insertions, 0 deletions