Git Product home page Git Product logo

bukkit3dmodelbuilder's Introduction

Bukkit3DModelBuilder

A combination of C++-written mesh voxelizer and a Bukkit server plugin which allows to build .OBJ models in Minecraft.

Installing

You need a Bukkit server running on some UNIX. Then go download the latest release and unzip it to your <server_directory>/plugins as is.

Usage

Create a directory named 3dmodels in the server root and store your .obj models there (models must be triangulated!).

You must be logged as a player on a Minecraft server.

Command: '/build3dmodel <modelname> <dimension> [material], [material], ...'

Example: '/build3dmodel suzanne.obj 128 STONE, GRASS_BLOCK'

You can specify as much materials as your .obj has, in the same order as your modeling software exports. No .mtl needed/supported, you supposed to specify minecraft blocks which look similar to your materials by hand.

Known problems

  • Minecraft client leaves the server while long-time building due to tick timeout.
  • Also server itself can crash due to default timeout (60 sec). You can override the timeout in the server properties (set it to -1 to turn it off).
  • If building process continues without player on a server, the lighting on the blocks will be broken. For now, you can fix the lighting after building completed using some another bukkit plugin (e.g. LightCleaner)

bukkit3dmodelbuilder's People

Contributors

m8u avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

clienthax

bukkit3dmodelbuilder's Issues

Segfaults

It seems under the right circumstances the first outputVoxels loop can segfault with out of range memory access, from what i can see it is exceeding the capacity of the array,

./voxelize Duck.obj 10
free(): invalid next size (fast)
Aborted (core dumped)

duck.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.