appgurueu / voxelizer

Turns 3D models into astonishing voxel builds.
7 stars 2 forks source link

Bug? or am i a noob #4

Open AnarchyEnthusiast opened 3 months ago

AnarchyEnthusiast commented 3 months ago

Hey, tried setting up this mod today and im getting this error.. any help? Its in trusted mods, i have the dependencies, i tried using my own obj and files etc, didnt work, so i tried default settings and it still does not work.

OUTPUT of /vox place or /vox 2


AsyncErr: Lua: Runtime error from mod '' in callback on_chat_message(): ...tis/snap/minetest/1926/.minetest/mods/voxelizer/main.lua:156: attempt to perform arithmetic on field 'width' (a nil value)
stack traceback:
    ...tis/snap/minetest/1926/.minetest/mods/voxelizer/main.lua:156: in function 'triangle_consumer'
    ...ap/minetest/1926/.minetest/mods/voxelizer/obj_reader.lua:58: in function 'read_object'
    ...ap/minetest/1926/.minetest/mods/voxelizer/obj_reader.lua:66: in function 'read_obj'
    ...tis/snap/minetest/1926/.minetest/mods/voxelizer/main.lua:193: in function 'place'
    .../minetest/1926/.minetest/mods/voxelizer/chatcommands.lua:239: in function 'func'
    ...ristis/snap/minetest/1926/.minetest/mods/cmdlib/main.lua:297: in function <...ristis/snap/minetest/1926/.minetest/mods/cmdlib/main.lua:263>
    ...26/usr/bin/../share/minetest/builtin/common/register.lua:26: in function <...26/usr/bin/../share/minetest/builtin/common/register.lua:12>
appgurueu commented 2 months ago

This is probably caused by a problem with reading the texture. If you try https://github.com/appgurueu/voxelizer/commit/ad6a3b503cdb27afa82ea293bb3317ac7758815f / latest CDB release (just released, oops) you should get a better error message.

AnarchyEnthusiast commented 2 months ago

Ok, i now i just get a message in chat "Failed to place model : Error converting texture: Unknown error"