Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export glTF 2.0 #28

Open
N0cynym opened this issue Jul 5, 2023 · 6 comments
Open

How to export glTF 2.0 #28

N0cynym opened this issue Jul 5, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@N0cynym
Copy link

N0cynym commented Jul 5, 2023

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 馃檹

@30350n
Copy link
Owner

30350n commented Jul 6, 2023

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.

@N0cynym
Copy link
Author

N0cynym commented Jul 7, 2023

@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?

@30350n
Copy link
Owner

30350n commented Jul 7, 2023

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.

@30350n 30350n added the enhancement New feature or request label Jul 7, 2023
@30350n 30350n self-assigned this Jul 7, 2023
@N0cynym
Copy link
Author

N0cynym commented Jan 19, 2024

Dear @30350n,

I hope you started well into the new year!?

Do you have any news/updates about this feature?

@30350n
Copy link
Owner

30350n commented Jan 19, 2024

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.

@N0cynym
Copy link
Author

N0cynym commented Jan 19, 2024

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 鈽猴笍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants