pcb2blender
pcb2blender copied to clipboard
How to export glTF 2.0
I just have a question:
How can I export from my blender project a .glb
with rendered surface texture?
I want to create a file for https://modelviewer.dev/editor/
Thanks for this tool π
That's not easily possible atm, alteast not with the current Cycles shaders. The 3D (deprecated) material mode might work, but won't look nearly as good. Solutions for this have been discussed before in #8 and also #24 kinda.
@30350n did you test how it looks like if you render top and bottom image and put it as image texture on the surface of the blank imported glb body?
No, but what your suggesting is more or less a very naive version of texture baking. The problem is that this doesn't really work (or atleast isn't optimal) with the pcb mesh the addon produces. I spent some time on working around this on the baking branch, but don't have time to further persue this atm.
Dear @30350n,
I hope you started well into the new year!?
Do you have any news/updates about this feature?
I hope you started well into the new year!?
Yes, thanks, hope you did too.
Do you have any news/updates about this feature?
No, not really and it wouldn't really be the main priority either. The main thing that needs to be done is a rework of all the materials, to improve performance (and visuals). Though this could also atleast simplify the export problem ...
Regardless, I can't really invest the time that would take atm.
Thank you very much for your time and for updating this amazing project. π
Well for now I'll see how I can embed a VRML export from KiCad to my web presentation. But I think using a glTF 2.0 export with your material finish in a model viewer would be much nicer βΊοΈ