i followed the tut on the python section as a first step provided by the site. however although the panda 3d window displayed, the modle/environment does not display. here is the code:
from direct.showbase.ShowBase import ShowBase
class myApp(ShowBase):
def _init_(self):
ShowBase._init_(self)
self.environ = self.loader.loadModel("models/environment")
self.environ.reparentTo(self.render)
self.environ.setScale(0.25, 0.25, 0.25)
self.environ.setPos(-8, 42, 0)
app = myApp()
app.run()
this was writen according to Documentation > Manual > “Loading the Grassy Scenery” tutorial. what would be the reason?