vizoogmbh / u3m

Unified 3D Material (U3M)
http://www.u3m.info
BSD 3-Clause "New" or "Revised" License
40 stars 20 forks source link

Blender importer bug #8

Closed ELSECorp closed 4 years ago

ELSECorp commented 5 years ago

The Blender importer does not seem to build the shader network according to the U3M schema specifications.

For example, in the material PinkGlitter_meshfabric:

"roughness":
{
    "constant": 1,
    "texture":
    {
        "factor": 0.69999999999999996,
        "image":
        {
            "dpi": 400,
            "height": 7.0929500000000001,
            "path": "textures/PinkGlitter_meshfabric_ROUGH.jpg",
            "repeat": null,
            "width": 11.607800000000001
        },
        "offset": 0
    }
}, 

The relevant part of the shader network is:

network

According to the specifications, the color from the texture should be multiplied (default operation of the roughness element) by the factor, whereas in the built shader it is not.

vizoomartin commented 5 years ago

Thank you for the feedback! We are working on the plugin to support the full u3m material - will keep everyone updated.

RenateOnVizoo3d commented 4 years ago

Please find the new blender plugin here.

Use this Plugin to load and save U3M materials in Blender. To install the add-on for Blender go to user preferences, select the add-on tab and install the add-on from this zip file. In Blender go to File -> Import -> Unified 3D Material (.u3m). Blender adds a U3M workspace tab. In there you will find a U3M Editor and a render tool.