Problem: Airblade1.4.2 on Panda1.7.2, A big black strip

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… :cry:

Screenshot: http://dl.dropbox.com/u/11875139/blackstrip.PNG

Somebody, please help me here. I am stuck! :confused:

It’s the fader in HeadsUpDisplay.py.
Nothing important, you can change its alpha from 1 to 0.

Thanks, ynjh_jo! That worked.:slight_smile: I wouldn’t have been able to find that out.

I’m surprised we don’t have a more recent copy of the Airblade source code posted somewhere for inspection. That’s a problem we should correct.

David

I suppose that’s because there hasn’t been a lot of interest in it until now.