55770131f2 | ||
---|---|---|
models | ||
previews | ||
textures | ||
.cdb.json | ||
.gitattributes | ||
README.md | ||
TODO.txt | ||
init.lua | ||
mod.conf | ||
samples.lua | ||
screenshot.png | ||
settingtypes.txt |
README.md
Simple Models
Description
A set of very simple models for Minetest.
Usage
Models
-
for nodes with dimensions 1x2x1
-
preview:
-
texture map:
simple_models_panel_1x2x1:
-
for door or panel-like nodes with dimensions 1x2x1
-
preview:
-
texture map:
simple_models_panel_rear_1x2x1:
- for door or panel-like nodes with dimensions 1x2x1 positioned at rear
- same texture map as simple_models_panel_1x2x1
Tables
smodel
is an alias of simple_models
.
There are some tables for accessing pre-defined attributes:
simple_models.cube_1x2x1:
- fields:
- mesh: "simple_models_cube_1x2x1.obj"
- box: {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}
- alias: simple_models.cube
simple_models.panel_1x2x1:
- fields:
- mesh: "simple_models_panel_1x2x1.obj"
- box: {-0.5, -0.5, -0.5, 0.5, 1.5, -0.45}
- alias: simple_models.panel
simple_models.panel_rear_1x2x1:
- fields:
- mesh: "simple_models_panel_rear_1x2x1.obj"
- box: {-0.5, -0.5, 0.45, 0.5, 1.5, 0.5}
- alias: simple_models.panel_rear