Giter VIP home page Giter VIP logo

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

Contributors

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

Stargazers

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

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

Material IDs are not kept upon import

This plugin is ALMOST perfect. ALMOST.
However, there should be an option to import Material Maps so you can set them in-engine, eg. Emissions, Transparency, metals, so on. At the moment, the whole model can only have one SpatialMaterial.

Godot 4.2.1
Also tried on 4.0 but same result.

Unable to load addon script from path!

Getting this error when trying to import this addon to my Gotdot4 project.

Error: "Unable to load addon script from path: 'res://addons/MagicaVoxel_Importer_with_Extensions/plugin.gd'. This might be due to a code error in that script.
Disabling the addon at 'res://addons/MagicaVoxel_Importer_with_Extensions/plugin.cfg' to prevent further errors."

Code Line:
image

Getting Errors while trying to Import VOX File

When Greedy Mesh Generator is Off
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:205 - Invalid get index '0' (on base: 'Dictionary').
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:50 - Unable to iterate on object of type 'Nil'.
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-mesh.gd:62 - Invalid get index '0' (on base: 'Nil').
core/io/file_access.cpp:807 - Condition "f.is_null()" is true. Continuing.
Importing: res://Vox/David.vox (scale: 0.1, file version: 150, greedy mesh: false, snap to ground: false)

When Greedy Mesh Generator is On
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:205 - Invalid get index '0' (on base: 'Dictionary').
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:50 - Unable to iterate on object of type 'Nil'.
res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-mesh.gd:62 - Invalid get index '0' (on base: 'Nil').
core/io/file_access.cpp:807 - Condition "f.is_null()" is true. Continuing.
Importing: res://Vox/David.vox (scale: 0.1, file version: 150, greedy mesh: true, snap to ground: false)

I get errors when I don't use Greedy Mesh Generator

I tried to use the extension with Godot 4.1.2 Standalone Mono version, on Win 10 LTSC, by installing it trough the AssetLib.
It works when I import the .vox file with "Greedy Mesh Generator" option open but it has no material support.
When I try to import the .vox file with Culled Mesh Generator to gain access to materials I instead get errors and the creation looks white and "smushy"

Errors in question:
image

How the creation looks in the editor:
image

How it should look:
image

Can't import vox animations

I'm using godot 4.2.2 stable, with magicavoxel 0.99.7.1, and whenever I try to import the T-rex, or deer, it just imports them on the first frame only.
I also tried to disable first keyframe only, and it did import everything, but not as a mesh library - as a single mesh with all frames combined.

Crash on Enable

I'm not sure if this is where to post this, but I can't find any help online.
Whenever I try and enable MagicaVoxel Importer on godot it just freezes at 66% and godot becomes unresponsive.
Any solutions?
image

Godot hangs during import of .vox files [Godot 4]

When i install the plugin and add a single .vox File importing works, but as soon when i add several files at once it hangs while importing and it will never finish.

image

This issue becomes even more annoying when restoring a project from git and opening the godot editor. It will never finish reimporting the files.

You can test the problem by creating a new project, adding a few Voxel Files (e.g. the sample files which come with magica voxel) and then install and activate the MagixaVoxel importer plugin.

The console output is as follows:
MagicaVoxel Mesh Importer: Ready
MagicaVoxel MeshLibrary Importer: Ready
Importing: res://addons/MagicaVoxel_Importer_with_Extensions/Metadata/vox-icon.vox (scale: 0.1, file version: 150, greedy mesh: true, snap to ground: false)
Importing: res://cars.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://3x3x3.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://castle.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://chr_knight.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://doom.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://monu1.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://room.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://menger.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://teapot.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://monu3.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
Importing: res://monu2.vox (scale: 0.1, file version: 200, greedy mesh: true, snap to ground: false)
<ArrayMesh#-9223370095848265367>
<ArrayMesh#-9223370088214631934>
<ArrayMesh#-9223370080128013634>
<ArrayMesh#-9223370079591143786>
<ArrayMesh#-9223370078584509762>
<ArrayMesh#-9223370078517401459>
<ArrayMesh#-9223370048519738571>
<ArrayMesh#-9223370048385520529>
<ArrayMesh#-9223370048217749282>
<ArrayMesh#-9223370048049977438>
<ArrayMesh#-9223370047932536428>
<ArrayMesh#-9223370047865427044>

It seems to do something, but the import never stops. Also only a few .import files are created. Also the mesh files are never written:
image

I tried godot 4.0.2, 4.0.3 RC and even the latest build of 4.1. I also tried the linux version, which has the same problem.

The issue seems related to "ResourceSaver.save(meshes[0], full_path)" as the importer itself seems to be working without any issues. For example i can manually load the voxel files from script.

With Godot 3.5 everything seems to be working (Using related MagicaVoxel Importer Version).

Do others have the same problem? Do you have an idea whats going wrong?

Error, Plugin is unable to import vox files.

This is the error it throws:
MagicaVoxel Mesh Importer: Ready MagicaVoxel MeshLibrary Importer: Ready Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Transient parent has another exclusive child. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Attempt to open script 'res://addons/MagicaVoxel_Importer_with_Extensions/plugin.gd' resulted in error 'File not found'. res://addons/MagicaVoxel_Importer_with_Extensions/plugin.gd:8 - Parse Error: Could not find script "res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-mesh.gd". res://addons/MagicaVoxel_Importer_with_Extensions/plugin.gd:9 - Parse Error: Could not find script "res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-meshLibrary.gd". res://addons/MagicaVoxel_Importer_with_Extensions/plugin.gd:13 - Parse Error: Could not find script "res://addons/MagicaVoxel_Importer_with_Extensions/framed_mesh_instance.gd". Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Transient parent has another exclusive child. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. Compressed texture file is corrupt (Bad header). Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. Compressed texture file is corrupt (Bad header). Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. Unimplemented _get_priority in add-on. Unimplemented _get_priority in add-on. editor/editor_file_system.cpp:1904 - BUG: File queued for import, but can't be imported, importer for type '' not found. editor/editor_file_system.cpp:1905 - Method/function failed. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. editor/editor_file_system.cpp:2163 - Condition "!importer.is_valid()" is true. Continuing. Compressed texture file is corrupt (Bad header).

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.