Skip to content

A mod/script for converting .obj model files to bounding-box nodeboxes for use in Minetest

License

Notifications You must be signed in to change notification settings

regulus79/objtonodebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A mod/script for converting .obj model files to bounding-box nodeboxes for use in Minetest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published