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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for explicitly setting the glTF "doubleSided" material … #258
Conversation
|
Note: |
|
I think this conflict is related to what I expected, when I have tested the magnificent add-on: the assigned material (e.g. diffuse color) isn't exported into the glTF/glb-File, although the "Export Materials" is checked in the export menu. |
…property. This is done via custom Blender material property. Works for import and export and adds a UI Panel in the material property tab for easy (un-)checking.
351d9c8
to
7c13469
Compare
I doubt that this is related to your problem since I cannot reproduce. Is the error happening on master as well? If not, could you provide me with your setup, steps and test data? |
It's the current Blender 2.80 Beta downloaded ob blender.org Running on Linux Mint 19 The worklfow consists of
Behavoiur occurs in master of gltF-Blender-IO, too. So, i guess it's a miscommunication between Blender 2.8 Beta and glTF-Blender-IO for 2.8 |
Thanks. In that case, you should create a proper issue with a copy of your description. It's not related to this PR at all, as far as I can tell. |
|
Note that #255 was just merged, allowing If I'm reading correctly, this option appears in the main Blender materials panel, not the materials panel at the export step? Back when glTF-Blender-IO required an opt-in installation by users, I think this fix would have been OK. However, as the addon comes enabled by default now, we're essentially adding new UI for all Blender users by doing this. As Blender already has (multiple) similar options, I'm not sure we can justify it. A more robust fix, perhaps, would be to prescan all Blender meshes for a double sided flag, and then set |
I noticed, but I too don't want to use the obsolete custom nodes.
I'm not sure either :)
Good idea. I thought about it briefly, but I wanted a quick solution without digging too much into the addon's code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in agreement with @donmccurdy that we should not be adding new options to the materials panel for all users. Looking for Blender's own double-sided lighting flag is the better choice.
|
Closing this in favor of the solution in #304. @atteneder Sorry we couldn't take this one. There are a number of open issues remaining in this project, so we'd be glad to see more PRs with fixes, we appreciate them! |
…property.
This is done via custom Blender material property. Works for import and export and adds a UI Panel in the material property tab for easy (un-)checking.
fixes #154