Really doesn’t work …
The DirectStart seems broken and so Vec3.
I used the i386 deb on the site.
Do I need to compile the whole thing ?
lionel@gamr7-prime:/usr/share/panda3d/samples/Particles$ python2.5 Tut-Particle-Panel.py
DirectStart: Starting the game.
Traceback (most recent call last):
File "Tut-Particle-Panel.py", line 11, in <module>
import direct.directbase.DirectStart
File "/usr/share/panda3d/direct/directbase/DirectStart.py", line 3, in <module>
from direct.showbase import ShowBase
File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 17, in <module>
from MessengerGlobal import *
File "/usr/share/panda3d/direct/showbase/MessengerGlobal.py", line 5, in <module>
import Messenger
File "/usr/share/panda3d/direct/showbase/Messenger.py", line 8, in <module>
from direct.stdpy.threading import Lock
File "/usr/share/panda3d/direct/stdpy/threading.py", line 29, in <module>
from direct.stdpy import thread as _thread
File "/usr/share/panda3d/direct/stdpy/thread.py", line 70, in <module>
_threadsLock = pm.Mutex('thread._threadsLock')
TypeError: Mutex() argument must be string or read-only buffer, not tuple
lionel@gamr7-prime:~/gamr7/trunk/code/app/parcel_editor$ ipython
Python 2.5.4 (r254:67916, Apr 4 2009, 17:55:16)
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: from pandac.PandaModules import DirectionalLight, AmbientLight, Vec3, VBase4
In [2]:
In [3]:
In [4]: direct_light1 = Vec3(0.8,0.0,-1.)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/lionel/gamr7/trunk/code/app/parcel_editor/<ipython console> in <module>()
TypeError: Arguments must match one of:
LVector3f()
LVector3f(const VBase3 copy)
LVector3f(float fill_value)
LVector3f(float x, float y, float z)
In [5]: direct_light1 = Vec3()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/lionel/gamr7/trunk/code/app/parcel_editor/<ipython console> in <module>()
TypeError: Arguments must match one of:
LVector3f()
LVector3f(const VBase3 copy)
LVector3f(float fill_value)
LVector3f(float x, float y, float z)