Hello, i create a human in blender, and i export that in gltf file.
i create 6 animations in this model (i can run it with the windows 3d viewer)
my object:
With panda3d i have 2 issues:
sometimes i have this error:
:gobj(error): Texture::read() - couldn't read: ./brown_eye.png
:gobj(error): Unable to find texture "./brown_eye.png" on model-path
i think it’s a cache, maybe i will disable.
but my real problem is, how to get the name of my animation for run in panda3d ?
i open my model, i think that the name is Game_engine.00x (1,2,3,4,5,6)
but panda3d not run my animation.
from direct.actor.Actor import Actor
from direct.showbase.ShowBase import ShowBase
from panda3d.core import load_prc_file_data, NodePath
class Application(ShowBase):
def __init__(self):
super().__init__()
base.setFrameRateMeter(True)
# load actor
self.actor = Actor("animation/t1.gltf")
self.actor.reparentTo(self.render)
name = "Game_engine.005"
self.actor.play(name)
self.actor.loop(name)
Application().run()
thx in advance for your help