I am loading models with this method.
def loadModels(rootNode = None, terrain = None):
if((rootNode != None) and (terrain != None)):
loadModel(rootNode, terrain, "assets/models/RangeTower01", Vec3(7798.960, 533.1967, 0), VBase3(0,0,0), 1.0)
loadModel(rootNode, terrain, "assets/models/tree01_ash", Vec3(9139.362, 178.495, 0), VBase3(-66,0,0), 1.0)
loadModel(rootNode, terrain, "assets/models/tree02_ash", Vec3(9125.202, 287.376, 0), VBase3(10,0,0), 1.0)
loadModel(rootNode, terrain, "assets/models/tree03_ash", Vec3(8461.250, 350.621, 0), VBase3(30,0,0), 1.0)
loadModel(rootNode, terrain, "assets/models/tree_ash_group", Vec3(7950.076, 260.014, 0), VBase3(26,0,0), 1.0)
On one computer, this loads fine, on my laptop it asserts with this error:
Assertion failed: !(pos.is_nan() || quat.is_nan() || scale.is_nan() || shear.is_nan()) at line 259 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
Assertion failed: has_mat() at line 585 of c:\p\p3d\panda3d-1.6.2\built\include\transformState.I
Assertion failed: has_mat() at line 585 of c:\p\p3d\panda3d-1.6.2\built\include\transformState.I
Traceback (most recent call last):
File "C:\Panda3D-1.6.2\direct\showbase\ShowBase.py", line 1568, in __igLoop
self.graphicsEngine.renderFrame()
AssertionError: !(pos.is_nan() || quat.is_nan() || scale.is_nan() || shear.is_nan()) at line 259 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
:task(error): Exception occurred in PythonTask igLoop
Traceback (most recent call last):
File "demomaster.py", line 54, in <module>
run()
File "C:\Panda3D-1.6.2\direct\showbase\ShowBase.py", line 2423, in run
self.taskMgr.run()
File "C:\Panda3D-1.6.2\direct\task\TaskNew.py", line 471, in run
self.step()
File "C:\Panda3D-1.6.2\direct\task\TaskNew.py", line 429, in step
self.mgr.poll()
File "C:\Panda3D-1.6.2\direct\showbase\ShowBase.py", line 1568, in __igLoop
self.graphicsEngine.renderFrame()
AssertionError: !(pos.is_nan() || quat.is_nan() || scale.is_nan() || shear.is_nan()) at line 259 of c:\p\p3d\panda3d-1.6.2\panda\src\pgraph\transformState.cxx
I can comment out the load of the tree_ash_group and tree03_ash, and the rest will load. Or I can load the tree03_ash by itself, but anything else crashes. I would think its code, but it runs perfectly fine on one PC, and not another, so I am thinking its a hardware issue of some sort.
Any ideas?