KOAN : a versatile tool for parallelizing realistic rendering algorithms