from panda3d.core import loadPrcFileData loadPrcFileData("", "model-path models") from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): def __init__(self): ShowBase.__init__(self) # Load the scene self.scene = self.loader.loadModel("my_scene.bam") self.scene.reparentTo(self.render) app = MyApp() app.run()