I have Ubuntu 14.04 installed. I ran the following code that was in the manual.
from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): def __init__(self): ShowBase.__init__(self) # Load the environment model. self.scene = self.loader.loadModel("environment") # Reparent the model to render. self.scene.reparentTo(self.render) # Apply scale and position transforms on the model. self.scene.setScale(0.25, 0.25, 0.25) self.scene.setPos(-8, 42, 0) app = MyApp() app.run()
All I get is the window I do not get the green grass as pictured in the manual. I ran python Panda3dTest.py and it printed out:
Known pipe types: glxGraphicsPipe
(All display modules loaded.)
I checked version of Python and I am running 2.7.6
Not sure what is going on. Please advise. Thank you.