Page MenuHome

X3D Import does not handle Materials
Closed, DuplicatePublic

Description

System Information
Operating system: Windows 10
Graphics card: GT 1070

Blender Version
Broken: 2.90, 0330d1af29c0

Short description of error
When an X3D file is imported and that file has a Material tag no corresponding material is added in blender. Materials are supported for other formats like OBJ.

Example:

<Material DEF="MA_Material"  
     diffuseColor="1.000 0.0 0.0"
     specularColor="0.401 0.401 0.401"
     emissiveColor="0.000 0.000 0.000"
     ambientIntensity="0.000"
     shininess="0.500"
     transparency="0.0"/>

Exact steps for others to reproduce the error

  • File -> New -> General
  • remove the existing cube
  • File -> Import -> X3D ...
  • Select the imported cube (note the color is still the default gray)
  • Select the cube, look at its material, there is no material.

Event Timeline

I have updated T71232: X3D Import does not handle Materials now with additional information given here.

But since that report was older, I will merge this one into T71232.