Ray tracing quadrics