Finally added 3d rendering, as well as separating the other 2 renderings