- Lua scripting (experimental, sometimes segfaults)
- OpenGL-2 GUI (experimental, no OpenCL features)
- OpenSCAD import (experimental, sometimes crashes)
- POV-Ray / Lightsys export (stable)
Select your operating system:
Start with GUI:
Start without GUI and render a 400 frames animation with POV-Ray from the command-line:
$ echo "render = 1" | ./bpp -f demo/basic/00-hello-pov.lua -n 400 -i
Pipe bpp simulation data into gnuplot:
$ ./bpp -n 200 -f demo/basic/00-hello-cmdline.lua | gnuplot -e "set terminal dumb; plot for[col=3:3] '/dev/stdin' using 1:col title columnheader(col) with lines"
For more demos, see demo/.
For a list of Lua-accessible classes, functions and properties, run:
$ ./bpp -f demo/basic/00-luabind.lua
Basic Usage HOWTO
- "s" starts/stops the physics simulation
- "p" toggles the POV-Ray export mode
- "g" toggles the PNG screenshot saving mode
- "a" toggles display of world axis
- "f" toggles FPS display
- Enter starts/stops the animation
- Space toggles between fly/revolve camera modes
- Use arrow keys to move the camera
- "h" shows QGLViewer help window: note the above shortcuts overwrite the QGLViewer ones under the "Keyboard" tab.
Press "h" to show QGLViewer help window, and click on the "Mouse" tab to see all the possible mouse actions.
The editor has a few known problems:
It will crash if you try to use a non-existant file for a Mesh object. It will crash too if you try to edit the file name. The workaround is to comment out the Mesh and v:add() lines before editing them.
With scripts which load many objects, or big meshes, the typing can be very slow.