Goldo02 / gif_and_video_art_engine

A GIF and Video art engine that will allow you to generate multi-layer GIFs or Video from single GIFs or Video as layers.
MIT License
63 stars 34 forks source link

Subfolder #21

Closed gilnaks closed 2 years ago

gilnaks commented 2 years ago

How to structure subfolder in main cpp? I need to match color for traits

Goldo02 commented 2 years ago

u need to modify collection size and the layerDir vector. See into the discussion here on github. Link: https://github.com/Goldo02/gif_and_video_art_engine/discussions/13 . I think this can help u

gilnaks commented 2 years ago

Hi! I'm trying to achieve something similar to this https://github.com/HashLips/hashlips_art_engine/issues/874

Goldo02 commented 2 years ago
const vector<vector<string>> layerDir = 
{
{"./1-Background/A", "./2-Skin/A", "./3-Trousers/B", "./4-Cloth/B", "./5-Eyes/A", "./6-Mouth/A", "./7-Face/B", "./8-BottomCostume/C", "./9-Headcostume/A"}
};

I think u can do this the same way Hashlips did, by changing the values in layerDir. Then if u want to add multiple collections, u need to add more rows in the layerDir and modify the collectionSize variable. This one:

vector<int> collectionSize = {100};