You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The extension KHR_animation_pointer provides a path to the element to animate, and the path might be like this: /materials/0/pbrMetallicRoughness/baseColorFactor
Unfortunately, parsing such string is rather difficult in tinygltf without a direct access to JSON.
Would it be possible to provide a function, like void* resolvePointerPath(const std::string& pointerPath) which would return a pointer to the element?
The extension KHR_animation_pointer provides a path to the element to animate, and the path might be like this:
/materials/0/pbrMetallicRoughness/baseColorFactor
Unfortunately, parsing such string is rather difficult in tinygltf without a direct access to JSON.
Would it be possible to provide a function, like
void* resolvePointerPath(const std::string& pointerPath)
which would return a pointer to the element?This scene from the official glTF-Asset can be used for testing: https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/AnimatedColorsCube
The text was updated successfully, but these errors were encountered: