ecl_rt is a simple, C99-compatible ray tracer for my rendering side projects. It has an optional dependency on OpenMP for multithreading, but is otherwise self-contained. See here for some discussion.