Bugs in Panda3D 1.4.0

Since I could not find a dedicated thread for the bugs in the recent version, I’ll start it here.

The bug which I found is in the new shadow tutorial.

First a little bit of log:

D:\Panda3D-1.4.0\samples\Feature-Tutorials--Shadows>ppython -E Tut-Shadow-Mappin
g.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
  wglGraphicsPipe
(3 aux display modules not yet loaded.)
:util(warning): Adjusting global clock's real time by 4.1597 seconds.
Could not read shader file: caster.sha
:util(warning): Adjusting global clock's real time by -4.20776 seconds.
:gobj(error): Shader is not in a supported shader-language.
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display(error): Deactivating wglGraphicsStateGuardian.

What is the problem: the file caster.sha can’t be found (it is tried to load in line 160 of Tut-Shadow-Mapping.py).

The version in the experimental folder does not have this problem (and this is why I believe the panda also shows shadows) - but nevertheless: also the same lot of errors:

D:\Panda3D-1.4.0\samples\Feature-Tutorials--Shadows\experimental>ppython -E Tut-
Shadow-Mapping-Ext.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
  wglGraphicsPipe
(3 aux display modules not yet loaded.)
:util(warning): Adjusting global clock's real time by 0.321351 seconds.
:util(warning): Adjusting global clock's real time by -0.192219 seconds.
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display:gsg:glgsg(error): at 2429 of c:\temp\mkpr\panda\src\glstuff\glGraphicsS
tateGuardian_src.cxx : GL error 1282
:display(error): Deactivating wglGraphicsStateGuardian.

sort of like my discourse.panda3d.org/viewtopic.php?t=2984 thread

I can see this same bug when I exit panda… interesting. Not very serious, since it only happens on exit, but I’ll check it out.