Palette installation
Note : the QtMultimedia module, which the sound input module depends, is missing from the Debian and Ubuntu python-qt4 package. If you want to use the sound recording component, you can use this .deb including the missing module, or wait until the package maintainers fix this problem.
Installation from source
Debian Squeeze
Install dependencies
apt-get install python-qt4 python-cwiid git-core python-setuptools python-dev python-pyglet python-pyparsing python-twisted python-louie python-multiprocessing python-pip python-numpy python-docutils python-simplejson python-profiler pip install pyflu
Build Palette:
git clone git://luper.fr/palette.git cd palette python setup.py install
Ubuntu Lucid Lynx (10.04)
Install dependencies:
sudo apt-get install python-qt4 python-cwiid git-core python-distribute python-dev python-pyglet python-pyparsing python-twisted python-louie python-pip python-numpy python-docutils python-profiler sudo pip install pyflu
Build Palette:
git clone git://luper.fr/palette.git cd palette sudo python setup.py install
You should now be able to launch Palette :
palette-editor.py
Optional: bullet and ballistics (needed to run the demo)
First build Bullet:
sudo apt-get install cmake freeglut3-dev subversion build-essential svn checkout http://bullet.googlecode.com/svn/trunk/ bullet cd bullet cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_DEMOS=OFF -G "Unix Makefiles" . make sudo make install
Note: on ubuntu-amd64, edit "src/BulletMultiThreaded/PpuAddressSpace.h" and change this line:
typedef unsigned __int64 ppu_address_t;
to
typedef uint64_t ppu_address_t;
Then ballistics (Python bindings for Bullet):
git clone git://github.com/flupke/ballistics.git cd ballistics sudo python setup.py install
Trying the demos
There are a couple of example scenes in the demo/ sub-folder of the source distribution. To try them, go to the preferences panel, and add the demo package to the plugins:
Replace /path/to/demo/directory with the path of the demo/ folder, restart the interface and you should see new components (FallingCubes, FBOExample, etc...). You should then be able to load and run the .pgr files in the demo directory.
You can now have a look at the demo components code and start creating your own !
Attachments
-
python-qt4_4.7.2-0ubuntu1_i386.deb
(2.4 MB) -
added by flupke 2 years ago.
-
demo-settings.png
(19.4 KB) -
added by flupke 21 months ago.

