Hi,
I saw the Airblade game at http://www.panda3d.org/gallery/demo.php?app=airblade and this is something that can help me to create my own FPS game. I looked at naith (http://code.google.com/p/naith/) too, which is also built upon panda and helps to create FPS game. But, I couldn’t understand its plugin system.
Now the point where I need help:
I found the latest version of Airblade on http://www.panda3d.org/download.php?platform=windows&version=1.4.2&sdk and tried to run it on latest Panda3D 1.7.2.
Just had to make a simple change to get the things running: In LoadLightning.py file, there were 3 instances where a lightning node was attached to render node.
e.g.
render.attachNewNode(self.ambientLight.upcastToPandaNode())
I had to change it to
render.attachNewNode(self.ambientLight)
Because, in the newer versions, lightning node need not to be upcasted to panda node.
Result: Things running smooth. Game worked. The problem is, I see a big black strip on screen. Don’t know how it came there…
Screenshot: http://dl.dropbox.com/u/11875139/blackstrip.PNG
Somebody, please help me here. I am stuck!