| schems | ||
| .gitignore | ||
| init.lua | ||
| LICENSE | ||
| palettes.lua | ||
| README.md | ||
matmod
a mod allowing to import 3d models to minetest
usage
Models are loaded from /schems/.txt or /schems/.txt A model file contains one pixel per line in x,y,z coordinates and optionally r,g,b values, see azer.txt and azer_rgb.txt
Material is either a mcl material name ( without mcl prefix) like you can find in nodes_base.lua or a palette with pal: prefix. The default material is mcl_core:stone.
/place <name> <material> - loads model file for placement on next punch
ie /place azer or /place azer goldblock or for rgb models only /place azer_rgb pal:concrete
now punch the node, where you want to place the model. Look around, sometimes the models are bhind you and surprisingly big.
/place scale <percentage> - sclaes the last placed model in place, is either 0..1 or 1..100
/place undo - removes the last placed model. You may need to fly into
/place shift <x>,<y>,<z> - moves the last placed model around ie /place shift ,,`
/place mult <x>,<y>,<z> - multiplies the coordinate matrix , ie /place mult 1,-1,1 turns the model upside down (you might want to /place shift 0,50,0 or similar to get it out of the ground)
/place flip - rotates the model +/- 90° in the x/z plane while preserving y (the height)
/place clear - clear the undo cache