I am very new to Panda3D and 3D animation.I’ve installed the panda3d-gltf package. what are the changes I’ve to make in order to load a gltf file? This is the program I used for .egg file and it worked. But when I try loading gltf it says: Couldn’t load model. I tried running the test_load.py file from Github but I couldn’t see anything though there were no errors. I have very basic knowledge about this and it would really be helpful if I can load gltf models.
from panda3d.core import loadPrcFile
loadPrcFile(“config/config.prc”)
from direct.showbase.ShowBase import ShowBase
#import gltf
class Mywin(ShowBase):
def init(self):
super().init()
Je=self.loader.loadModel("mymodels/Jeru2")
Je.setPos(-2,10,-1)
Je.setScale(0.2,0.2,0.2)
Je.reparentTo(self.render)
game = Mywin()
game.run()