Describe the project you are working on:
RPG
Describe the problem or limitation you are having in your project:
(As far as I know,) Converting a sprite/spritesheet into a 3D model requires using different programs such as Blender, MagicaVoxel, etc., then reimporting into Godot as .GLTF/.FBX or something.
I'm not sure if these programs support batch processing of a bunch of sprites at once, but if they don't, it would be tedious to convert each sprite manually.
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Provide a functionality that allows a user to convert a sprite into a 3D voxel object, or batch process a spritesheet/directory of sprite files to create multiple objects.
Allowing the user to export the models as .GLTF files would be useful for animating them in another program if necessary.
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
(Not really sure) But maybe it could work using CSG, subtracting from the mesh wherever there's a transparent pixel, then extruding the mesh to give it some depth.
If this enhancement will not be used often, can it be worked around with a few lines of script?:
It wouldn't be a few lines.
Is there a reason why this should be core and not an add-on in the asset library?:
This actually could be an add-on.
Something like this could help users transition from working in 2D to 3D, since it wouldn't require the user to be familiar with 3D modeling programs or acquire 3D assets.
This looks like something for an add-on... (and I think one such already exists)
Voxelization is a difficult problem with no "one size fits all" solution, so I think it's better left to an add-on as well.
This actually could be an add-on.
If something isn't used very often and can be an add-on, please open an issue on godot-extended-libraries/godot-ideas instead of this repository :slightly_smiling_face:
See for example:
https://github.com/antopilo/VoxelFactory
Awesome!
If something isn't used very often and can be an add-on, please open an issue on godot-extended-libraries/godot-ideas instead of this repository 馃檪
Sorry, didn't know about that repo. Will use it next time.
Closing, since VoxelFactory already exists.
Thanks!