Shadow Mapping not working on latest devel builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
High
|
Unassigned |
Bug Description
Up to devel builds before 20111227 this code worked fine:
################
from direct.
from pandac.PandaModules import *
from direct.actor.Actor import Actor
app = ShowBase()
# panda
pandaActor = Actor("
pandaActor.
pandaActor.
pandaActor.
#plane
cm = CardMaker("plane")
cm.setFrame(-20, 20, -20, 20)
plane = render.
plane.setP(270)
plane.setPos(0, 0, 0)
#Directional
Light1 = DirectionalLigh
Light1.
Light1.
##Light1.
Light1Node = render.
Light1Node.
render.
#Spot
Light2 = Spotlight("light4")
Light2.
Light2Node = render.
Light2Node.
Light2Node.
render.
#Shadow enable
Light1.
Light2.
render.
#camera
app.cam.setPos(0, -50, 20)
app.cam.lookAt(0, 0, 0)
#run
app.run()
#######
But latest builds (I tried up to 20120108) give this output on console:
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:display:
...
(.... more lines as above...)
...
:display:
:display(error): Deactivating glxGraphicsStat
and window output freezes.
System on which I tried :
* AMD64 - Linux Debian Squeeze - NVIDIA GeForce 9400 GT with driver version 270.41.19
Stable version (1.7.2) works fine.
Bye
Thanks for reporting the issue. It appeared to be due to a change to the FBO code zhao made, which I've reverted for now. Your code seems to work fine on my Mac OS X machine now.
I poked the squeeze_amd64 buildbot, so the latest build incorporates my changes.