CASSANDRA XR Documentation
This site is the public technical entry point for the XR layer of the CASSANDRA platform.
It is intended to explain how the viewer is structured, how its runtime behaves, and how the main technical systems fit together across rendering, orchestration, multimodal data handling, and interaction flows.
Intended Audience
This documentation is primarily written for:
- engineers
- developers
- researchers
It is designed as a technical reading surface rather than a product brochure or internal project dump.
Documentation Map
Use the architecture section as a structured walkthrough of the XR viewer:
- Glossary
- shared terms used across the documentation, including runtime objects, viewer concepts, and rendering vocabulary
- Contributor Onboarding
- where to start in the repo, how to run the docs site, and which files to touch for common changes
- Technical Architecture
- the high-level system view, scope, stack, repository layout, and architectural style
- Runtime Subsystems
- the main implementation areas: session orchestration, synchronization, volume loading, rendering, voice, UI, and XR interaction
- Scene and Runtime Flows
- how
MainSceneis composed and how startup, reload, modality switching, and voice flows behave end to end
- how
- VRDF
- the
.vrdfcontainer, the loader expectations, supported runtime modes, and how the viewer builds textures from it
- the
- Rendering Pipeline
- how a selected modality becomes textures, shader inputs, label controls, and the final rendered volume
- Backend Integration and Contracts
- the REST, websocket, and runtime-config contracts that connect the viewer to the backend
- Platform, Build, and Security
- Quest/Desktop targeting, build profiles, Android behavior, and current networking/security configuration
- Performance, Testing, and Risks
- known bottlenecks, current observability, testing gaps, and technical debt
- Extension Guide and Ownership
- where to change the system when extending backend fields, modalities, UI behaviors, or AI integrations
Related Repositories
- CASSANDRA XR
- the primary Unity/XR application repository and the implementation described by this documentation
- VRDF SDK
- the companion repository for the
.vrdfformat, including the format description, Python encoder, and reference Unity runtime
- the companion repository for the
- HybridMedRenderer
- a related prototype that explored hybrid medical rendering, VRDF integration, and immersive visualization workflows
This site documents the current XR viewer implementation in cassandra-stack/CASSANDRA-XR, while the other two repositories provide format-level and renderer-lineage context.
Recommended Reading Path
If you are new to the project:
- Start with Glossary if you want the project vocabulary first.
- Use Contributor Onboarding for the practical repo entrypoints.
- Continue with Technical Architecture for the overall shape.
- Read Runtime Subsystems to understand the implementation slices.
- Then use Scene and Runtime Flows for execution order and interactions.
If you are working on rendering or data loading:
- Start with VRDF.
- Then read Rendering Pipeline.
- Use Performance, Testing, and Risks for the practical constraints.
If you are working on backend or runtime integration:
- Start with Backend Integration and Contracts.
- Then read Scene and Runtime Flows.
- Use Platform, Build, and Security when the change touches transport or deployment behavior.
If you are planning changes:
- Start with Contributor Onboarding.
- Read Runtime Subsystems.
- Then use Extension Guide and Ownership.