Jump to content

[SOLVED] How does unigine save/load thumbnails for assets


photo

Recommended Posts

Posted

I noticed that Unigine creates thumbs when saving node files from the editor. I discovered the .thumbnails folder.
I was wondering how the particular names  of these files were calculated as it would be nice to build a plugin for my filemanager that can display these thumbs on the assets.

Posted

Hi Danni,

 

Filenames are crc32 hash sums from file path. Checkout save_image method in editor_thumbnails.h (line 1100).

Posted

question number 2: is there a way of generating these thumbnails as a batch operation for node files generated from a content creation package (eg 3DStudioMax)

Posted

I am afraid, there is no such implemented possibility, but you can add this functionality by your own, modifying script class

×
×
  • Create New...