Ray tracing deformed surfaces