Goal: we want a single json file with the information for the models AND metadata, not finding them in separate locations.
how do we get there?
use scripts to generate / update catalog.json type of file (similar to citybuilderjr example)
this json output can be directly edited to modify metadata, etc.
citybuilder script issues:
don't recreate a glb if it already exists with the same checksum hash (need to add checksum hash to json)
don't clobber (or overwrite) metadata that has already been entered in the json file?
remove items that don't exist anymore
don't recreate image preview if the glb hash didn't change
implementation questions: update in place from the previous catalog? or create another json and compare the difference?
3dstreet implementation:
asset loader -- referencing this new catalog.json and using this to load the assets, create the mixins, update the categories in a way that the editor expects
editor: add entity panel & mixin widget selector -- reference this new catalog.json instead of the hardcoded cardsData.js file
Goal: we want a single json file with the information for the models AND metadata, not finding them in separate locations.
how do we get there?
citybuilder script issues:
3dstreet implementation: