Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Adding support for all other formats (including .gltf) #39

Open
WungielPolacz opened this issue Feb 6, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@WungielPolacz
Copy link

I'd want to use this plugin with format tscn. Actually it's possible but (in my case) trees doesn't appears in game mods. But in scene mode are visible. So I am stick to .mesh. Will you add more formats to use? It would be really helpful.

@dreadpon dreadpon changed the title Adding support for all other formats [FEATURE REQUEST] Adding support for all other formats Feb 24, 2024
@dreadpon dreadpon added the enhancement New feature or request label Feb 24, 2024
@dreadpon
Copy link
Owner

A note to self and any others who want .gltf support:

I hear you. Will be in one of the next updates (whenever that would be...)

It's quite a pain on the implementation side, cause the whole point is mesh optimization. It works only if using the "mesh" field because it's literally how it's done on the GPU level. And it doesn't quite work with gltf, since gltf may contain several meshes, in different positions and possibly parented to each other.

This creates a lot of permutations of how to stuff information from gltf into the Multimesh based optimization.

I'll need to figure it out somehow.

If you don't need optimization, you can already use gltf in the "spawned spatial" field to simply draw with scenes (unless there is a file extension restriction, in which cases just make an inherited scene with .tscn extension). But again, no rendering optimization. Just a whole lotta nodes.

@dreadpon dreadpon changed the title [FEATURE REQUEST] Adding support for all other formats [FEATURE REQUEST] Adding support for all other formats (including .gltf) Apr 27, 2024
@dreadpon dreadpon added this to the v2.0.0 milestone Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants