ai-chatbot/lib/video-canvas/director-camera-presets.ts

27 lines
2.0 KiB
TypeScript

export type VideoCanvasDirectorCameraPreset = {
id: string;
label: string;
source: "current" | "fixed";
fov: number;
position: [number, number, number];
target: [number, number, number];
};
export const defaultVideoCanvasDirectorCameraPresets: VideoCanvasDirectorCameraPreset[] = [
{ id: "current", label: "当前视角", source: "current", fov: 50, position: [0, 2.2, 10], target: [0, 1.2, 0] },
{ id: "front-medium", label: "正面中景", source: "fixed", fov: 50, position: [0, 1.5, 4], target: [0, 1.2, 0] },
{ id: "front-close", label: "正面特写", source: "fixed", fov: 35, position: [0, 1.7, 2], target: [0, 1.6, 0] },
{ id: "front-wide", label: "正面全景", source: "fixed", fov: 60, position: [0, 2.5, 8], target: [0, 1, 0] },
{ id: "side-follow", label: "侧面跟拍", source: "fixed", fov: 50, position: [4, 1.5, 0], target: [0, 1.2, 0] },
{ id: "side-close", label: "侧面近景", source: "fixed", fov: 40, position: [2.5, 1.5, 0], target: [0, 1.5, 0] },
{ id: "back-medium", label: "背面中景", source: "fixed", fov: 50, position: [0, 1.5, -4], target: [0, 1.2, 0] },
{ id: "overhead-wide", label: "俯拍全景", source: "fixed", fov: 55, position: [0, 8, 3], target: [0, 0, 0] },
{ id: "overhead-45", label: "45° 俯拍", source: "fixed", fov: 50, position: [0, 5, 5], target: [0, 1, 0] },
{ id: "low-angle", label: "低角度仰拍", source: "fixed", fov: 45, position: [0, 0.3, 3], target: [0, 1.8, 0] },
{ id: "low-wide", label: "低角度广角", source: "fixed", fov: 70, position: [0, 0.5, 5], target: [0, 1, 0] },
{ id: "over-shoulder-left", label: "过肩镜头", source: "fixed", fov: 50, position: [-0.5, 1.7, 2.5], target: [0.5, 1.6, 0] },
{ id: "over-shoulder-right", label: "过肩镜头(右)", source: "fixed", fov: 50, position: [0.5, 1.7, 2.5], target: [-0.5, 1.6, 0] },
{ id: "birds-eye", label: "鸟瞰", source: "fixed", fov: 60, position: [0, 12, 0.5], target: [0, 0, 0] },
{ id: "dutch", label: "荷兰角", source: "fixed", fov: 50, position: [1, 1.5, 3.5], target: [0, 1.2, 0] },
];