html controller talks to pathtracing engine functions instead of animation and scene