G-Ray ray tracer