Skip to content

Support custom tileset.json filenames for 3d-tiles-tools pipeline #186

@jo-chemla

Description

@jo-chemla

Hi there,
When running the below pipeline, I receive error No tileset.json found in input. It seems that pipeline expects a tileset.json filename input and do not accept custom tileset filenames, probably from

const tilesetJsonBuffer = await tilesetSource.getValue("tileset.json");

It would be great to support the same variations of absolute and relative naming conventions of #143
I'm running latest 3d-tiles-tools version.

npx 3d-tiles-tools pipeline -i pipeline-separateGltf.json
{
    "input": "./tileset_folder/tileset_filename_in.json",
    "output": "./tileset_folder_out/tileset_filename_out.json",
    "tilesetStages": [
        {
            "name": "ConvertB3dmToGltf",
            "contentStages": [
                {
                    "name": "b3dmToGlb",
                    "description": "Convert each B3DM content into GLB"
                },
                {
                    "name": "separateGltf",
                    "description": "Explode each GLB into GLTF + textures/geometry"
                }
            ]
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions