0

i tried to use a 3D model on panda3d by this code:

model = loader.loadModel("modelPath.bam");
model.reparentTo(render);

but the model just didn't appear, think it didn't work because it was bam file.

I've been using python for a long time but i'm still new at panda3d. Thank in advance.

the doctor
  • 81
  • 1
  • 1
  • 2
  • Can you expand on this? Is this the entire program? Do any errors appear? – asylumax Jun 07 '20 at 20:54
  • Open cmd, go in the directory where ur .bam file is located and type the following: bam2egg filename.bam filename.egg –  Aug 10 '20 at 02:57
  • You dont have to type the .bam extension, just modelPath –  Aug 15 '20 at 21:42

0 Answers0