Rendering a cube