A Graph-Based Laser Path Solver Algorithm for Virtual Reality Laboratory Simulations
Andreas Müller, Stefan Mueller, Tobias Brixner, Sebastian von Mammen
TL;DR
This work presents femtoPro, a real-time VR laser laboratory that models pulsed beam propagation through a dynamic graph of optical elements using a CPU-based path solver. It introduces a selective updating strategy and memory pooling to efficiently update only altered portions of the beam graph while handling linear and second-order nonlinear optics, achieving real-time performance on mobile VR hardware. The authors derive memory and runtime cost models, validate them with benchmarks across multiple experimental setups, and analyze how edge dynamics and back-reflections constrain performance. The study demonstrates the practicality of dynamic graph based real-time simulations in educational VR environments and outlines future extensions to higher order nonlinearities and cavity simulations. Overall, the approach provides a scalable framework for interactive, physics-based, real-time simulations in dynamic graph structures.
Abstract
femtoPro is an interactive virtual reality (VR) laser laboratory balancing the contrasting challenges of accuracy and computational efficiency in optics simulations. It can simulate linear and nonlinear optical phenomena in real time, a task that pushes the boundaries of current consumer hardware. This paper details the concept, implementation, and evaluation of a dynamic graph-based solution tailored to the specific requirements and challenges of the simulation. Resource usage is optimized through a selective updating strategy that identifies and preserves laser paths unchanged between simulation frames, eliminating the need for unnecessary recalculations. Benchmarking of real-world scenarios confirms that our approach delivers a smooth user experience, even on mobile VR platforms with limited computing power. The methodologies, solutions and insights outlined in this paper may be applicable to other interactive, dynamic graph-based real-time simulations.
