/** * filmsetToWorld.ts — Convert filmset layout metadata + standing points → WorldJSON. * * Uses the same placement + world assembly path as the make_episodes submit pipeline. */ import { type BuildShotWorldInput, type CameraViewport, type CharacterPlacementInput, type ForegroundObjectInput } from './worldBuilder.js'; import { type LayoutData, type StandingPoint } from './worldPlacement.js'; import type { WorldJSON } from './sceneRenderer.js'; import type { RigInput } from './worldPlacement.js'; export interface FilmsetCharacterRef { name: string; key: string; } /** Map a standing point to a character ORC key (Layout Studio assignments). */ export interface FilmsetPointAssignment { pointId: string; characterKey: string; characterId?: string; } export interface FilmsetToWorldInput { layout: LayoutData; points: StandingPoint[]; /** Explicit character list; if omitted, derived from point labels + assignments. */ characters?: FilmsetCharacterRef[]; assignments?: FilmsetPointAssignment[]; backgroundUrl: string; foregroundObjects?: ForegroundObjectInput[]; shotId?: string; duration?: number; orcBaseUrl?: string; rigDataMap?: Record; viewport?: CameraViewport; cameraEndViewport?: CameraViewport; sceneSize?: BuildShotWorldInput['sceneSize']; } /** * Resolve filmset standing points + assignments → character placement inputs. */ export declare function resolveFilmsetCharacterPlacements(input: { layout: LayoutData; points: StandingPoint[]; characters?: FilmsetCharacterRef[]; assignments?: FilmsetPointAssignment[]; rigDataMap?: Record; }): Promise<{ characters: CharacterPlacementInput[]; characterNames: string[]; charKeys: Record; }>; /** * Build a CAM-importable WorldJSON from filmset layout metadata. */ export declare function filmsetToWorld(input: FilmsetToWorldInput): Promise; //# sourceMappingURL=filmsetToWorld.d.ts.map