30350n / pcb2blender

KiCad to Blender 3D model workflow
GNU General Public License v3.0
509 stars 11 forks source link

Solid black board when rendered on SheepIt Render Farm using Cycles #52

Open VitroidFPV opened 5 months ago

VitroidFPV commented 5 months ago

As my PC is fairly slow I prefer to use SheepIt when possible. But it doesn't render properly if I use the Enhance Materials toggle when importing a board. image

I tried packing all resources into the blend file, to no effect. Maybe I'm doing something wrong on my end, I'd appreciate any help regardless. It renders just fine locally, although slowly. This is still an amazing tool to get proper renders ❤️

30350n commented 5 months ago

Sorry for the late answer ... This is more or less a problem with the current material setup, which has to be reworked at some point (see #24). I use custom material nodes, which are basically just node groups with extra steps. For each custom node, there'll be a node group which is automatically generated, so in theory you should be able to use those. Switching all the material nodes for node groups manually would probably take a while though, ideally this would be automated.

Rootthecause commented 3 months ago

I've encountered the same issue. Just saving the blend file and reopening it causes black textures. This makes it impossible to work on, share or backup the file. I'm using Blender 4.1 on MacOS.

30350n commented 3 months ago

I've encountered the same issue. Just saving the blend file and reopening it causes black textures. This makes it impossible to work on, share or backup the file. I'm using Blender 4.1 on MacOS.

That's a different issue probably. I'm guessing you are using Blender 4.1.0? That version has a bug which stops it from loading files using this addon. (See the release notes).

Rootthecause commented 3 months ago

OH. That's it! I've missed this note 😓 Thanks for the super fast reply! You've saved me more than enough time already! Thanks a lot! Btw. the generated solder mesh looks incredible!