Thumbnail from preview3D for .ptex files
Feature/enhancement description:
I'm a blender user and it's amazing to be able to see the files with the miniature of the camera, maybe there could be something similar using the preview3D when saving a file no? and if this could be applied in this 2 cases, would be awesome:
- File manager of the OS (I'm using Linux Nobara Gnome for example):
- Material's Maker FileDialog:
Godot's FileDialog node does not support file previews in thumbnails, so this can't be implemented until https://github.com/godotengine/godot-proposals/issues/6831 is implemented on the engine side.
Oh ok...well...i'll go over there to se if we can make some noise ;P cause that would be awesome :D
https://github.com/godotengine/godot/pull/108147 will allow this.
Oh ok, but wait a second, I've just figured out that it seems that the FileDialog is for when opening files from Material Maker right? that would be great too! and it's nice to see that @KoBeWi is already waiting for approval, but I was in fact talking about thumbnails but directly on the OS file manager, for example, i'm in Linux Nobara Gnome and I can see al the miniatures of the blender files too, not only from the dialog inside blender. Not sure if I explain my self, but in fact the image that I've uploaded is the Gnome File Manager...it's not inside Material Maker.
PS: I've updated the initial Issue to be clearer
OS file manager thumbnails need OS-specific implementations (e..g. shell extensions on Windows). These typically work by calling the program with a dedicated command line argument to generate a thumbnail which is then written to a special folder, and this thumbnail is then displayed by the OS file manager.
It's certainly possible to do with Material Maker, but I expect thumbnail writing to be fairly slow given its relatively long startup times (Blender generally starts up faster than Material Maker).
It would probably be possible to embed the thumbnail in the .ptex file when saving it. Is it worth the effort, I don't know.
Yeap, I'm no programmer, but I guess blender does it like that, saving it directly on file and just taking a screenshot of the cam when saving, it could be the same with the preview3d in Material Maker I suppose, and worth it? I think so cause some times you want to share files or arrange them and not having to open the program by itself to do it no? :P