Transparency incorrectly imported from FBX files #83395

Closed
opened 2020-12-04 13:08:03 +01:00 by Jorge Gascon Perez · 8 comments

System Information
Operating system: Linux-5.9.10-arch1-1-x86_64-with-arch 64 Bits
Graphics card: Radeon RX 590 Series (POLARIS10, DRM 3.39.0, 5.9.10-arch1-1, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.3

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-10-27 14:27, hash: blender/blender@90e12e823f

Short description of error
If I import a fbx file that has transparent meshes, they are imported in Blender as "Opaque" with an Alpha value of 1.0,

Exact steps for others to reproduce the error
Decompress and Import the attached .fbx file in Blender shot-2020-12-04_12-21-21.jpg Toad.zip
(Or download it from https://sketchfab.com/3d-models/draft-sci-fi-toad-coursework-xyz-school-515075b671a74954930602becfb859ab)

The imported material of the cockpit glass is configured as "Opaque" and it has an Alpha of 1.0 shot-2020-12-04_12-24-45.jpg
When it should be configured as "Alpha Clip", "Alpha Hashed" or "Alpha Blend" and have an Alpha value close to 0.0.

Thanks a lot!

**System Information** Operating system: Linux-5.9.10-arch1-1-x86_64-with-arch 64 Bits Graphics card: Radeon RX 590 Series (POLARIS10, DRM 3.39.0, 5.9.10-arch1-1, LLVM 11.0.0) X.Org 4.6 (Core Profile) Mesa 20.2.3 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-10-27 14:27, hash: `blender/blender@90e12e823f` **Short description of error** If I import a fbx file that has transparent meshes, they are imported in Blender as "Opaque" with an Alpha value of 1.0, **Exact steps for others to reproduce the error** Decompress and Import the attached .fbx file in Blender ![shot-2020-12-04_12-21-21.jpg](https://archive.blender.org/developer/F9476696/shot-2020-12-04_12-21-21.jpg) [Toad.zip](https://archive.blender.org/developer/F9476672/Toad.zip) (Or download it from https://sketchfab.com/3d-models/draft-sci-fi-toad-coursework-xyz-school-515075b671a74954930602becfb859ab) The imported material of the cockpit glass is configured as "Opaque" and it has an Alpha of 1.0 ![shot-2020-12-04_12-24-45.jpg](https://archive.blender.org/developer/F9476679/shot-2020-12-04_12-24-45.jpg) When it should be configured as "Alpha Clip", "Alpha Hashed" or "Alpha Blend" and have an Alpha value close to 0.0. Thanks a lot!

Added subscriber: @JorgeGasconPerez

Added subscriber: @JorgeGasconPerez
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Just a note: The gITF version of this sci-fi-toad imports as expected, with a colored alpha blended material.

Just a note: The gITF version of this sci-fi-toad imports as expected, with a colored alpha blended material.
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Looking at a dump of the FBX file, that material have an opacity of 1. So could it just be that the file doesn't contain the transparency information? Can you try to open it in any other software and see if transparency is detected?

		{"id": "Material", 
			"ambient": [ 0.050876,  0.050876,  0.050876], 
			"diffuse": [ 0.988391,  1.000000,  0.808465], 
			"emissive": [ 0.000000,  0.000000,  0.000000], 
			"opacity":  1.000000, 
			"specular": [ 0.988391,  1.000000,  0.808465], 
			"shininess":  100.000000}, 
Looking at a dump of the FBX file, that material have an opacity of 1. So could it just be that the file doesn't contain the transparency information? Can you try to open it in any other software and see if transparency is detected? ``` {"id": "Material", "ambient": [ 0.050876, 0.050876, 0.050876], "diffuse": [ 0.988391, 1.000000, 0.808465], "emissive": [ 0.000000, 0.000000, 0.000000], "opacity": 1.000000, "specular": [ 0.988391, 1.000000, 0.808465], "shininess": 100.000000}, ```

Hi Omar,

You are right, apologies for not having seen it before.

That means that the problem is at Sketchfab exporter, could this ticket be closed?

Thank you very much

Hi Omar, You are right, apologies for not having seen it before. That means that the problem is at Sketchfab exporter, could this ticket be closed? Thank you very much
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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-addons#83395
No description provided.