Skip to content

parseAnimationsFromArrayBuffer from loaded CZML model? #1

@mhaberler

Description

@mhaberler

Hi @richard3d ! thanks for this repo - great help!

I'm using this after a CzmlDataSource (containing a glTF model) is loaded:

      let url = entity.model.uri.valueOf().url;
      animation_set = await AnimationParser.parseAnimationSetFromUri(url);

which works fine but loads the glTF model twice

I tried to avoid double loading, use parseAnimationsFromArrayBuffer() and pass a reference to the buffer as loaded by CzmlDataSource but I do not see an obvious way to do this through the Entity API's entity.model - a ModelGraphics which does not expose Model.gltf per se

do you have a suggestion how to do this?

thanks, Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions