well… I am a panda3d newby … I have tried to load several different *.x files and never seem to get one to work correctly… i always get hundrets of error messages similar to this (the actual error message was a lot longer, but I removed some of the unimportant stuff to make it better understandable:
Commandline: C:\Python25\python.exe C:\DOKUME~1\tom\Desktop\ACTIVE~1\LENSFL~1\LENSFL~1.PY
Workingdirectory: C:\Dokumente und Einstellungen\tom\Desktop\activework\lensflarepanda
Timeout: 0 ms
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
:util(warning): Adjusting global clock's real time by 3.55167e-006 seconds.
Error in standardTemplates.x at line 30, column 12:
WORD major;
^
Unknown template: WORD
Error in standardTemplates.x at line 31, column 12:
WORD minor;
^
Unknown template: WORD
Error in standardTemplates.x at line 32, column 13:
DWORD flags;
^
Unknown template: DWORD
Error in standardTemplates.x at line 37, column 9:
FLOAT x;
^
Unknown template: FLOAT
Error in standardTemplates.x at line 38, column 9:
FLOAT y;
^
Unknown template: FLOAT
Error in standardTemplates.x at line 39, column 9:
FLOAT z;
^
Unknown template: FLOAT
Error in standardTemplates.x at line 44, column 26:
DWORD nFaceVertexIndices;
^
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 144, column 1:
}
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 190, column 3:
}
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 202, column 3:
}
^
Too many data elements in structure.
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 276, column 7:
}
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 277, column 5:
}
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 280, column 3:
}
^
Too many data elements in structure.
Error in /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x at line 281, column 1:
}
^
Too many data elements in structure.
Unable to open X file: /c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1/./box.x
:xfile(error): Cannot open /c/Panda3D/etc/.././box.x for reading.
Unable to open X file: /c/Panda3D/etc/.././box.x
:xfile(error): Cannot open /c/Panda3D/etc/../models/./box.x for reading.
Unable to open X file: /c/Panda3D/etc/../models/./box.x
:loader(error): Couldn't load file ./box.x: all matching files on model path invalid (the model path is currently: "/c/DOKUME~1/tom/Desktop/ACTIVE~1/LENSFL~1;/c/Panda3D/etc/..;/c/Panda3D/etc/../models")
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Traceback (most recent call last):
File "C:\DOKUME~1\tom\Desktop\ACTIVE~1\LENSFL~1\LENSFL~1.PY", line 242, in <module>
m=anything()
File "C:\DOKUME~1\tom\Desktop\ACTIVE~1\LENSFL~1\LENSFL~1.PY", line 210, in __init__
self.spaceSkyBox.setScale(200)
AttributeError: 'NoneType' object has no attribute 'setScale'
Process "Pyhton Interpreter" terminated, ExitCode: 00000001
The error message is produced by the python script from this forum thread:
discourse.panda3d.org/viewtopic.php … 6d4379af32
But using my own python scripts I get sthe same problems when trying to open *.x files with panda3d.
any idea what I am doing wrong?