How icosa-foundation/open-brush works
Main Components
a. Core Application Layer
• App Manager (App.cs)
• Scene Management (SceneScript.cs)
• Config Management (Config.cs, UserConfig.cs)
• Input Management (InputManager.cs, VrInput.cs)
b. VR Systems Layer
• VR SDK Integration (VrSdk.cs)
• Controller Management (BaseControllerBehavior.cs)
• Platform-specific implementations (Oculus, OpenXR, etc.)
c. Brush System
• Brush Management (BrushController.cs)
• Brush Catalog (BrushCatalog.cs)
• Stroke Management (Stroke.cs, StrokeData.cs)
• Brush Rendering Pipeline
d. UI/Panels System
• Panel Management (PanelManager.cs)
• GUI Components (under GUI/ directory)
• Tool System (under Tools/ directory)
e. File/Storage System
• Save/Load Management (SaveLoadScript.cs)
• Export System (Export/ directory)
• Sketch Management (SketchCatalog.cs)
f. Multiplayer System
• Photon Integration
• Multiplayer Manager (MultiplayerManager.cs)
• Voice Chat Integration
Relationships and Data Flow
• User input → Input Manager → Brush Controller → Stroke Creation
• Stroke Data → Rendering Pipeline → Display
• Panel Manager ↔ Tool System
• Save System → Storage/Cloud Services
• Config System → All Components
External Services Integration
• Google Drive
• Sketchfab
• YouTube
• Photon (Multiplayer)
Layered Architecture
Top to bottom:
Subsystem details
For Brush System:
• Brush Descriptors
• Geometry Generation
• Material Management
• Audio Reactive Features
For UI System:
• Panel Hierarchy
• Tool Management
• Input Processing
• Feedback Systems