Implement task generation for ray tracing renderer.