Skip to content

Visualise Reflections

Visualise Reflections icon

Display ยท Reflections

The specular (image source) reflection paths from the scene's sources to its receivers, by order, drawn in one colour per order (order 0 black). Outputs them as reflections, which Visualise Billiard plays. The Preview button shows or hides the drawing.

Visualise Reflections on the Grasshopper canvas

Inputs

Name Type Access Default Description
scene ghdoc item Room scene object.
order int list Reflection order(s) to draw, 0 for the direct sound; negative orders are left out. Empty (default): the first order. Optional.
source_idx int item Index of the source, in the order of the scene's sources. Empty (default): every source. Optional.
receiver_idx int item Index of the receiver, in the order of the scene's receivers. Empty (default): every receiver. Optional.

Outputs

Name Description
reflections The specular reflections of the chosen orders and pair (a SpecularReflections, which is a ray field: connect it to Visualise Billiard to play them).
order The reflection order of each path.
time The travel time of each path in milliseconds.

Python equivalent

compas_acoustics.SpecularReflections