Details
Abstract Components Overview
Blender Integration Layer
Manages the add-on's user interface, operators, and direct interactions with the Blender API. It acts as the primary bridge between Blender's environment and the core lightfield logic, handling user input and displaying results within Blender.
Lightfield Core Processing
Encapsulates the fundamental algorithms and data processing required to generate lightfield data. It orchestrates the entire lightfield creation pipeline, including camera management and quilt image synthesis, serving as the independent core domain logic.
Camera Management
A specialized sub-component of Lightfield Core Processing, responsible for configuring, positioning, and managing virtual cameras within Blender to capture the necessary lightfield views. It handles the creation and manipulation of camera arrays.
Quilt Generation
A specialized sub-component of Lightfield Core Processing, dedicated to processing the individual camera views captured by the Camera Management component and synthesizing them into a single "quilt" image suitable for holographic displays.
External Communication Layer
Abstracts the complexities of inter-process communication and data exchange with external services (e.g., Looking Glass Bridge, HoloPlay Service). It handles data serialization (e.g., CBOR) and network protocols to send lightfield data to the display.
Configuration and State Management
Manages the add-on's persistent settings, user preferences, and global runtime state. It ensures proper serialization, storage, and retrieval of configuration data, allowing users to customize the add-on's behavior.
Logging and Utilities
Provides common utility functions and a centralized logging mechanism for debugging, error reporting, and general helper functionalities used across various components of the add-on.