Multithreaded scene render function.