torrinworx / Blend_My_NFTs

Easily generate thousands of 3D models, images, and animation automatically in Blender for free with Blend_My_NFTs.
GNU General Public License v3.0
1.01k stars 339 forks source link

Rendering headlessly on Google Colab with logic enabled #128

Closed shadyaymn closed 2 years ago

shadyaymn commented 2 years ago

I try to run headless on colab but keep running into an error.

Firstly I configured the config.cfg file to change the path of the materialFile to whatever it is on drive i.e /content/drive/MyDrive I noticed that there isn't a logicFile in the config.cfg file so my initial thought was that disabling logic would make it work which it did. I tried changing the logicFile path and the enable_Logic_Json to be true as well in the init.py file but I could not get it to work as I did not write the code and don't completely understand it. So I think there needs to be an enable_Logic_Json and logicFile in the config.cfg file so the user can change them.

torrinworx commented 2 years ago

The headless functionality hasn't been maintained with the newer updates, I would recommend going back to the commit when it was first introduced for Google Colab.

shadyaymn commented 2 years ago

But this would cause the material rarity to not work because it was only recently fixed right?

torrinworx commented 2 years ago

This issue should be solved according to @matt-159 with the latest pull.