New Materials doesn't appear collada preview #61122

Closed
opened 2019-02-02 01:20:46 +01:00 by Kent Davis · 63 comments

MacOS 10.14.3
2017
27"
5K

Please do use Macintosh. Do not use Windows.

Blender 2.80 latest version February 1, 2019

Create new materials and work on texture I show you picture.
https://imgur.com/a/inYexxa

Export doesn't appear preview for Mac.
https://imgur.com/a/L2uON8e

Materials need to fix bug support collada.dae should appear preview on Mac. Blender 2.79b it work as well but 2.80 some bug.

test.blend

Test.dae

MacOS 10.14.3 2017 27" 5K Please do use Macintosh. Do not use Windows. Blender 2.80 latest version February 1, 2019 Create new materials and work on texture I show you picture. https://imgur.com/a/inYexxa Export doesn't appear preview for Mac. https://imgur.com/a/L2uON8e Materials need to fix bug support collada.dae should appear preview on Mac. Blender 2.79b it work as well but 2.80 some bug. [test.blend](https://archive.blender.org/developer/F6480236/test.blend) [Test.dae](https://archive.blender.org/developer/F6480239/Test.dae)
Author

Added subscriber: @Kent-Davis

Added subscriber: @Kent-Davis

#61625 was marked as duplicate of this issue

#61625 was marked as duplicate of this issue
Member

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary
Member

Hello, Kent;

please provide:

  • a blend file with your test cube that can be opened by Blender 2.79
  • a collada file that was made by blender 2.79 and that works with your viewer on the Mac

thanks

Hello, Kent; please provide: - a blend file with your test cube that can be opened by Blender 2.79 - a collada file that was made by blender 2.79 and that works with your viewer on the Mac thanks
Author

Sigh
New Materials will not work on Collada dae preview within Blender 2.80

Sigh New Materials will not work on Collada dae preview within Blender 2.80
Member

Please do this:

  • Open Blender 2.79b
  • Create the testcube with 3 Materials
  • Export the testcube with the Blender Collada exporter
  • Check that the collada file works with your previewer on the mac
  • Attach the blend file and the collada file to this ticket
Please do this: - Open Blender 2.79b - Create the testcube with 3 Materials - Export the testcube with the Blender Collada exporter - Check that the collada file works with your previewer on the mac - Attach the blend file and the collada file to this ticket
Author

sure

sure
Author

Hi Gaia,

  1. Blender 2.79b and I just create new 6 materials.
    Screen Shot 2019-02-02 at 3.12.35 PM.png

  2. Export collada .dae
    a. Popmenu select SL/OpenSIM
    b. Change from (UV Texture) to (Materials) popmenu
    Screen Shot 2019-02-02 at 3.12.14 PM.png

  3. Mac Preview yes appear there.
    Screen Shot 2019-02-02 at 3.13.49 PM.png

Blender 2.79b file
test Blender 2_79b.blend

test Blender 2_79b.dae

Hi Gaia, 1. Blender 2.79b and I just create new 6 materials. ![Screen Shot 2019-02-02 at 3.12.35 PM.png](https://archive.blender.org/developer/F6489549/Screen_Shot_2019-02-02_at_3.12.35_PM.png) 2. Export collada .dae a. Popmenu select SL/OpenSIM b. Change from (UV Texture) to (Materials) popmenu ![Screen Shot 2019-02-02 at 3.12.14 PM.png](https://archive.blender.org/developer/F6489565/Screen_Shot_2019-02-02_at_3.12.14_PM.png) 3. Mac Preview yes appear there. ![Screen Shot 2019-02-02 at 3.13.49 PM.png](https://archive.blender.org/developer/F6489557/Screen_Shot_2019-02-02_at_3.13.49_PM.png) Blender 2.79b file [test Blender 2_79b.blend](https://archive.blender.org/developer/F6489580/test_Blender_2_79b.blend) [test Blender 2_79b.dae](https://archive.blender.org/developer/F6489583/test_Blender_2_79b.dae)
Author

Just Blender 2.79b regular (Blender Render without Cycles Render)

  1. Blender 2.79b materials
    You will see Texture #2 below.
    Screen Shot 2019-02-02 at 5.23.47 PM.png

  2. You can see texture I put each materials into texture.
    Screen Shot 2019-02-02 at 5.27.56 PM.png

  3. Export Collada and use SL/OSGrid and change from UV Texture to Materials
    Screen Shot 2019-02-02 at 5.39.29 PM.png

  4. You can see perfect texture there on materials within Mac Preview as well.
    Screen Shot 2019-02-02 at 5.15.29 PM.png

Blender 2.79b file
test Blender 2_79b regular.blend

dae need to be 3 texture below come together.
test Blender 2_79b regular.dae

1 Texture this.png

2 Texture this.png

3 Texture this.png

Just Blender 2.79b regular (Blender Render without Cycles Render) 1. Blender 2.79b materials You will see Texture #2 below. ![Screen Shot 2019-02-02 at 5.23.47 PM.png](https://archive.blender.org/developer/F6490421/Screen_Shot_2019-02-02_at_5.23.47_PM.png) 2. You can see texture I put each materials into texture. ![Screen Shot 2019-02-02 at 5.27.56 PM.png](https://archive.blender.org/developer/F6490425/Screen_Shot_2019-02-02_at_5.27.56_PM.png) 3. Export Collada and use SL/OSGrid and change from UV Texture to Materials ![Screen Shot 2019-02-02 at 5.39.29 PM.png](https://archive.blender.org/developer/F6490489/Screen_Shot_2019-02-02_at_5.39.29_PM.png) 4. You can see perfect texture there on materials within Mac Preview as well. ![Screen Shot 2019-02-02 at 5.15.29 PM.png](https://archive.blender.org/developer/F6490428/Screen_Shot_2019-02-02_at_5.15.29_PM.png) Blender 2.79b file [test Blender 2_79b regular.blend](https://archive.blender.org/developer/F6490436/test_Blender_2_79b_regular.blend) ------------------ dae need to be 3 texture below come together. [test Blender 2_79b regular.dae](https://archive.blender.org/developer/F6490440/test_Blender_2_79b_regular.dae) ![1 Texture this.png](https://archive.blender.org/developer/F6490443/1_Texture_this.png) ![2 Texture this.png](https://archive.blender.org/developer/F6490445/2_Texture_this.png) ![3 Texture this.png](https://archive.blender.org/developer/F6490447/3_Texture_this.png)
Author

I am wait for you to answer.

I am wait for you to answer.
Author

I am still wait for you to fix bug on Blender 2.80

I am still wait for you to fix bug on Blender 2.80
Member

While you are waiting you could try to figure out what exactly your viewer does not like in the Collada file. Since i have no Mac i can only guess. But you can inspect. Any information about the cause of the problem would help a lot.

Furthermore you do not need to remind us about open bugs. We know about them already :)

While you are waiting you could try to figure out what exactly your viewer does not like in the Collada file. Since i have no Mac i can only guess. But you can inspect. Any information about the cause of the problem would help a lot. Furthermore you do not need to remind us about open bugs. We know about them already :)
Author

Sigh Blender 2.80 still bug because no show preview.

Sigh Blender 2.80 still bug because no show preview.

Added subscriber: @mgchris

Added subscriber: @mgchris

Had a quick moment to look into this. Looking at the diff of my Collada models, I notice something interesting.

2.79 mesh element, sub-element is using triangles.
2.80 mesh element, is using polylist sub-element.

A quick google search shows this might be a problem http://dayabay.ihep.ac.cn/e/graphics/collada/collada_viewer/.

I can look more into later, if you have any questions.

Screen Shot 2019-02-18 at 5.37.10 PM.png

Had a quick moment to look into this. Looking at the diff of my Collada models, I notice something interesting. 2.79 mesh element, sub-element is using `triangles`. 2.80 mesh element, is using `polylist` sub-element. A quick google search shows this might be a problem http://dayabay.ihep.ac.cn/e/graphics/collada/collada_viewer/. I can look more into later, if you have any questions. ![Screen Shot 2019-02-18 at 5.37.10 PM.png](https://archive.blender.org/developer/F6654071/Screen_Shot_2019-02-18_at_5.37.10_PM.png)
Author

Added subscriber: @chris-35

Added subscriber: @chris-35
Author

@chris-35 Evans , did you use your own Macintosh to check preview yet?

@chris-35 Evans , did you use your own Macintosh to check preview yet?
Author

Blender 2.79b new materials can be show preview on Mac .dae.
Blender 2.80 new materials doesn't be show preview on Mac .dae.

Blender 2.79b new materials can be show preview on Mac .dae. Blender 2.80 new materials doesn't be show preview on Mac .dae.
Member

@chris-35: When Blender exports a triangulated object, it should use and not . So, this certainly is a regression. thanks for your find!

Regarding the link you posted, that one refers to Blender 2.59. That document is very outdated. We have changed a whole lot since then to make the collada module more capable.

@chris-35: When Blender exports a triangulated object, it should use <triangles> and not <polylist>. So, this certainly is a regression. thanks for your find! Regarding the link you posted, that one refers to Blender 2.59. That document is very outdated. We have changed a whole lot since then to make the collada module more capable.

Yes, @Kent-Davis I used my own Mac (looks like we have the same model). I have only tested with my models, I can inspect your blender and model files later this week when I have time.

@GaiaClary Hopefully this will help us track down the issue. I am gonna see about getting the blender source on my computer this weekend, so if you have any patch files or a git branch (please tell me Blender is using git) I can help debug the problem.

Sorry to Chris Williamson for getting pulled into this, they're too many Chris' (Chris's?) in the world. ;)

Yes, @Kent-Davis I used my own Mac (looks like we have the same model). I have only tested with my models, I can inspect your blender and model files later this week when I have time. @GaiaClary Hopefully this will help us track down the issue. I am gonna see about getting the blender source on my computer this weekend, so if you have any patch files or a git branch (please tell me Blender is using git) I can help debug the problem. Sorry to Chris Williamson for getting pulled into this, they're too many Chris' (Chris's?) in the world. ;)
Member

@mgchris thanks you for helping! I have added back the feature to use instead of for meshes which only use triangles. You can find the fix in master (commit df8bd07313 ) and yes, Blender uses git :)

However using for storing triangles should not be related to the viewer problem, since it is actually just an optimization of the Collada exporter. Nevertheless i just had the idea that maybe there is a problem with Meshes which have texture coordinates (TEXCOORD) assigned but no materials. But even that should actually be no issue.

@mgchris thanks you for helping! I have added back the feature to use <triangles> instead of <polylist> for meshes which only use triangles. You can find the fix in master (commit df8bd07313b52a69b17fbd0dc1f84637264e86ed ) and yes, Blender uses git :) However using <polylist> for storing triangles should not be related to the viewer problem, since it is actually just an optimization of the Collada exporter. Nevertheless i just had the idea that maybe there is a problem with Meshes which have texture coordinates (TEXCOORD) assigned but no materials. But even that should actually be no issue.
Author

Ok I will wait.

Ok I will wait.

Had some time tonight, so I got blender installed and no luck with the code in master.

I imported my model into Xcode hoping it might give us some more information.

Screen Shot 2019-02-19 at 10.46.32 PM.png
Screen Shot 2019-02-19 at 10.50.29 PM.png
Screen Shot 2019-02-19 at 10.46.49 PM.png

Nothing stick out to me as to what the problem might be.

I went through and reported this as a "bug" in Xcode and gave them my model. If we're lucky someone from Apple will tell me what's wrong with the model. But don't expect fast turn around from Apple and Bug Reporter.

Tangent: I am unable to build blender using Xcode, because of a bunch of Undefined symbols for architecture x86_64: "boost::filesystem::path::replace_extension(boost::filesystem::path const&)", referenced from:", etc. Building from the command line work though. Any tips on this?

Had some time tonight, so I got blender installed and no luck with the code in master. I imported my model into Xcode hoping it might give us some more information. ![Screen Shot 2019-02-19 at 10.46.32 PM.png](https://archive.blender.org/developer/F6667020/Screen_Shot_2019-02-19_at_10.46.32_PM.png) ![Screen Shot 2019-02-19 at 10.50.29 PM.png](https://archive.blender.org/developer/F6667023/Screen_Shot_2019-02-19_at_10.50.29_PM.png) ![Screen Shot 2019-02-19 at 10.46.49 PM.png](https://archive.blender.org/developer/F6667026/Screen_Shot_2019-02-19_at_10.46.49_PM.png) Nothing stick out to me as to what the problem might be. I went through and reported this as a "bug" in Xcode and gave them my model. If we're lucky someone from Apple will tell me what's wrong with the model. But don't expect fast turn around from Apple and Bug Reporter. Tangent: I am unable to build blender using Xcode, because of a bunch of Undefined symbols for architecture x86_64: "boost::filesystem::path::replace_extension(boost::filesystem::path const&)", referenced from:", etc. Building from the command line work though. Any tips on this?

Reviewing the diff tool and I think I found the issue.

<transparent opaque="A_ONE">
    <color>1 1 1 0</color>
</transparent>

This is in the 2.8 version. 2.79 does not contain this element. Note that the alpha value is zero.

Reviewing the diff tool and I think I found the issue. ``` <transparent opaque="A_ONE"> <color>1 1 1 0</color> </transparent> ``` This is in the 2.8 version. 2.79 does not contain this element. Note that the alpha value is zero.
Author

Sigh.

Sigh.
Member

@Kent-Davis: You could help finding the reason for the issue. for example you could check if removing the tag from the dae file would make the mac viewer able to display the file. Would that be too much to ask for ? As it is in your own interest.

@Kent-Davis: You could help finding the reason for the issue. for example you could check if removing the <transparent> tag from the dae file would make the mac viewer able to display the file. Would that be too much to ask for ? As it is in your own interest.
Author

Original materials without change appear on preview finder .dae
When add materials then apply make preview disappear. That what I show you on first above.
I just create to show you February 20, 2019 on Blender 2.80 beta
Screen Shot 2019-02-20 at 10.51.03 AM.png

Screen Shot 2019-02-20 at 10.53.35 AM.png

Original materials without change appear on preview finder .dae When add materials then apply make preview disappear. That what I show you on first above. I just create to show you February 20, 2019 on Blender 2.80 beta ![Screen Shot 2019-02-20 at 10.51.03 AM.png](https://archive.blender.org/developer/F6672724/Screen_Shot_2019-02-20_at_10.51.03_AM.png) ![Screen Shot 2019-02-20 at 10.53.35 AM.png](https://archive.blender.org/developer/F6672726/Screen_Shot_2019-02-20_at_10.53.35_AM.png)

Quick lunch break.

@GaiaClary Removing that element, or changing the last value from 0 to a 1. Will make the model visible in macOS Preview (and Xcode).

Quick lunch break. @GaiaClary Removing that element, or changing the last value from 0 to a 1. Will make the model visible in macOS Preview (and Xcode).

This issue was referenced by e2cefc7dad

This issue was referenced by e2cefc7dad9f254649ed74d32e1ce9875e21b947
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

@mgchris i already fixed it in master. thanks for the find!!!

@mgchris i already fixed it in master. thanks for the find!!!
Author

Allright

Allright
Author

@GaiaClary , @mgchris
You can notice February 21, 2019 I has been download at about 4:10 AM Pacific Time.
Screen Shot 2019-02-21 at 4.13.21 AM.png

Should be preview red face.
Screen Shot 2019-02-21 at 4.15.52 AM.png

I just add 2 more materials on green and blue. 4 pictures.
Screen Shot 2019-02-21 at 4.37.25 AM.png

(Rotate)
Screen Shot 2019-02-21 at 4.37.45 AM.png

Now you can notice should be color but did not made it color.
Screen Shot 2019-02-21 at 4.38.49 AM.png

(Rotate)
Screen Shot 2019-02-21 at 4.39.06 AM.png

@GaiaClary , @mgchris You can notice February 21, 2019 I has been download at about 4:10 AM Pacific Time. ![Screen Shot 2019-02-21 at 4.13.21 AM.png](https://archive.blender.org/developer/F6678521/Screen_Shot_2019-02-21_at_4.13.21_AM.png) Should be preview red face. ![Screen Shot 2019-02-21 at 4.15.52 AM.png](https://archive.blender.org/developer/F6678522/Screen_Shot_2019-02-21_at_4.15.52_AM.png) I just add 2 more materials on green and blue. 4 pictures. ![Screen Shot 2019-02-21 at 4.37.25 AM.png](https://archive.blender.org/developer/F6678626/Screen_Shot_2019-02-21_at_4.37.25_AM.png) (***Rotate***) ![Screen Shot 2019-02-21 at 4.37.45 AM.png](https://archive.blender.org/developer/F6678627/Screen_Shot_2019-02-21_at_4.37.45_AM.png) Now you can notice should be color but did not made it color. ![Screen Shot 2019-02-21 at 4.38.49 AM.png](https://archive.blender.org/developer/F6678630/Screen_Shot_2019-02-21_at_4.38.49_AM.png) (***Rotate***) ![Screen Shot 2019-02-21 at 4.39.06 AM.png](https://archive.blender.org/developer/F6678632/Screen_Shot_2019-02-21_at_4.39.06_AM.png)

@Kent-Davis Can you post your dae file, so I can take a look at it?

@GaiaClary Had a moment to test blender and using the master (last commit 0ca623362d). When I export the model its alpha value is set to 0.5.

<transparent opaque="A_ONE">
    <color>1 1 1 0.5</color>
</transparent>

With Blender 2.8 I am not sure how to check what the color value is set to.

@Kent-Davis Can you post your dae file, so I can take a look at it? @GaiaClary Had a moment to test blender and using the master (last commit 0ca623362d5e955f051c6cc5cdd69925248e7f76). When I export the model its alpha value is set to 0.5. ``` <transparent opaque="A_ONE"> <color>1 1 1 0.5</color> </transparent> ``` With Blender 2.8 I am not sure how to check what the color value is set to.
Member

must set all color values to 1 according to a comment in the code the attribute opaque="A_ONE" seems to be the clue here. Alpha is taken from Material->alpha_threshold which is filled from the principled BSDF Shader's Base color (alpha part) If a material has no Alpha_threshold (alpha_threshold=1), then the transparent node is not created in the exported collada file.

Furthermore as far as i know the Alpha value of a material might still not be fully implemented in Blender 2.80 I am not sure if ma->alpha_threshold will remain the value that shall be exported in the final 2.80 release.

I would be happy to know what exactly causes the issues in the Mac Viewer. Then i can fix it. But right now all of this is more guessing than knowing :(
Request to Mac people: please help to figure out what is wrong :)

<transparent> must set all color values to 1 according to a comment in the code the attribute opaque="A_ONE" seems to be the clue here. Alpha is taken from Material->alpha_threshold which is filled from the principled BSDF Shader's Base color (alpha part) If a material has no Alpha_threshold (alpha_threshold=1), then the transparent node is not created in the exported collada file. Furthermore as far as i know the Alpha value of a material might still not be fully implemented in Blender 2.80 I am not sure if ma->alpha_threshold will remain the value that shall be exported in the final 2.80 release. I would be happy to know what exactly causes the issues in the Mac Viewer. Then i can fix it. But right now all of this is more guessing than knowing :( Request to Mac people: please help to figure out what is wrong :)
Author
@mgchris , Yes @GaiaClary , yes [Cube 6 faces with 6 materials.blend](https://archive.blender.org/developer/F6689095/Cube_6_faces_with_6_materials.blend) [Cube 6 faces with 6 materials.dae](https://archive.blender.org/developer/F6689099/Cube_6_faces_with_6_materials.dae) ![Screen Shot 2019-02-22 at 10.47.17 AM.png](https://archive.blender.org/developer/F6689103/Screen_Shot_2019-02-22_at_10.47.17_AM.png) ![Screen Shot 2019-02-22 at 10.52.07 AM.png](https://archive.blender.org/developer/F6689106/Screen_Shot_2019-02-22_at_10.52.07_AM.png)
Member

@Kent-Davis I believe that your Blender is not up to date. Please can you download and try the newest Blender from 22-feb-2019.
Here is a quick link: https://builder.blender.org/download/blender-2.80-9541ce2c261b-OSX-10.9-x86_64.zip

@Kent-Davis I believe that your Blender is not up to date. Please can you download and try the newest Blender from 22-feb-2019. Here is a quick link: https://builder.blender.org/download/blender-2.80-9541ce2c261b-OSX-10.9-x86_64.zip
Author

Yes I did already on February 22, 2019. I always inspect first download before inspect everything I did.
Other country of February 22, 2019 and me USA February 21, 2019
I just click link right now from @GaiaClary and let me check again right now on download right now.
Screen Shot 2019-02-22 at 11.09.57 AM.png

Yes I did already on February 22, 2019. I always inspect first download before inspect everything I did. Other country of February 22, 2019 and me USA February 21, 2019 I just click link right now from @GaiaClary and let me check again right now on download right now. ![Screen Shot 2019-02-22 at 11.09.57 AM.png](https://archive.blender.org/developer/F6689187/Screen_Shot_2019-02-22_at_11.09.57_AM.png)
Author

There ya go February 22, 2019 at 11:23 AM Pacific Time (California USA)
Cube 6 faces with 6 materials Gaia.blend

Cube 6 faces with 6 materials Gaia.dae

Screen Shot 2019-02-22 at 11.20.20 AM.png

Screen Shot 2019-02-22 at 11.22.15 AM.png

There ya go February 22, 2019 at 11:23 AM Pacific Time (California USA) [Cube 6 faces with 6 materials Gaia.blend](https://archive.blender.org/developer/F6689257/Cube_6_faces_with_6_materials_Gaia.blend) [Cube 6 faces with 6 materials Gaia.dae](https://archive.blender.org/developer/F6689261/Cube_6_faces_with_6_materials_Gaia.dae) ![Screen Shot 2019-02-22 at 11.20.20 AM.png](https://archive.blender.org/developer/F6689273/Screen_Shot_2019-02-22_at_11.20.20_AM.png) ![Screen Shot 2019-02-22 at 11.22.15 AM.png](https://archive.blender.org/developer/F6689275/Screen_Shot_2019-02-22_at_11.22.15_AM.png)
Author

I forget one more add on DAE snapshot to show you.
Screen Shot 2019-02-22 at 11.37.33 AM.png

I forget one more add on DAE snapshot to show you. ![Screen Shot 2019-02-22 at 11.37.33 AM.png](https://archive.blender.org/developer/F6689356/Screen_Shot_2019-02-22_at_11.37.33_AM.png)
Member

Hi, @Kent-Davis I now see what your issue is: You have disabled Nodes in your materials. This is currently not supported by the Collada exporter. So, at least for now you have to enable nodes on your materials and use the Base Color in the Principled BSDF Shader.

However, i will look into adding back support for materials without Nodes. But i first need to talk to the Material gurus to avoid adding unsupported features :)

Hi, @Kent-Davis I now see what your issue is: You have disabled Nodes in your materials. This is currently not supported by the Collada exporter. So, at least for now you have to enable nodes on your materials and use the Base Color in the Principled BSDF Shader. However, i will look into adding back support for materials without Nodes. But i first need to talk to the Material gurus to avoid adding unsupported features :)
Author

Sure @GaiaClary
What is principled, BSDF also I don't know where to find one.

Sure @GaiaClary What is principled, BSDF also I don't know where to find one.
Member

google search: principled bsdf shader blender

google search: principled bsdf shader blender
Author
[Cube 6 faces with 6 materials Gaia 1.blend](https://archive.blender.org/developer/F6689630/Cube_6_faces_with_6_materials_Gaia_1.blend) [Cube 6 faces with 6 materials Gaia 1.dae](https://archive.blender.org/developer/F6689631/Cube_6_faces_with_6_materials_Gaia_1.dae) ![Screen Shot 2019-02-22 at 12.29.24 PM.png](https://archive.blender.org/developer/F6689654/Screen_Shot_2019-02-22_at_12.29.24_PM.png) ![Screen Shot 2019-02-22 at 12.24.51 PM.png](https://archive.blender.org/developer/F6689656/Screen_Shot_2019-02-22_at_12.24.51_PM.png) ![Screen Shot 2019-02-22 at 12.32.19 PM.png](https://archive.blender.org/developer/F6689675/Screen_Shot_2019-02-22_at_12.32.19_PM.png)
Author

Screen Shot 2019-02-22 at 1.08.33 PM.png

Screen Shot 2019-02-22 at 1.10.50 PM.png

Screen Shot 2019-02-22 at 1.12.22 PM.png

![Screen Shot 2019-02-22 at 1.08.33 PM.png](https://archive.blender.org/developer/F6689923/Screen_Shot_2019-02-22_at_1.08.33_PM.png) ![Screen Shot 2019-02-22 at 1.10.50 PM.png](https://archive.blender.org/developer/F6689925/Screen_Shot_2019-02-22_at_1.10.50_PM.png) ![Screen Shot 2019-02-22 at 1.12.22 PM.png](https://archive.blender.org/developer/F6689926/Screen_Shot_2019-02-22_at_1.12.22_PM.png)

Busy morning and just noticed I forgot to post a screenshot form the build I created this morning.

Screen Shot 2019-02-22 at 3.06.14 PM.png

From what I can tell (looking at my models) macOS Previewer is looking at the transparent element and applying the transparency to the whole material. In the model that I exported that alpha channel was 0.5, which is why I am assuming my model looks semi transparent in Previewer.

For this particular model I have one material, here is the screenshot of it.
Screen Shot 2019-02-22 at 3.28.34 PM.png

(Note I am barely getting back into 3D modeling, so I am not sure if I am using the right term when I say material, textures, elements, etc).

Busy morning and just noticed I forgot to post a screenshot form the build I created this morning. ![Screen Shot 2019-02-22 at 3.06.14 PM.png](https://archive.blender.org/developer/F6690274/Screen_Shot_2019-02-22_at_3.06.14_PM.png) From what I can tell (looking at my models) macOS Previewer is looking at the transparent element and applying the transparency to the whole material. In the model that I exported that alpha channel was 0.5, which is why I am assuming my model looks semi transparent in Previewer. For this particular model I have one material, here is the screenshot of it. ![Screen Shot 2019-02-22 at 3.28.34 PM.png](https://archive.blender.org/developer/F6690396/Screen_Shot_2019-02-22_at_3.28.34_PM.png) (Note I am barely getting back into 3D modeling, so I am not sure if I am using the right term when I say material, textures, elements, etc).

@Kent-Davis Had a quick moment to look at your model and exported file.

Thinking we're seeing two problems here so I am going break up my thinking and findings as such. We have hidden/transparent faces and missing material colors.

Missing faces:
The missing side of the cube looks to have the same issue as my model did, where the alpha channel is 0.

<transparent opaque="A_ONE">
    <color>1 1 1 0</color>
</transparent>

When I edit the dae file and change the alpha channel to 1, that side is no longer missing. I do find it odd that all the other material in this model has the alpha channel as 0.5 but macOS Preview isn't display them as semi transparent like my model. Could the difference be, that I am using a texture (UV map?) and your's are using material color?

Missing Material Color:
Looking at the cube dae file I notice that all the sides have the same diffuse values instead of the base color you have set in blender.

<diffuse>
    <color sid="diffuse">0.8 0.8 0.8 1</color>
</diffuse>

Thats all the time I have tonight. See if I can find out more this weekend.

Note I rename the materials to a, b, c, d, e, f, where a is the missing side. Because it make my life easier.
Screen Shot 2019-02-22 at 4.05.12 PM.png

@Kent-Davis Had a quick moment to look at your model and exported file. Thinking we're seeing two problems here so I am going break up my thinking and findings as such. We have hidden/transparent faces and missing material colors. **Missing faces:** The missing side of the cube looks to have the same issue as my model did, where the alpha channel is 0. ``` <transparent opaque="A_ONE"> <color>1 1 1 0</color> </transparent> ``` When I edit the dae file and change the alpha channel to 1, that side is no longer missing. I do find it odd that all the other material in this model has the alpha channel as `0.5` but macOS Preview isn't display them as semi transparent like my model. Could the difference be, that I am using a texture (UV map?) and your's are using material color? **Missing Material Color:** Looking at the cube dae file I notice that all the sides have the same `diffuse` values instead of the base color you have set in blender. ``` <diffuse> <color sid="diffuse">0.8 0.8 0.8 1</color> </diffuse> ``` Thats all the time I have tonight. See if I can find out more this weekend. Note I rename the materials to `a, b, c, d, e, f`, where `a` is the missing side. Because it make my life easier. ![Screen Shot 2019-02-22 at 4.05.12 PM.png](https://archive.blender.org/developer/F6690580/Screen_Shot_2019-02-22_at_4.05.12_PM.png)
Author

@mgchris
Correct.
Blender 2.79b is fine. Look above first, second, third I send. (February 1, 2019 and February 2, 2019)
Blender 2.80 bug.

@mgchris Correct. Blender 2.79b is fine. Look above first, second, third I send. (February 1, 2019 and February 2, 2019) Blender 2.80 bug.
Author

Only way add materials then assist button that is all.
https://youtu.be/ve8O7zvWJ28

Only way add materials then assist button that is all. https://youtu.be/ve8O7zvWJ28

This issue was referenced by 5d822f4508

This issue was referenced by 5d822f4508755f90091ea474519bd6001ee8b3a6

This issue was referenced by 5cc0bfa73a

This issue was referenced by 5cc0bfa73a7257f3fa44d6894522aad3d81cdeb2

Good News Everyone! The models are getting exported correctly using changes from 5cc0bfa73a.
Screen Shot 2019-02-23 at 12.51.30 PM.png

I experience two issues, and not sure if they're related:

  1. I did have an issue when I exported my model for the very first time, it didn't show it's texture in macOS Preview. I exported it again and the texture was there. I haven't been able to reproduce this. I was using 5d822f4508 when I first saw this.
  2. If I export with "Selection Only" checked and nothing is selected, Blender crashes (doesn't crash when using a debug build). I tested this with commit 0207d20cd4 (before your fixes this morning) and it is crashing there as well. Not sure if this is an existing bug.
Good News Everyone! The models are getting exported correctly using changes from 5cc0bfa73a7257f3fa44d6894522aad3d81cdeb2. ![Screen Shot 2019-02-23 at 12.51.30 PM.png](https://archive.blender.org/developer/F6697832/Screen_Shot_2019-02-23_at_12.51.30_PM.png) I experience two issues, and not sure if they're related: 1. I did have an issue when I exported my model for the very first time, it didn't show it's texture in macOS Preview. I exported it again and the texture was there. I haven't been able to reproduce this. I was using 5d822f4508755f90091ea474519bd6001ee8b3a6 when I first saw this. 2. If I export with "Selection Only" checked and nothing is selected, Blender crashes (doesn't crash when using a debug build). I tested this with commit 0207d20cd4d400381db3788499bbcc5eb946463a (before your fixes this morning) and it is crashing there as well. Not sure if this is an existing bug.
Author

@mgchris
Thanks.
Did you see last link on youtube short video yet?

@mgchris Thanks. Did you see last link on youtube short video yet?
Author

Blender 2.80 February 24, 2019
Fixed very excellent on materials plus color congratulation. PASS
SecondLife/OSGrid upload is exactly match on fill face color is the same. PASS
Cube 6 faces with 6 materials Gaia 2.blend

test9.dae

I am not sure know yet.
We learn some more progressing and we will find out. This is my first time to see texture picture on materials face into OSGrid.
Now time to fix for texture on preview for Mac. Maybe you can figure it out through my youtube. @mgchris and @everyone
https://youtu.be/Sp_cYl5DUM8

Blender 2.80 February 24, 2019 Fixed very excellent on materials plus color congratulation. ***PASS*** SecondLife/OSGrid upload is exactly match on fill face color is the same. ***PASS*** [Cube 6 faces with 6 materials Gaia 2.blend](https://archive.blender.org/developer/F6703324/Cube_6_faces_with_6_materials_Gaia_2.blend) [test9.dae](https://archive.blender.org/developer/F6703325/test9.dae) --------------------------------------------------- I am not sure know yet. We learn some more progressing and we will find out. This is my first time to see texture picture on materials face into OSGrid. Now time to fix for texture on preview for Mac. Maybe you can figure it out through my youtube. @mgchris and @everyone https://youtu.be/Sp_cYl5DUM8
Author

I forget put texture (One.png) you will need put texture because of .dae require preview.
One.png

I forget put texture (One.png) you will need put texture because of .dae require preview. ![One.png](https://archive.blender.org/developer/F6703424/One.png)
Author
[Test1.blend](https://archive.blender.org/developer/F6714137/Test1.blend) [test3.dae](https://archive.blender.org/developer/F6714100/test3.dae) ![four texture.png](https://archive.blender.org/developer/F6714102/four_texture.png) ----------------------------------------- **** ![1.png](https://archive.blender.org/developer/F6714103/1.png) ![2.png](https://archive.blender.org/developer/F6714105/2.png) ![3.png](https://archive.blender.org/developer/F6714107/3.png) ![4.png](https://archive.blender.org/developer/F6714108/4.png) ![5.png](https://archive.blender.org/developer/F6714110/5.png) ![6.png](https://archive.blender.org/developer/F6714112/6.png) ![7.png](https://archive.blender.org/developer/F6714113/7.png) ![8.png](https://archive.blender.org/developer/F6714127/8.png)
Author

Blender 2.80 download of February 27, 2019 for Mac.
Upload fail is the same texture.
@mgchris

Blender 2.80 download of February 27, 2019 for Mac. Upload fail is the same texture. @mgchris

@Kent-Davis I looked at the test3.dae model, using Xcode (SceneKit Editor)

Screen Shot 2019-02-27 at 12.24.21 PM.png

Screen Shot 2019-02-27 at 12.25.11 PM.png

Screen Shot 2019-02-27 at 12.24.58 PM.png

Xcode (I am assuming that Preview and Xcode are using SceneKit) is rendering that model with 4 different materials (red, green, blue, and texture map), and 4 "geometry elements" (that is what the screenshots above are showing). SceneKit only allows one material for each "geometry element", which I am assuming is correct way to render this model. To my eye's it looks like the problem is with the game engine you are using; not a bug for blender or macOS.

One thing to note is I do not know what "Operator Presets" "SI+Open Sim Static" does. I don't know if this is an importance detail or not.

@Kent-Davis I looked at the test3.dae model, using Xcode (SceneKit Editor) ![Screen Shot 2019-02-27 at 12.24.21 PM.png](https://archive.blender.org/developer/F6725473/Screen_Shot_2019-02-27_at_12.24.21_PM.png) ![Screen Shot 2019-02-27 at 12.25.11 PM.png](https://archive.blender.org/developer/F6725476/Screen_Shot_2019-02-27_at_12.25.11_PM.png) ![Screen Shot 2019-02-27 at 12.24.58 PM.png](https://archive.blender.org/developer/F6725477/Screen_Shot_2019-02-27_at_12.24.58_PM.png) Xcode (I am assuming that Preview and Xcode are using SceneKit) is rendering that model with 4 different materials (red, green, blue, and texture map), and 4 "geometry elements" (that is what the screenshots above are showing). SceneKit only allows one material for each "geometry element", which I am assuming is correct way to render this model. To my eye's it looks like the problem is with the game engine you are using; not a bug for blender or macOS. One thing to note is I do not know what "Operator Presets" "SI+Open Sim Static" does. I don't know if this is an importance detail or not.
Author

@mgchris I have hurt my eyes too white you take 3 snapshot. I have Usyer Syndrome ( Deaf/low vision) I unable to look up 3 pictures.

Yes
SL = SecondLife online https://secondlife.com/
Open Sim = OSGrid online is https://www.osgrid.org/
Blender 2.79b it work no bug. I know Blender 2.80 bug.
Blender 2.79b can do that 6 separate faces (materials) fill color and texture it work. (Normal "Blender render" not "Cycles Render")

@mgchris I have hurt my eyes too white you take 3 snapshot. I have Usyer Syndrome ( Deaf/low vision) I unable to look up 3 pictures. Yes SL = SecondLife online https://secondlife.com/ Open Sim = OSGrid online is https://www.osgrid.org/ Blender 2.79b it work no bug. I know Blender 2.80 bug. Blender 2.79b can do that 6 separate faces (materials) fill color and texture it work. (Normal "Blender render" not "Cycles Render")
Author

@mgchris
Use Blender 2.79b only
test1 2_79b.blend

test2 2_79b.dae

1.png

2.png

3.png

4.png

@mgchris Use Blender 2.79b only [test1 2_79b.blend](https://archive.blender.org/developer/F6725680/test1_2_79b.blend) [test2 2_79b.dae](https://archive.blender.org/developer/F6725681/test2_2_79b.dae) ![1.png](https://archive.blender.org/developer/F6725703/1.png) ![2.png](https://archive.blender.org/developer/F6725704/2.png) ![3.png](https://archive.blender.org/developer/F6725706/3.png) ![4.png](https://archive.blender.org/developer/F6725707/4.png)
Member

Please avoid to reuse this report for followup issues.
This issue has been fixed and this report has been closed.

@kent: I can not reproduce your issue


I checked your collada file test3.dae (ok)

  • I checked your blend file test1.blend (ok)

  • I exported your blend file to test1.dae

  • I imported your test3.dae to Secondlife

  • I imported my test1.dae to Secondlife

textured_cube_001.png

Please accept this report is final.

Please avoid to reuse this report for followup issues. This issue has been fixed and this report has been closed. @kent: I can not reproduce your issue ``` ``` # I checked your collada file test3.dae (ok) - I checked your blend file test1.blend (ok) - I exported your blend file to test1.dae - I imported your test3.dae to Secondlife - I imported my test1.dae to Secondlife ![textured_cube_001.png](https://archive.blender.org/developer/F6725859/textured_cube_001.png) Please accept this report is final.
Author

Sigh again I forget to put texture. One texture 2.79b.png

Sigh again I forget to put texture. ![One texture 2.79b.png](https://archive.blender.org/developer/F6725901/One_texture_2.79b.png)
Author

Allright @GaiaClary

Allright @GaiaClary
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#61122
No description provided.