Lightweight shot-making and keyframing addon focused on camera rigs, a scrub-able keyframe timeline, and JSON save and load.
README
ofxShotcraft
ofxShotcraft is a lightweight shot-making and keyframing addon for openFrameworks.The current build focuses on camera blocking:
- camera rigs with a root null, local camera offset, and local target offset
- camera keyframes on a scrub-able timeline
- viewport-driven camera editing
- a separate inspect view for seeing the controlled camera and rig
- JSON save/load for camera tracks
- an experimental JSON command bridge for scripted camera edits
Status
Early prototype. The core timeline types, camera rig types, camera keyframer UI, and JSON helpers live in the addon. APIs may still change while the camera-blocking workflow settles.
Requirements
- openFrameworks 0.12.0
- The
example-camera-rigexample also depends onofxImGui.
Include
#include "ofxShotcraft.h"Core Types
ofxShotcraft::TimelineState timeline;
ofxShotcraft::CameraRig rig;
ofxShotcraft::CameraTrack cameraTrack;Example
examples/example-camera-rigThe example demonstrates viewport camera editing, timeline scrubbing, per-channel keying, JSON save/load, and the experimental file-based JSON edit bridge under the app data
llm/ directory.Structure
src/
core/
TimelineState.h
Keyframe.h
KeyframeTrack.h
camera/
CameraRig.h
CameraTrack.h
CameraRigController.h
CameraRigGizmo.h
CameraRigEditor.h
CameraKeyframer.h
ui/
CameraKeyframerUi.h
TimelineView.h
TransportView.h
ValuePanel.h
io/
CameraTrackJson.h
CameraTrackEditJson.h
ofxAddons