A ray tracer for 3D sound rendering