Vim3D is a vi-style 3D modeling, animation, and scene viewer written in C++ and OpenGL. Use the command line inside the window to build a scene interactively, or put the same commands in a text file and run them without keyboard input.
On Ubuntu, install the build dependencies, then run these commands from the repository root:
sudo apt-get install build-essential freeglut3-dev libglu1-mesa-dev libgl1-mesa-dev
make -C src CC="g++ -std=c++14"
./src/vim3d scenes/tutorial
./src/vim3d --check scenes/tutorial # check a scene without opening a windowPress : to enter a command, Enter to run it, and Esc to cancel.
Try add cube, then translate 0 10 0. Left-drag to orbit, middle-drag to
zoom, or right-drag to pan.
- The scene format: what a scene file is and what each command does, with the core commands, time and channels, and the known pitfalls. Check scenes against it.
- The scene grammar: the exact syntax and expansion rules, for a reader in any language, tested by the conformance suite of native output.
- Vim3D 2.0 specification — frame order, channels, expressions, and the node graph.
- Build and run — dependencies, platform notes, and launch paths.
- Interactive controls and commands — keyboard, mouse, and a first modeling exercise; see also the command cheat sheet.
- Scene and channel format — commands, assets, animation, and runnable examples.
- Unattended recording — render numbered PPM (or PNG) frames on a desktop or with a virtual display, then optionally encode them as video.
- Rendering in Blender: Vim3D works out the motion, Blender lights it; how a scene gets there, the commands, and what carries over.
- Export for another renderer — write the drawn scene, frame by frame, as JSON that a converter turns into glTF for Blender.
- Agent skills — how agents author, run, and validate Vim3D scenes with the same interface as a person.
@vim3d/geojson— fetch, simplify and project GeoJSON.@vim3d/tiles— stream GeoJSON or custom tiles based on the camera view and level of detail.
src/third_party holds Sean Barrett's
stb_image and stb_image_write, public domain or MIT
(LICENSE-stb.txt), for reading pictures and writing PNG frames.
