Giter VIP home page Giter VIP logo

godot-magicavoxel-importer-with-extensions's Introduction

This is an addon for Godot 3.5. A Godot 4.0 version is available on the Godot4.0 branch.

A fork of CloneDeath's Godot plugin MagicaVoxel importer with extensions.

This fork adds a number of features that are waiting to be pulled into CloneDeath's plugin. If you wish to use these features now then use this plugin instead.

  • Hiding layers in MagicaVoxel removes their voxels in Godot. - This allows for toggling optional objects in MagicaVoxel, such as clothing and weapons.
  • MagicaVoxel voxels are rendered in layer order in Godot. - MagicaVoxel VOX files are now shown with the latest layers "on top" of earlier layers. This lets the user decide which voxels take precedence and is useful when adding tight features where an extra voxel would be inappropriate, such as for facial expressions or tight clothing.
  • An option has been added to only render the first MagicaVoxel keyframe in Godot. - MagicaVoxel allows for creating multiple keyframes of voxels. If each keyframe represents a separate pose then it can look strange when they are all rendered together in Godot. This option fixes that by only showing voxels from the first keyframe. It is on by default.
  • Can now access multiple MagicaVoxel keyframes. - MagicaVoxel allows for the creation of keyframes for animations. A new importer has been added for MagicaVoxel VOX files (it's selectable in the "Import" tab). The new importer is called "MagicaVoxel MeshLibrary" and represents a MagicaVoxel VOX file as a MeshLibrary with one mesh for each keyframe. The original importer is still available and is used by default. It is called "MagicaVoxel Mesh" and loads a MagicaVoxel VOX file as a single, static Mesh.
  • A new node-type has been added to easily animate keyframed MagicaVoxel VOX files - Once all keyframes are in a MeshLibrary (using the new importer), this new node-type, "FramedMeshInstance", lets you easily animate them. It takes the MeshLibrary and an an integer called "Current Frame". "Current Frame" lets you select which keyframe is display. You can set it in the inspector or with an AnimationPlayer to animate the VOX sprite.

NOTE: If you modify a VOX file, and its associated MeshLibrary doesn't fully update, try reloading the scene (menu Scene->Reload Saved Scene).

godot-magicavoxel-importer-with-extensions's People

Contributors

bamyazi avatar clonedeath avatar jon-heard avatar n3rdw1z4rd avatar qbradq avatar

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.