Simplify some code and have a function that render a scene from a cam pov