embedded raytracer