New 3D Stuff!
hey kids! guess what? something new is coming! (to minetest)


(Thanks Tonyka for this tutorial)
3D furniture: by Tonyka
http://minetest.net/forum/viewtopic.php?id=2103
http://minetest.net/forum/viewtopic.php?pid=27356#p27356


[Mod] xPanes [xpanes] by XYZ
http://minetest.net/forum/viewtopic.php?id=2117



(Thanks Tonyka for this tutorial)
tonyka wrote:is very simple ...
Measurements can be represented in various ways,
Decimal: 0.42, 0.279, -0.1 ...
Fractional: 1/2, 5/12, -2 / 5 ...
easier it is to use the decimal, which is what we are all used
a point is achieved by its position x, y, z
x = width
y = high
z = length
an object is created only scoring two points against:
{point 1, point 2},
then be so ...
{x, y, z, x, y, z},
1 block in minetest measures 1 x 1 x 1 being the focal point of the cube the point 0, 0, 0, and opposite points, the -0.5, -0.5, -0.5 and 0.5, 0.5 0.5.
everything you draw has to be within those measures
let's practice, I draw a bar in the center of the block that measures (0.2 x), (1 y), (0.2 z), then the center of the block to the first point Abria-0.1x,-0.5y, -0.1 x, the center of the block to the second point Abria 0.1x, 0.5y, 0.1x;
and therefore: {-0.1, -0.5, -0.1, 0.1,0.5,0.1}
Try with different values and observe the changes ...
is all used ...
3D furniture: by Tonyka
http://minetest.net/forum/viewtopic.php?id=2103
http://minetest.net/forum/viewtopic.php?pid=27356#p27356


[Mod] xPanes [xpanes] by XYZ
http://minetest.net/forum/viewtopic.php?id=2117






