code:
#!/usr/bin/env python
from direct.showbase.ShowBase import ShowBase
ShowBase()
import direct.showbase.MirrorDemo as MD
MD.setupMirror("mymirror", 20, 15)
run()
output:
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:pgraph(warning): Using deprecated ClipPlaneAttrib interface.
Assertion failed: !mat.is_nan() at line 286 of panda/src/pgraph/transformState.cxx
Assertion failed: has_mat() at line 585 of built/include/transformState.I
Traceback (most recent call last):
File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 1561, in __igLoop
self.graphicsEngine.renderFrame()
AssertionError: !mat.is_nan() at line 286 of panda/src/pgraph/transformState.cxx
:task(error): Exception occurred in PythonTask igLoop
Traceback (most recent call last):
File "mirror.py", line 10, in <module>
run()
File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 2420, in run
self.taskMgr.run()
File "/opt/panda3d/direct/src/task/TaskNew.py", line 471, in run
self.step()
File "/opt/panda3d/direct/src/task/TaskNew.py", line 429, in step
self.mgr.poll()
File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 1561, in __igLoop
self.graphicsEngine.renderFrame()
AssertionError: !mat.is_nan() at line 286 of panda/src/pgraph/transformState.cxx
CVS says, the file hasn’t been updated for about 2 years. somebody willing to update it? (i don’t really have an idea where the bug is)
cheers