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

Add thumbnails for imported 3D scenes to complement 3D mesh thumbnails #7205

Closed
kulkalkul opened this issue Jul 5, 2023 · 3 comments
Closed

Comments

@kulkalkul
Copy link

Describe the project you are working on

A 3D game with modular assets.

Describe the problem or limitation you are having in your project

GLTF resources have no thumbnail in FileSystem panel.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Building scenes would be easier if I could see the model I'm using beforehand. Right now I'm using names to differentiate between models, but it is cumbersome when there are lots of them.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

.obj files have thumbnails generated for them. As far as I can see, they are using ArrayMesh in Godot 4.0.3 (the version I'm currently using). So, in theory, it should be easy to adapt that part to .gltf/.glb files as they have their internal meshes. I don't know if there are any edge cases that can make implementing this hard.
Idle_2023-07-05_14-05-38

If this enhancement will not be used often, can it be worked around with a few lines of script?

I don't know that much about plugins but this requires either custom FileSystem panel or editing existing FileSystem with tricks, which I don't know if possible at all.

Is there a reason why this should be core and not an add-on in the asset library?

Because .obj already has this feature, so I feel it should be straightforward to implement it for GLTF formats, considering it is preferred format of many of the Godot projects as far as I know. This is a good QoL improvement for 3d asset workflow, that's why I think it should be included in the core.

@fire
Copy link
Member

fire commented Jul 5, 2023

This is a great idea. Trying to find a list of things to work on for 4.2. This could be one of them. Are you able to assist?

@Calinou Calinou changed the title Add Thumbnails for GLTF Resources (.gltf/.glb) in FileSystem, Just Like Wavefront (.obj) Resources Add thumbnails for imported 3D scenes to complement 3D mesh thumbnails Jul 5, 2023
@JoNax97
Copy link

JoNax97 commented Jul 5, 2023

Possibly related to #4759? I'm not sure if the same workflow would apply to scenes created from imported files and native scenes.

Edit: I believe this is a duplicate of #5076

@Calinou
Copy link
Member

Calinou commented Jul 5, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants