Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 508 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 508 Bytes

Obj To Nodebox

A script/mod for converting .obj files to minetest nodeboxes

Usage

Run the python script convert.py with the argument being the path to your .obj file. An optional second argument is a float scalar for the output, since often minetest treats the scale of models differently from nodes.

convert.py <filename> [<scalar>]

For example, run convert.py models/sample.obj 0.5

This will output into the terminal a lua table which can be copied into a mod for use as a nodebox.