Code Monkey home page Code Monkey logo

unityvoxfileimport's Introduction

MagicaVoxel for Unity 2017

VOXFileLoader

γ€€γ€€The VOXFileLoader is a .vox reader to convert the .vox file from MagicaVoxel to static GameObject and Prefab with optimized obj file.

Alt

How to use:

  • Download a zip archive from the github page
  • Un-zip the archive
  • Copy the VOXFileLoader folder to Assets folder
  • Open Window -> Tools -> Cubizer -> show VOXFileLoader inspector
  • Select .vox file in the project view
  • Click 'Create Prefab from .vox file' button, you'll get a prefab and obj file from project view

Features:

  • Voxel file import for MagicalVoxel
  • Mesh Optimization
  • Level of detail

Requirements:

  • Unity 2017.2.0 or higher

Contact:

  • Reach me via Twitter: @Rui.
Copyright (C) 2016-2017 Ray-MMD Developers. All rights reserved.

https://github.com/ray-cast/UnityVOXFileImport

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

References:

  • Meshing in a Minecraft Game [link]

unityvoxfileimport's People

Contributors

ray-cast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unityvoxfileimport's Issues

'Path' does not contain a definition for '...'

In file

VOXFileLoader/Scripts/VOXFileImport.cs

I'll get an error.
Solved:
in line 551,557 and 615 change
Path.GetFileNameWithoutExtension(path)
to
System.IO.Path.GetFileNameWithoutExtension(path)

Same in line 96 and 126 change
Path.GetExtension(path)
to
System.IO.Path.GetExtension(path)

Exception: Bad Token: token is not RGBA

I created a model in Magica Voxel to test if the extension works.
I ended up getting an error.
I did other models but still got the error.

Please help me to solve this problem.

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.