The Ray Tracing system in the Sustainable Building Modeller allows you to simulate the propagation of electromagnetic rays through 3D environments. It supports modeling reflection, transmission, and diffusion behavior of rays as they interact with physical elements like walls, windows, and custom geometries. The system is useful for applications such as lighting studies, radiation estimation, and signal tracing.
The ray tracing system works by emitting rays from a ray bundle, which represents a group of rays with a planar, cylindrical, or spherical geometry. These rays interact with scene elements according to defined rules.
Rules are used to control what happens when rays hit objects:
You can also create and trace individual rays directly through the Lua scripting interface. This allows for fine control over origin, direction, and behavior. Example scripts are provided in the API documentation and example codes.