Visualizing a glTF file#
In this tutorial, we will show how to display a simple animated glTF in a scene.
Create a scene.
Retrieving the gltf model.
Initialize the glTF object and get actors using actors method. Get the main_timeline (which contains multiple Timeline objects).
Add the timeline to the scene (No need to add actors seperately).
define a timer_callback that updates the timeline.
Total running time of the script: ( 0 minutes 0.165 seconds)