Page MenuHome

GLTF 2.0 specification error Blender 2.8
Closed, ArchivedPublic

Description

I have created three cubes. One single cube (SingleCube) then I created parentCube and childCube and added the cildCube as a child to the parent cube. I then export this to GLTF as GLTF+BIN files. If I then look at the .gltf file it shows that the parentCube dont have any children but the SingleCube do. However if I import it back into blender then it works like it shoudld... if I drag the parsntCub the childCube will follow... This indicates that the link to the .bin file is on the mesh number and not on the name. This has been mixed up and will probably lead to different strange errors in the future.

"nodes" : [
    {
        "mesh" : 0,
        "name" : "parentCube",
        "rotation" : [
            0.7071068286895752,
            0,
            0,
            0.7071067094802856
        ],
        "translation" : [
            2.7513015270233154,
            0.565260648727417,
            -1.539116382598877
        ]
    },
    {
        "mesh" : 1,
        "name" : "childCube",
        "scale" : [
            0.6635892391204834,
            0.6635891795158386,
            0.6635891795158386
        ],
        "translation" : [
            1.2535775899887085,
            -1.3370370864868164,
            -1.2659589052200317
        ]
    },
    {
        "children" : [
            1
        ],
        "mesh" : 2,
        "name" : "SingleCube",
        "rotation" : [
            0.7071068286895752,
            0,
            0,
            0.7071067094802856
        ],
        "scale" : [
            1.5069564580917358,
            1.5069565773010254,
            1.5069565773010254
        ],
        "translation" : [
            -3.0893189907073975,
            0.6500419974327087,
            0.9182164669036865
        ]
    }
],

Details

Type
Bug

Event Timeline

Julien DUROURE (julien) triaged this task as Needs Information from User priority.

Hello,

Can you please follow submission template, and provide a .blend with these 3 cubes, and the resuting .gltf / .glb file

Julien DUROURE (julien) closed this task as Archived.May 6 2019, 9:31 AM

More than a week without any answer from the user.
Closing for now.

Don't hesitate to open again if you provide a test case that show the bug