Make and animate models for your BambooBasic games, in the spirit of MilkShape 3D.
Build low-poly models out of boxes, spheres, cylinders and faces of your own, colour or texture them, and animate them with pose frames or a skeleton of joints. Then use them in your program as a model file, or export them as BambooBasic code, so there's no model file at all. Panda reads and writes .glb too, so models go to and from Blender and most other 3D programs. It comes with BambooBasic, on Windows and Linux.
The low-poly panda from the examples: Front, Left and Top views in wireframe, and the 3D view textured.
A panda, exported from Panda and running in your browser right now.
His head follows the cursor. That's one joint of his skeleton, turned by the program every frame, while the rest of him plays whatever animation is on.
Click the demo first, then:
The whole model, its 430 vertices, joints and animation clips, was exported from Panda as BambooBasic code, so the demo loads nothing: it builds him and he's there. It's examples\Panda\PandaShow_web.bam, on the WebGL2 web target.
Everything to take a model from a box to an animated character.
Boxes, planes, spheres, geospheres and cylinders, your own vertices and faces, extrude, weld, mirror, subdivide, and triangles to quads and back. Quads stay quads. Everything can be undone.
A colour list with one colour per face, and a texture laid out on the faces with the Texture Coordinate Editor.
Make frames and pose each one. Panda can fill in the frames in between. Name runs of frames as clips, each with its own speed.
Build a skeleton with the Joint tool, give each joint its vertices, then turn the joints to set keys. Your program can turn a joint itself, like the head in the demo.
Import a .glb or .bb3d, and export .glb with its skeleton, so models go to and from Blender and most 3D programs.
Export a model as a BambooBasic include file: the mesh, colours, joints and clips, with functions to build, pose and draw it. Nothing to load, and it works on desktop and the web.
Panda is in the IDE's Tools menu: Tools > Content Creation > Panda Modeller.
Four views, Front, Left, Top and 3D. Build in any of them, and the Front view is the front of your model in your program too. Save your work as a .pan file, which keeps everything.
File > Export As (Ctrl+E) and pick the format your game wants (see below).
Load a .bb3d with b2dLoadMesh, or Include the exported .bam and call its functions. It's drawn the BambooBasic 3D-in-2D way, so it works on DirectX 12, Vulkan and the web.
| Format | What it's for |
|---|---|
| .pan | Panda's own file. Keeps everything, texture included. Save your work as this. |
| .bb3d | For b2dLoadMesh in your program. Animation goes in as frames, with the clips. |
| .glb | For Blender and other 3D programs, with the skeleton and animation. |
| .bam | The model as BambooBasic code: an include file with everything in it, and no file to load. |
Panda's full manual is in the app: Help > Panda Manual (F1).