import direct.directbase.DirectStart
#Load the first environment model
environ = loader.loadModel("models/environment")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(-8,42,0)
#Run the tutorial
run()
The problem with the gray screen (for what375) was, that he imported the basic panda3d-“runtime” and then run the game with the “run()” command in a loop. It will never load the other parts of the code.
andy circus mentioned it already. getting rid of the first import and run() line should help quite much