Hello, i’am totaly new in Panda3D, but not newbe in programming and 3d engines.
And here is my story (step by step):
intro: Vista Home Basic SP1, no python installed, Netbeans 6.x used (panda python platform setuped)
- Download and install Panda3D 1.6.2, to path g:\SDK\Panda3D-1.6.2
- Download and install Sqlite Python addon (from here pysqlite)
- Download and install elementtree
- Create cell.egg from 3ds max (download it here)
- Make simple scene:
import direct.directbase.DirectStart
for x in range(-4,4):
for y in range(-4,4):
cell = loader.loadModel("data/models/cell")
cell.reparentTo(render)
cell.setScale(0.05,0.05,0.05)
cell.setPos((x*100.0 + 50.0)*0.05,(y*100.0 + 50.0)*0.05,0.0)
run()
- All good, cells apears, camera moving, everything cool… but if i tried press any keyboard key… Panda end with weird error (not always(!), but often):
DirectStart: Starting the game.
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Traceback (most recent call last):
File "G:\SDK\Panda3D-1.5.4\direct\showbase\ShowBase.py", line 1512, in __resetPrevTransform
PandaNode.resetAllPrevTransform()
AssertionError: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
:task(error): Exception occurred in PythonTask resetPrevTransform
Traceback (most recent call last):
File "G:\Projects\PinkQuest\src\main.py", line 28, in <module>
run()
File "G:\SDK\Panda3D-1.5.4\direct\showbase\ShowBase.py", line 2423, in run
self.taskMgr.run()
File "G:\SDK\Panda3D-1.5.4\direct\task\TaskNew.py", line 471, in run
self.step()
File "G:\SDK\Panda3D-1.5.4\direct\task\TaskNew.py", line 429, in step
self.mgr.poll()
File "G:\SDK\Panda3D-1.5.4\direct\showbase\ShowBase.py", line 1512, in __resetPrevTransform
PandaNode.resetAllPrevTransform()
AssertionError: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: _saved_entry == _states->end() at line 108 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Error in sys.exitfunc:
Traceback (most recent call last):
File "G:\SDK\Panda3D-1.5.4\direct\showbase\ShowBase.py", line 450, in exitfunc
self.destroy()
File "G:\SDK\Panda3D-1.5.4\direct\showbase\ShowBase.py", line 431, in destroy
self.graphicsEngine.removeAllWindows()
AssertionError: _states->find(this) == _saved_entry at line 1951 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
All demos can (!) be die with this errors. Any suggestions?
P.S. Sorry for my poor english.