got primitive ray tracing working